SAP C1L0_BOM_TRIGGER_GEN_WL Function Module for NOTRANSL: EHS: BOMBOS - Initialisierung; Erstellung BOM-Eintrag in ESTWL









C1L0_BOM_TRIGGER_GEN_WL is a standard c1l0 bom trigger gen wl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: EHS: BOMBOS - Initialisierung; Erstellung BOM-Eintrag in ESTWL 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 c1l0 bom trigger gen wl FM, simply by entering the name C1L0_BOM_TRIGGER_GEN_WL into the relevant SAP transaction such as SE37 or SE38.

Function Group: C1L0
Program Name: SAPLC1L0
Main Program: SAPLC1L0
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function C1L0_BOM_TRIGGER_GEN_WL 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 'C1L0_BOM_TRIGGER_GEN_WL'"NOTRANSL: EHS: BOMBOS - Initialisierung; Erstellung BOM-Eintrag in ESTWL
EXPORTING
I_STZUB = "Permanent BOM data
* I_RFCDEST = "Logical Destination (Specified in Function Call)

TABLES
I_MASTB = "Document table for MAST records
I_STKOB = "BOM Header Document Table
I_STPOB = "BOM item document table
* I_STASB = "Document Table for STAS Records
.



IMPORTING Parameters details for C1L0_BOM_TRIGGER_GEN_WL

I_STZUB - Permanent BOM data

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

I_RFCDEST - Logical Destination (Specified in Function Call)

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

TABLES Parameters details for C1L0_BOM_TRIGGER_GEN_WL

I_MASTB - Document table for MAST records

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

I_STKOB - BOM Header Document Table

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

I_STPOB - BOM item document table

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

I_STASB - Document Table for STAS Records

Data type: STASB
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for C1L0_BOM_TRIGGER_GEN_WL 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_i_mastb  TYPE STANDARD TABLE OF MASTB, "   
lv_i_stzub  TYPE STZUB, "   
lt_i_stkob  TYPE STANDARD TABLE OF STKOB, "   
lv_i_rfcdest  TYPE RFCDEST, "   
lt_i_stpob  TYPE STANDARD TABLE OF STPOB, "   
lt_i_stasb  TYPE STANDARD TABLE OF STASB. "   

  CALL FUNCTION 'C1L0_BOM_TRIGGER_GEN_WL'  "NOTRANSL: EHS: BOMBOS - Initialisierung; Erstellung BOM-Eintrag in ESTWL
    EXPORTING
         I_STZUB = lv_i_stzub
         I_RFCDEST = lv_i_rfcdest
    TABLES
         I_MASTB = lt_i_mastb
         I_STKOB = lt_i_stkob
         I_STPOB = lt_i_stpob
         I_STASB = lt_i_stasb
. " C1L0_BOM_TRIGGER_GEN_WL




ABAP code using 7.40 inline data declarations to call FM C1L0_BOM_TRIGGER_GEN_WL

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.

 
 
 
 
 
 


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!