SAP MCS_EVENT_UNIT_OBJECTS_CHECK Function Module for LIS Event/Unit: Check Suitablility for Transport
MCS_EVENT_UNIT_OBJECTS_CHECK is a standard mcs event unit objects check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for LIS Event/Unit: Check Suitablility for Transport 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 mcs event unit objects check FM, simply by entering the name MCS_EVENT_UNIT_OBJECTS_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: MCSE
Program Name: SAPLMCSE
Main Program: SAPLMCSE
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MCS_EVENT_UNIT_OBJECTS_CHECK 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 'MCS_EVENT_UNIT_OBJECTS_CHECK'"LIS Event/Unit: Check Suitablility for Transport.
EXPORTING
* I_ZEITP = "Event
* I_SFEIN = "Unit
* I_FGROUP = "Function group
* I_COMSTRU = "Communication structure
* NO_MESSAGE = ' ' "Indicator: to be locked!
EXCEPTIONS
EXISTS_GLOBALY = 1 NO_TRANSPORT = 2 DISPLAY_ONLY = 3 NO_PARAMETERS = 4
IMPORTING Parameters details for MCS_EVENT_UNIT_OBJECTS_CHECK
I_ZEITP - Event
Data type: DMCSE-ZEITPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SFEIN - Unit
Data type: TMC6-SFEINOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FGROUP - Function group
Data type: DMCSE-FGROUPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_COMSTRU - Communication structure
Data type: DMCSE-CSTRUOptional: Yes
Call by Reference: No ( called with pass by value option)
NO_MESSAGE - Indicator: to be locked!
Data type: XFLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
EXISTS_GLOBALY - Event/unit exists globally!
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_TRANSPORT - No transport possible at all!
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DISPLAY_ONLY - No changes allowed!
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PARAMETERS - No transfer parameters!
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MCS_EVENT_UNIT_OBJECTS_CHECK 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_i_zeitp | TYPE DMCSE-ZEITP, " | |||
| lv_exists_globaly | TYPE DMCSE, " | |||
| lv_i_sfein | TYPE TMC6-SFEIN, " | |||
| lv_no_transport | TYPE TMC6, " | |||
| lv_i_fgroup | TYPE DMCSE-FGROUP, " | |||
| lv_display_only | TYPE DMCSE, " | |||
| lv_i_comstru | TYPE DMCSE-CSTRU, " | |||
| lv_no_parameters | TYPE DMCSE, " | |||
| lv_no_message | TYPE XFLAG. " SPACE |
|   CALL FUNCTION 'MCS_EVENT_UNIT_OBJECTS_CHECK' "LIS Event/Unit: Check Suitablility for Transport |
| EXPORTING | ||
| I_ZEITP | = lv_i_zeitp | |
| I_SFEIN | = lv_i_sfein | |
| I_FGROUP | = lv_i_fgroup | |
| I_COMSTRU | = lv_i_comstru | |
| NO_MESSAGE | = lv_no_message | |
| EXCEPTIONS | ||
| EXISTS_GLOBALY = 1 | ||
| NO_TRANSPORT = 2 | ||
| DISPLAY_ONLY = 3 | ||
| NO_PARAMETERS = 4 | ||
| . " MCS_EVENT_UNIT_OBJECTS_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM MCS_EVENT_UNIT_OBJECTS_CHECK
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 ZEITP FROM DMCSE INTO @DATA(ld_i_zeitp). | ||||
| "SELECT single SFEIN FROM TMC6 INTO @DATA(ld_i_sfein). | ||||
| "SELECT single FGROUP FROM DMCSE INTO @DATA(ld_i_fgroup). | ||||
| "SELECT single CSTRU FROM DMCSE INTO @DATA(ld_i_comstru). | ||||
| DATA(ld_no_message) | = ' '. | |||
Search for further information about these or an SAP related objects