SAP EXIT_SAPLMCS1_001 Function Module for SIS: User Exit for SD Document - Header Data
EXIT_SAPLMCS1_001 is a standard exit saplmcs1 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SIS: User Exit for SD Document - Header Data 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 saplmcs1 001 FM, simply by entering the name EXIT_SAPLMCS1_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XMCV
Program Name: SAPLXMCV
Main Program:
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLMCS1_001 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_SAPLMCS1_001'"SIS: User Exit for SD Document - Header Data.
EXPORTING
I_XMCVBAK = "
I_XMCVBUK = "
I_XMCVBKD = "
I_CONTROL = "
IMPORTING
E_XMCVBAKUSR = "
Related IDocs
Below is a list of IDoc processing function modules and the associated IDocs this Function user exits is relevant for.MCV_STATISTICS_ALE_IN_ORDER - SAP IDoc SISCSO01
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.IDOC_INPUT_SISCSO01 NOTRANSL: Einbuchen Kundenauftrags IDOC in VIS
MCS_CHECK_UPDATE_WANTED NOTRANSL: Prüfen auf aktive Fortschreibung für Ereignis, F-Gruppe
MCS_MCINF_NO_SETUP NOTRANSL: Bereitstellung aller fortzuschreibenden Informationsstrukturen
MCV_ORDER_CHECK_AND_SET NOTRANSL: Statistikfortschreibung Neuaufbau Kundenauftrag: Prüfen und ergä
MCV_REFERENCE_ORG_CUSTOMER_GET NOTRANSL: Ermitteln Referenz-Organisationselemente für Lesen Kundenstamm
MCV_REFERENCE_ORG_MATERIAL_GET NOTRANSL: Ermitteln Referenz-Organisationselemente für Lesen Materialstamm
MCV_STATISTICS_ALE_OUT_ORDER NOTRANSL: Statistikfortschreibung Kundenauftrag - ALE OUT
MCV_STATISTICS_DIALOG_ORDER NOTRANSL: Statistikfortschreibung Kundenauftrag Dialog
MCV_STATISTICS_LOG_ORDER NOTRANSL: Logging für das Protokoll der Statistikfortschreibung Kundenauft
MCV_STATISTICS_ORDER NOTRANSL: Statistikfortschreibung Kundenauftrag
MCV_STATISTICS_SLS_DIA_ODP NOTRANSL: Ermittlung Statistikdialogdaten für Verkaufsbeleg Extraktstruktu
MCV_STATISTICS_SLS_ODP NOTRANSL: Ermittlung Statistikdaten für Verkaufsbeleg Extraktstruktur
MCV_STATISTICS_STAFO_HEAD NOTRANSL: Statistikfortschreibung: Fortschreibungsfolge (STAFO) Kopf ermit
MCV_STATISTICS_STAFO_ITEM NOTRANSL: Statistikfortschreibung: Fortschreibungsfolge (STAFO) Position e
MCV_STATISTICS_UPD_V1_ORDER NOTRANSL: Fortschreibung Kundenauftrag
MCV_STATISTICS_UPD_V2_ORDER NOTRANSL: Fortschreibung Kundenauftrag
MCV_STATISTICS_UPD_V3_ORDER NOTRANSL: Fortschreibung Kundenauftrag
MCV_UPDATE_CM_ORDER NOTRANSL: Fortschreibung Kundenauftrag
MCV_UPDATE_RM_ORDER DE-EN-LANG-SWITCH-NO-TRANSLATION
OI0_MCS_READ_XMCVBAP NOTRANSL: OI0_MCS_READ_XMCVBAP
IMPORTING Parameters details for EXIT_SAPLMCS1_001
I_XMCVBAK -
Data type: MCVBAKBOptional: No
Call by Reference: No ( called with pass by value option)
I_XMCVBUK -
Data type: MCVBUKBOptional: No
Call by Reference: No ( called with pass by value option)
I_XMCVBKD -
Data type: MCVBKDBOptional: No
Call by Reference: No ( called with pass by value option)
I_CONTROL -
Data type: MCCONTROLOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLMCS1_001
E_XMCVBAKUSR -
Data type: MCVBAKUSROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLMCS1_001 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_xmcvbak | TYPE MCVBAKB, " | |||
| lv_e_xmcvbakusr | TYPE MCVBAKUSR, " | |||
| lv_i_xmcvbuk | TYPE MCVBUKB, " | |||
| lv_i_xmcvbkd | TYPE MCVBKDB, " | |||
| lv_i_control | TYPE MCCONTROL. " |
|   CALL FUNCTION 'EXIT_SAPLMCS1_001' "SIS: User Exit for SD Document - Header Data |
| EXPORTING | ||
| I_XMCVBAK | = lv_i_xmcvbak | |
| I_XMCVBUK | = lv_i_xmcvbuk | |
| I_XMCVBKD | = lv_i_xmcvbkd | |
| I_CONTROL | = lv_i_control | |
| IMPORTING | ||
| E_XMCVBAKUSR | = lv_e_xmcvbakusr | |
| . " EXIT_SAPLMCS1_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLMCS1_001
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