SAP EXIT_SAPLEINM_013 Function Module for MM EDI ORDERS/ORDCHG: Customer Enhancement Configuration Structures
EXIT_SAPLEINM_013 is a standard exit sapleinm 013 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for MM EDI ORDERS/ORDCHG: Customer Enhancement Configuration Structures 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 exit sapleinm 013 FM, simply by entering the name EXIT_SAPLEINM_013 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XM06
Program Name: SAPLXM06
Main Program: SAPLXM06
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLEINM_013 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 'EXIT_SAPLEINM_013'"MM EDI ORDERS/ORDCHG: Customer Enhancement Configuration Structures.
TABLES
* DH_APPL = "Internal Structure for Configuration
* DCUREF = "CU: Instance in Configuration
* DCUCFG = "CU: Configuration Data
* DCUINS = "Instances of Several Configurations
* DCUPRT = "Part_of Entries of Several Configurations
* DCUVAL = "Characteristic Values of Several Configurations
Related IDocs
Below is a list of IDoc processing function modules and the associated IDocs this Function user exits is relevant for.IDOC_INPUT_BLAREL - SAP IDoc BLAREL01
IDOC_INPUT_BLAREL - SAP IDoc BLAREL02
IDOC_INPUT_DESADV - SAP IDoc DESADV01
IDOC_INPUT_ORDRSP - SAP IDoc ORDERS01
IDOC_INPUT_ORDRSP - SAP IDoc ORDERS02
IDOC_INPUT_ORDRSP - SAP IDoc ORDERS03
IDOC_INPUT_ORDRSP - SAP IDoc ORDERS04
IDOC_INPUT_ORDRSP - SAP IDoc ORDERS05
IDOC_OUTPUT_ORDERS - SAP IDoc ORDINT01
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.EINM_TRIGGER_OA_BLOCK NOTRANSL: Trigger blocking of central contract
IDOC_OUTPUT_BLAOCH NOTRANSL: Ausgabe Kontraktänderungen für ALE in Zwischenstruktur ab Releas
IDOC_OUTPUT_BLAORD NOTRANSL: Ausgabe Kontrakte für ALE in Zwischenstruktur ab Release 3.0A
IDOC_OUTPUT_BLAREL NOTRANSL: Verteilung Abrufdokumentation - Ausgang in IDOC an zentrales Sys
IDOC_OUTPUT_DELINS NOTRANSL: Ausgabe Lieferplaneinteilungen LAB (neu ab 4.0)
IDOC_OUTPUT_DELINS_FAB NOTRANSL: Ausgabe Lieferplaneinteilungen FAB (neu ab 4.0)
IDOC_OUTPUT_DELINS_OLD Output Scheduling Agreement Delivery Schedule Lines
IDOC_OUTPUT_DELMI Output: Schedule Agreement Schedule Lines, JIT Migration Tool
IDOC_OUTPUT_ORDCHG NOTRANSL: Ausgabe Bestelländerungen für EDI in Zwischenstruktur ab Release
IDOC_OUTPUT_REQOTE NOTRANSL: Ausgabe Anfragen für EDI in Zwischenstruktur ab Release 3.0A
MASTERIDOC_CREATE_BLAORD NOTRANSL: ALE-Ausgang: IDoc-Erstellung für Kontraktverteilung
MASTERIDOC_CREATE_BLAREL NOTRANSL: ALE-Ausgang: IDoc-Erstellung für Abrufdoku
MASTERIDOC_CREATE_REQ_BLAORD NOTRANSL: Erzeugen Masteridoc BLAORD aus Anforderung
MASTERIDOC_CREATE_REQ_BLAREL NOTRANSL: Erzeugen Masteridoc BLAREL aus Anforderung
MASTERIDOC_CREATE_SMD_BLAORD NOTRANSL: ALE-Ausgang: Selektion der Änderungszeiger für Kontrakte
TABLES Parameters details for EXIT_SAPLEINM_013
DH_APPL - Internal Structure for Configuration
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
DCUREF - CU: Instance in Configuration
Data type: E1CUREFOptional: Yes
Call by Reference: No ( called with pass by value option)
DCUCFG - CU: Configuration Data
Data type: CUXE1CUCFGOptional: Yes
Call by Reference: Yes
DCUINS - Instances of Several Configurations
Data type: CUXE1CUINSOptional: Yes
Call by Reference: No ( called with pass by value option)
DCUPRT - Part_of Entries of Several Configurations
Data type: CUXE1CUPRTOptional: Yes
Call by Reference: No ( called with pass by value option)
DCUVAL - Characteristic Values of Several Configurations
Data type: CUXE1CUVALOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLEINM_013 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: | ||||
| lt_dh_appl | TYPE STANDARD TABLE OF STRING, " | |||
| lt_dcuref | TYPE STANDARD TABLE OF E1CUREF, " | |||
| lt_dcucfg | TYPE STANDARD TABLE OF CUXE1CUCFG, " | |||
| lt_dcuins | TYPE STANDARD TABLE OF CUXE1CUINS, " | |||
| lt_dcuprt | TYPE STANDARD TABLE OF CUXE1CUPRT, " | |||
| lt_dcuval | TYPE STANDARD TABLE OF CUXE1CUVAL. " |
|   CALL FUNCTION 'EXIT_SAPLEINM_013' "MM EDI ORDERS/ORDCHG: Customer Enhancement Configuration Structures |
| TABLES | ||
| DH_APPL | = lt_dh_appl | |
| DCUREF | = lt_dcuref | |
| DCUCFG | = lt_dcucfg | |
| DCUINS | = lt_dcuins | |
| DCUPRT | = lt_dcuprt | |
| DCUVAL | = lt_dcuval | |
| . " EXIT_SAPLEINM_013 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLEINM_013
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.See full list of SAP IDocs
See full list of SAP Function Modules
Search for further information about these or an SAP related objects