SAP EXIT_SAPLMCB1_001 Function Module for User Exit for Inventory Controlling









EXIT_SAPLMCB1_001 is a standard exit saplmcb1 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 User Exit for Inventory Controlling 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 saplmcb1 001 FM, simply by entering the name EXIT_SAPLMCB1_001 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XMCB
Program Name: SAPLXMCB
Main Program: SAPLXMCB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLMCB1_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_SAPLMCB1_001'"User Exit for Inventory Controlling
EXPORTING
* ZEITP = "
* MODUS_I = "

TABLES
XMCBEST = "
XMCMSEG = "
.



Related IDocs

Below is a list of IDoc processing function modules and the associated IDocs this Function user exits is relevant for.
MCB_STATISTICS_ALE_IN - SAP IDoc INVCON01
MCB_STATISTICS_ALE_IN - SAP IDoc INVCON01
MCB_STATISTICS_ALE_IN - SAP IDoc INVCON02

Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
MCB_DETERMINE_STOCKTYPE NOTRANSL: Bestimmung des Bestandstyps für BCO-Fortschreibung
MCB_DISTRIBUTE_IDOC_BCO NOTRANSL: Fortschreibung IDOC- Bestandscontrolling
MCB_GOODS_RECEIPT_AT_STOCK NOTRANSL: Füllen der Datenbanktabelle S031 mit Kennzahl 'Bestand bei Zugan
MCB_MCBEST_FILL NOTRANSL: Füllt die Kommunikationsstruktur MCBEST für das Bestandscontrol
MCB_MCMSEG_FILL NOTRANSL: Füllt Kommunikationsstrukturen für Bestandscontrolling
MCB_REBUILD_FI NOTRANSL: Statistikdatenneuaufbau Buchhaltungsbelege
MCB_REBUILD_MM NOTRANSL: Statistikdatenneuaufbau Materialbelege
MCB_STATISTICS_LIS NOTRANSL: Dialog-Funktionsbaustein für Bestandsinfosystem
MCB_STATISTICS_LOG NOTRANSL: Fortschreibungsprotokoll Bestandsinfosystem
MCB_STATISTICS_NEU NOTRANSL: Dialog-Funktionsbaustein für Statistikneuaufbau Bestandscontroll
MCB_STATISTICS_NEU01 NOTRANSL: Dialog-Funktionsbaustein für Statistikneuaufbau Bestandscontroll
MCB_STATISTICS_R2 NOTRANSL: Vorbereitung der Statistikdaten aus R/2
MCB_STATISTICS_UPD_D NOTRANSL: Verbuchung im Bestandsinfosystem (V1/V2) mit Daten aus dem R/2
MCB_STATISTICS_UPD_SIM NOTRANSL: Fortschreibungssimulation im Bestandscontrolling
MCB_STATISTICS_UPD_V1 NOTRANSL: Verbuchung im Bestandsinfosystem (V1)
MCB_STATISTICS_UPD_V2 NOTRANSL: Verbuchung im Bestandsinfosystem (V2)
MCB_STATISTICS_UPD_V3 NOTRANSL: Verbuchung im Bestandsinfosystem (V3)
MCB_STOCK_SELECT NOTRANSL: Selektion von Bestandsfeldern für das Bestandscontrolling
MCB_UPDATE_INVENTORIES NOTRANSL: Verbuchung der initialisierten Bestände für Bestandscontrolling
MCB_UPDATE_INVENTORIES_EINZEL NOTRANSL: Initialisierung Bestände im BCO (Einzelsatzverbuchung)
MCB_UPDATE_S039 NOTRANSL: Füllen der Datenbanktabelle S039 mit Istdaten

IMPORTING Parameters details for EXIT_SAPLMCB1_001

ZEITP -

Data type: TMC5-ZEITP
Optional: Yes
Call by Reference: No ( called with pass by value option)

MODUS_I -

Data type: MCCONTROL-MODUS
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EXIT_SAPLMCB1_001

XMCBEST -

Data type: MCBEST
Optional: No
Call by Reference: No ( called with pass by value option)

XMCMSEG -

Data type: MCMSEG
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for EXIT_SAPLMCB1_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_zeitp  TYPE TMC5-ZEITP, "   
lt_xmcbest  TYPE STANDARD TABLE OF MCBEST, "   
lv_modus_i  TYPE MCCONTROL-MODUS, "   
lt_xmcmseg  TYPE STANDARD TABLE OF MCMSEG. "   

  CALL FUNCTION 'EXIT_SAPLMCB1_001'  "User Exit for Inventory Controlling
    EXPORTING
         ZEITP = lv_zeitp
         MODUS_I = lv_modus_i
    TABLES
         XMCBEST = lt_xmcbest
         XMCMSEG = lt_xmcmseg
. " EXIT_SAPLMCB1_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLMCB1_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.

"SELECT single ZEITP FROM TMC5 INTO @DATA(ld_zeitp).
 
 
"SELECT single MODUS FROM MCCONTROL INTO @DATA(ld_modus_i).
 
 

See full list of SAP IDocs

See full list of SAP Function Modules



Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!