SAP EXIT_SAPLMCS6_001 Function Module for SIS: User Exit for Billing Documents - Header Data
EXIT_SAPLMCS6_001 is a standard exit saplmcs6 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 Billing Documents - 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 saplmcs6 001 FM, simply by entering the name EXIT_SAPLMCS6_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_SAPLMCS6_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_SAPLMCS6_001'"SIS: User Exit for Billing Documents - Header Data.
EXPORTING
I_XMCVBRK = "
I_XMCVBUK = "
I_CONTROL = "
IMPORTING
E_XMCVBRKUSR = "
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_INVOICE - SAP IDoc SISINV01
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.MCV_INVOICE_CHECK_AND_SET NOTRANSL: Statistikfortschreibung Neuaufbau Faktura: Prüfen und ergänzen
MCV_STATISTICS_ALE_OUT_INVOICE NOTRANSL: Statistikfortschreibung Kundenauftrag - ALE OUT
MCV_STATISTICS_BIL_DIA_ODP NOTRANSL: Ermittlung Statistikdialogdaten für Fakturabeleg Extraktstruktur
MCV_STATISTICS_BIL_ODP NOTRANSL: Ermittlung Statistikdaten für Fakturasbeleg Extraktstruktur
MCV_STATISTICS_DIALOG_INVOICE NOTRANSL: Fortschreibung Statistikdaten Faktura Dialog
MCV_STATISTICS_INVOICE NOTRANSL: Statistikfortschreibung Faktura
MCV_STATISTICS_LOG_INVOICE NOTRANSL: Logging Statistikdaten Faktura
MCV_STATISTICS_RWIN_POST NOTRANSL: Statistikfortschreibung Faktura: Aufruf Verbuchen RWIN
MCV_STATISTICS_UPD_V1_INVOICE Update statistical data billing document
MCV_STATISTICS_UPD_V2_INVOICE Update statistical data billing document
MCV_STATISTICS_UPD_V3_INVOICE Update statistical data billing document
MCV_UPDATE_CM_INVOICE Update statistical data billing document
MCV_UPDATE_RM_INVOICE Update statistical data billing document for risk management
IMPORTING Parameters details for EXIT_SAPLMCS6_001
I_XMCVBRK -
Data type: MCVBRKBOptional: 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_CONTROL -
Data type: MCCONTROLOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLMCS6_001
E_XMCVBRKUSR -
Data type: MCVBRKUSROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLMCS6_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_xmcvbrk | TYPE MCVBRKB, " | |||
| lv_e_xmcvbrkusr | TYPE MCVBRKUSR, " | |||
| lv_i_xmcvbuk | TYPE MCVBUKB, " | |||
| lv_i_control | TYPE MCCONTROL. " |
|   CALL FUNCTION 'EXIT_SAPLMCS6_001' "SIS: User Exit for Billing Documents - Header Data |
| EXPORTING | ||
| I_XMCVBRK | = lv_i_xmcvbrk | |
| I_XMCVBUK | = lv_i_xmcvbuk | |
| I_CONTROL | = lv_i_control | |
| IMPORTING | ||
| E_XMCVBRKUSR | = lv_e_xmcvbrkusr | |
| . " EXIT_SAPLMCS6_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLMCS6_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