SAP CS_BOM_CALL_DIALOG Function Module for NOTRANSL: Aufruf Stücklistendialog









CS_BOM_CALL_DIALOG is a standard cs bom call dialog 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: Aufruf Stücklistendialog 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 cs bom call dialog FM, simply by entering the name CS_BOM_CALL_DIALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function CS_BOM_CALL_DIALOG 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 'CS_BOM_CALL_DIALOG'"NOTRANSL: Aufruf Stücklistendialog
EXPORTING
ECSIN = "
* EDYNNR = "
* ESCREEN_REPID = "Program for alternative header sub-screens
* ESCREEN_DYNNR = "Screen for alternative header sub-screens
* FLG_NO_WARNING = ' ' "

IMPORTING
AFCODE = "
AUPDFL = "

EXCEPTIONS
CMODE_ERROR = 1
.




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_SAPLCSDI_001 PCSD0001: BOM - User exit
EXIT_SAPLCSDI_002 PCSD0002: BOM Item - Customer Fields to Customer Program
EXIT_SAPLCSDI_003 PCSD0002: BOM item - Customer Field to SAP Program
EXIT_SAPLCSDI_004 PCSD0003: BOM header - Customer Field to Customer Program
EXIT_SAPLCSDI_005 PCSD0003: BOM header - Customer Field to SAP Program
EXIT_SAPLCSDI_006 PCSD0005: Additional Component Checks for Material Items
EXIT_SAPLCSDI_007 PCSD0007: Check STKOB after change

IMPORTING Parameters details for CS_BOM_CALL_DIALOG

ECSIN -

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

EDYNNR -

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

ESCREEN_REPID - Program for alternative header sub-screens

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

ESCREEN_DYNNR - Screen for alternative header sub-screens

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

FLG_NO_WARNING -

Data type: CSDATA-XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CS_BOM_CALL_DIALOG

AFCODE -

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

AUPDFL -

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

EXCEPTIONS details

CMODE_ERROR -

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

Copy and paste ABAP code example for CS_BOM_CALL_DIALOG 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_ecsin  TYPE CSIN, "   
lv_afcode  TYPE T185F-FCODE, "   
lv_cmode_error  TYPE T185F, "   
lv_aupdfl  TYPE CSDATA-XFELD, "   
lv_edynnr  TYPE T185V-CDYNPRO, "   
lv_escreen_repid  TYPE SY-REPID, "   
lv_escreen_dynnr  TYPE SY-DYNNR, "   
lv_flg_no_warning  TYPE CSDATA-XFELD. "   SPACE

  CALL FUNCTION 'CS_BOM_CALL_DIALOG'  "NOTRANSL: Aufruf Stücklistendialog
    EXPORTING
         ECSIN = lv_ecsin
         EDYNNR = lv_edynnr
         ESCREEN_REPID = lv_escreen_repid
         ESCREEN_DYNNR = lv_escreen_dynnr
         FLG_NO_WARNING = lv_flg_no_warning
    IMPORTING
         AFCODE = lv_afcode
         AUPDFL = lv_aupdfl
    EXCEPTIONS
        CMODE_ERROR = 1
. " CS_BOM_CALL_DIALOG




ABAP code using 7.40 inline data declarations to call FM CS_BOM_CALL_DIALOG

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 FCODE FROM T185F INTO @DATA(ld_afcode).
 
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_aupdfl).
 
"SELECT single CDYNPRO FROM T185V INTO @DATA(ld_edynnr).
 
"SELECT single REPID FROM SY INTO @DATA(ld_escreen_repid).
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_escreen_dynnr).
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_no_warning).
DATA(ld_flg_no_warning) = ' '.
 


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!