SAP MASTERIDOCCREATE_ISU_SDSM_COMP Function Module for
MASTERIDOCCREATE_ISU_SDSM_COMP is a standard masteridoccreate isu sdsm comp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 masteridoccreate isu sdsm comp FM, simply by entering the name MASTERIDOCCREATE_ISU_SDSM_COMP into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEWM_SDSM_CORE
Program Name: SAPLEEWM_SDSM_CORE
Main Program: SAPLEEWM_SDSM_CORE
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MASTERIDOCCREATE_ISU_SDSM_COMP 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 'MASTERIDOCCREATE_ISU_SDSM_COMP'".
EXPORTING
X_AUFNR = "
* X_RCVPRT = ' ' "
* X_RCVPRN = ' ' "
* X_RCVPFC = ' ' "
* X_NO_MSG = ' ' "
IMPORTING
CREATED_COMM_IDOCS = "
Y_ERROR_LINE = "
EXCEPTIONS
SYSTEM_ERROR = 1 ORDER_NOT_FOUND = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLEEWM_SDSM_CORE_001 User Exit for Determination of One-Time Customers for Disaggregation in WM
EXIT_SAPLEEWM_SDSM_CORE_002 User Exit for Changing PM Plant for Disaggregation in WM
EXIT_SAPLEEWM_SDSM_CORE_003 User Exit to Determine User Status for Service Orders
IMPORTING Parameters details for MASTERIDOCCREATE_ISU_SDSM_COMP
X_AUFNR -
Data type: AUFK-AUFNROptional: No
Call by Reference: No ( called with pass by value option)
X_RCVPRT -
Data type: BDALEDC-RCVPRTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_RCVPRN -
Data type: BDALEDC-RCVPRNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_RCVPFC -
Data type: BDALEDC-RCVPFCDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_NO_MSG -
Data type: SY-BATCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MASTERIDOCCREATE_ISU_SDSM_COMP
CREATED_COMM_IDOCS -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
Y_ERROR_LINE -
Data type: TLINE-TDLINEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
SYSTEM_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORDER_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MASTERIDOCCREATE_ISU_SDSM_COMP 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_x_aufnr | TYPE AUFK-AUFNR, " | |||
| lv_system_error | TYPE AUFK, " | |||
| lv_created_comm_idocs | TYPE SY-TABIX, " | |||
| lv_x_rcvprt | TYPE BDALEDC-RCVPRT, " SPACE | |||
| lv_y_error_line | TYPE TLINE-TDLINE, " | |||
| lv_order_not_found | TYPE TLINE, " | |||
| lv_x_rcvprn | TYPE BDALEDC-RCVPRN, " SPACE | |||
| lv_x_rcvpfc | TYPE BDALEDC-RCVPFC, " SPACE | |||
| lv_x_no_msg | TYPE SY-BATCH. " SPACE |
|   CALL FUNCTION 'MASTERIDOCCREATE_ISU_SDSM_COMP' " |
| EXPORTING | ||
| X_AUFNR | = lv_x_aufnr | |
| X_RCVPRT | = lv_x_rcvprt | |
| X_RCVPRN | = lv_x_rcvprn | |
| X_RCVPFC | = lv_x_rcvpfc | |
| X_NO_MSG | = lv_x_no_msg | |
| IMPORTING | ||
| CREATED_COMM_IDOCS | = lv_created_comm_idocs | |
| Y_ERROR_LINE | = lv_y_error_line | |
| EXCEPTIONS | ||
| SYSTEM_ERROR = 1 | ||
| ORDER_NOT_FOUND = 2 | ||
| . " MASTERIDOCCREATE_ISU_SDSM_COMP | ||
ABAP code using 7.40 inline data declarations to call FM MASTERIDOCCREATE_ISU_SDSM_COMP
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 AUFNR FROM AUFK INTO @DATA(ld_x_aufnr). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_created_comm_idocs). | ||||
| "SELECT single RCVPRT FROM BDALEDC INTO @DATA(ld_x_rcvprt). | ||||
| DATA(ld_x_rcvprt) | = ' '. | |||
| "SELECT single TDLINE FROM TLINE INTO @DATA(ld_y_error_line). | ||||
| "SELECT single RCVPRN FROM BDALEDC INTO @DATA(ld_x_rcvprn). | ||||
| DATA(ld_x_rcvprn) | = ' '. | |||
| "SELECT single RCVPFC FROM BDALEDC INTO @DATA(ld_x_rcvpfc). | ||||
| DATA(ld_x_rcvpfc) | = ' '. | |||
| "SELECT single BATCH FROM SY INTO @DATA(ld_x_no_msg). | ||||
| DATA(ld_x_no_msg) | = ' '. | |||
Search for further information about these or an SAP related objects