SAP EXIT_SAPLC106_001 Function Module for EHS: Variable Information on Material Assignment
EXIT_SAPLC106_001 is a standard exit saplc106 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 EHS: Variable Information on Material Assignment 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 saplc106 001 FM, simply by entering the name EXIT_SAPLC106_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XC1A
Program Name: SAPLXC1A
Main Program: SAPLXC1A
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLC106_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_SAPLC106_001'"EHS: Variable Information on Material Assignment.
EXPORTING
I_RCGMJIOT = "
IMPORTING
E_RCGMJIOT = "
CHANGING
X_ADD_INF1_HEADER = "
X_ADD_INF2_HEADER = "
X_ADD_INF3_HEADER = "
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.C106_BADI_MAT_BUTTON_GET_OBJ NOTRANSL: EHS: Eine Instanz zum BAdi EHS_DG_INT_001 gepuffert erzeugen
C106_CUSTOMER_EXIT_CALL NOTRANSL: EHS: Aufruf des Customer Exits bei der Materialzuordnung
C106_ENTRY NOTRANSL: PP-SHE: Einstieg in die Stoff/Materialzuordnung
C106_FLG_SAVE_PEND_GET NOTRANSL: EHS: prüfen, ob noch Daten zu sichern sind
C106_FLG_SAVE_PEND_RESET NOTRANSL: EHS: Kennzeichen 'ungesicherte Daten' zurücksetzen
C106_IOTAB_OBJECTNAME_BUILD NOTRANSL: PP-SHE: Für eine Steploop-Zeile einen Objektnamen generieren
C106_OKCODE_HANDLER NOTRANSL: EHS: OK-Code Behandlung für Materialzuordnung
C106_TABSCREEN_CLOSE NOTRANSL: EHS: Nachverarbeitung Tabstrip Materialzuordnung
C106_TABSCREEN_INIT NOTRANSL: EHS: Initialisiert globale Verwaltungsinformationen
C106_TABSCREEN_OPEN NOTRANSL: EHS: Vorverarbeitung Tabstrip Verwaltungsinformation
IMPORTING Parameters details for EXIT_SAPLC106_001
I_RCGMJIOT -
Data type: RCGMJIOTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLC106_001
E_RCGMJIOT -
Data type: RCGMJIOTOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_SAPLC106_001
X_ADD_INF1_HEADER -
Data type: RCGMJIOT-ADD_INF1Optional: No
Call by Reference: No ( called with pass by value option)
X_ADD_INF2_HEADER -
Data type: RCGMJIOT-ADD_INF2Optional: No
Call by Reference: No ( called with pass by value option)
X_ADD_INF3_HEADER -
Data type: RCGMJIOT-ADD_INF3Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLC106_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_e_rcgmjiot | TYPE RCGMJIOT, " | |||
lv_i_rcgmjiot | TYPE RCGMJIOT, " | |||
lv_x_add_inf1_header | TYPE RCGMJIOT-ADD_INF1, " | |||
lv_x_add_inf2_header | TYPE RCGMJIOT-ADD_INF2, " | |||
lv_x_add_inf3_header | TYPE RCGMJIOT-ADD_INF3. " |
  CALL FUNCTION 'EXIT_SAPLC106_001' "EHS: Variable Information on Material Assignment |
EXPORTING | ||
I_RCGMJIOT | = lv_i_rcgmjiot | |
IMPORTING | ||
E_RCGMJIOT | = lv_e_rcgmjiot | |
CHANGING | ||
X_ADD_INF1_HEADER | = lv_x_add_inf1_header | |
X_ADD_INF2_HEADER | = lv_x_add_inf2_header | |
X_ADD_INF3_HEADER | = lv_x_add_inf3_header | |
. " EXIT_SAPLC106_001 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLC106_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 ADD_INF1 FROM RCGMJIOT INTO @DATA(ld_x_add_inf1_header). | ||||
"SELECT single ADD_INF2 FROM RCGMJIOT INTO @DATA(ld_x_add_inf2_header). | ||||
"SELECT single ADD_INF3 FROM RCGMJIOT INTO @DATA(ld_x_add_inf3_header). | ||||
Search for further information about these or an SAP related objects