SAP MCEX_START_COLLECTIV_PROCESS Function Module for NOTRANSL: Start collective process
MCEX_START_COLLECTIV_PROCESS is a standard mcex start collectiv process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Start collective process processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for mcex start collectiv process FM, simply by entering the name MCEX_START_COLLECTIV_PROCESS into the relevant SAP transaction such as SE37 or SE38.
Function Group: MCEX_RQ
Program Name: SAPLMCEX_RQ
Main Program: SAPLMCEX_RQ
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MCEX_START_COLLECTIV_PROCESS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'MCEX_START_COLLECTIV_PROCESS'"NOTRANSL: Start collective process.
EXPORTING
P_MCAPP_TMCEXUPD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* P_SRV_GRP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* P_HEAD_COUNT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
P_V3_HEAD_COUNT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
P_QD_HEAD_COUNT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
P_V3_MODULE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
P_QNAME = "DE-EN-LANG-SWITCH-NO-TRANSLATION
P_DESTINATION = "DE-EN-LANG-SWITCH-NO-TRANSLATION
P_MCAPP_ENQUEUE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
P_EVENT_ID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* P_MAX_JOBS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for MCEX_START_COLLECTIV_PROCESS
P_MCAPP_TMCEXUPD - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TMCAP-MCAPPOptional: No
Call by Reference: No ( called with pass by value option)
P_SRV_GRP - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RZLLITAB-CLASSNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
P_HEAD_COUNT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TMCEXUPD-UPD_HEAD_COUNTOptional: Yes
Call by Reference: No ( called with pass by value option)
P_V3_HEAD_COUNT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TMCEXUPD-UPD_HEAD_COUNTOptional: No
Call by Reference: No ( called with pass by value option)
P_QD_HEAD_COUNT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TMCEXUPD-UPD_HEAD_COUNTOptional: No
Call by Reference: No ( called with pass by value option)
P_V3_MODULE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: VBMOD-VBFUNCOptional: No
Call by Reference: No ( called with pass by value option)
P_QNAME - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TRFCQOUT-QNAMEOptional: No
Call by Reference: No ( called with pass by value option)
P_DESTINATION - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TRFCQOUT-DESTOptional: No
Call by Reference: No ( called with pass by value option)
P_MCAPP_ENQUEUE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TMCAP-MCAPPOptional: No
Call by Reference: No ( called with pass by value option)
P_EVENT_ID - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TBTCO-EVENTIDOptional: No
Call by Reference: No ( called with pass by value option)
P_MAX_JOBS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TMCEXUPD-MAX_TASKSOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MCEX_START_COLLECTIV_PROCESS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_p_mcapp_tmcexupd | TYPE TMCAP-MCAPP, " | |||
| lv_p_srv_grp | TYPE RZLLITAB-CLASSNAME, " | |||
| lv_p_head_count | TYPE TMCEXUPD-UPD_HEAD_COUNT, " | |||
| lv_p_v3_head_count | TYPE TMCEXUPD-UPD_HEAD_COUNT, " | |||
| lv_p_qd_head_count | TYPE TMCEXUPD-UPD_HEAD_COUNT, " | |||
| lv_p_v3_module | TYPE VBMOD-VBFUNC, " | |||
| lv_p_qname | TYPE TRFCQOUT-QNAME, " | |||
| lv_p_destination | TYPE TRFCQOUT-DEST, " | |||
| lv_p_mcapp_enqueue | TYPE TMCAP-MCAPP, " | |||
| lv_p_event_id | TYPE TBTCO-EVENTID, " | |||
| lv_p_max_jobs | TYPE TMCEXUPD-MAX_TASKS. " |
|   CALL FUNCTION 'MCEX_START_COLLECTIV_PROCESS' "NOTRANSL: Start collective process |
| EXPORTING | ||
| P_MCAPP_TMCEXUPD | = lv_p_mcapp_tmcexupd | |
| P_SRV_GRP | = lv_p_srv_grp | |
| P_HEAD_COUNT | = lv_p_head_count | |
| P_V3_HEAD_COUNT | = lv_p_v3_head_count | |
| P_QD_HEAD_COUNT | = lv_p_qd_head_count | |
| P_V3_MODULE | = lv_p_v3_module | |
| P_QNAME | = lv_p_qname | |
| P_DESTINATION | = lv_p_destination | |
| P_MCAPP_ENQUEUE | = lv_p_mcapp_enqueue | |
| P_EVENT_ID | = lv_p_event_id | |
| P_MAX_JOBS | = lv_p_max_jobs | |
| . " MCEX_START_COLLECTIV_PROCESS | ||
ABAP code using 7.40 inline data declarations to call FM MCEX_START_COLLECTIV_PROCESS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single MCAPP FROM TMCAP INTO @DATA(ld_p_mcapp_tmcexupd). | ||||
| "SELECT single CLASSNAME FROM RZLLITAB INTO @DATA(ld_p_srv_grp). | ||||
| "SELECT single UPD_HEAD_COUNT FROM TMCEXUPD INTO @DATA(ld_p_head_count). | ||||
| "SELECT single UPD_HEAD_COUNT FROM TMCEXUPD INTO @DATA(ld_p_v3_head_count). | ||||
| "SELECT single UPD_HEAD_COUNT FROM TMCEXUPD INTO @DATA(ld_p_qd_head_count). | ||||
| "SELECT single VBFUNC FROM VBMOD INTO @DATA(ld_p_v3_module). | ||||
| "SELECT single QNAME FROM TRFCQOUT INTO @DATA(ld_p_qname). | ||||
| "SELECT single DEST FROM TRFCQOUT INTO @DATA(ld_p_destination). | ||||
| "SELECT single MCAPP FROM TMCAP INTO @DATA(ld_p_mcapp_enqueue). | ||||
| "SELECT single EVENTID FROM TBTCO INTO @DATA(ld_p_event_id). | ||||
| "SELECT single MAX_TASKS FROM TMCEXUPD INTO @DATA(ld_p_max_jobs). | ||||
Search for further information about these or an SAP related objects