SAP CIF_BOM_EXPLODE Function Module for NOTRANSL: Stücklistenauflösung im ERP-System von APO aus









CIF_BOM_EXPLODE is a standard cif bom explode 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: Stücklistenauflösung im ERP-System von APO aus 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 cif bom explode FM, simply by entering the name CIF_BOM_EXPLODE into the relevant SAP transaction such as SE37 or SE38.

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



Function CIF_BOM_EXPLODE 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 'CIF_BOM_EXPLODE'"NOTRANSL: Stücklistenauflösung im ERP-System von APO aus
EXPORTING
IS_ORDER = "Orders for APO in APO Format
IS_OUTPUT = "Material Output for APO in APO Format

IMPORTING
ES_ORDER = "Orders for APO in APO Format
EV_RET = "ABAP System Field: Row Index of Internal Tables

TABLES
ET_INPUT = "Material Input for APO in APO Format
ET_OUTPUT = "Material Output for APO in APO Format
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCORD_001 User Exit for Order Type Mapping
EXIT_SAPLCORD_002 User Exit for Order Type Mapping
EXIT_SAPLCORD_004 Customer Exit f. Selection of Customer-Specific Data During Initial Trans.
EXIT_SAPLCORD_005 User Exit for Inbound Processing of In-House Production (from APO30A)

IMPORTING Parameters details for CIF_BOM_EXPLODE

IS_ORDER - Orders for APO in APO Format

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

IS_OUTPUT - Material Output for APO in APO Format

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

EXPORTING Parameters details for CIF_BOM_EXPLODE

ES_ORDER - Orders for APO in APO Format

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

EV_RET - ABAP System Field: Row Index of Internal Tables

Data type: SY-TABIX
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CIF_BOM_EXPLODE

ET_INPUT - Material Input for APO in APO Format

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

ET_OUTPUT - Material Output for APO in APO Format

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

Copy and paste ABAP code example for CIF_BOM_EXPLODE 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_es_order  TYPE CIF_APOORD, "   
lt_et_input  TYPE STANDARD TABLE OF CIF_APOINP, "   
lv_is_order  TYPE CIF_APOORD, "   
lv_ev_ret  TYPE SY-TABIX, "   
lt_et_output  TYPE STANDARD TABLE OF CIF_APOOUT, "   
lv_is_output  TYPE CIF_APOOUT. "   

  CALL FUNCTION 'CIF_BOM_EXPLODE'  "NOTRANSL: Stücklistenauflösung im ERP-System von APO aus
    EXPORTING
         IS_ORDER = lv_is_order
         IS_OUTPUT = lv_is_output
    IMPORTING
         ES_ORDER = lv_es_order
         EV_RET = lv_ev_ret
    TABLES
         ET_INPUT = lt_et_input
         ET_OUTPUT = lt_et_output
. " CIF_BOM_EXPLODE




ABAP code using 7.40 inline data declarations to call FM CIF_BOM_EXPLODE

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 TABIX FROM SY INTO @DATA(ld_ev_ret).
 
 
 


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!