SAP BBP_SC_MAP_PD_TO_DB Function Module for









BBP_SC_MAP_PD_TO_DB is a standard bbp sc map pd to db SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 bbp sc map pd to db FM, simply by entering the name BBP_SC_MAP_PD_TO_DB into the relevant SAP transaction such as SE37 or SE38.

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



Function BBP_SC_MAP_PD_TO_DB 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 'BBP_SC_MAP_PD_TO_DB'"
EXPORTING
IS_HEADER = "
* IT_ATTACH = "

IMPORTING
ES_HDRADM = "
ES_HDRHGP = "
ET_ATTACH = "

TABLES
IT_ITEM = "
* ET_ITMADM = "
* ET_ITMIGP = "
* ET_ITMPSET = "
* ET_ITMBEI = "
* ET_ACCOUNT = "
* ET_BUP = "
* ET_PARTNER = "
* ET_LIMIT = "
* ET_ORGDATA = "
* ET_LONGTEXT = "
* IT_ACCOUNT = "
* ET_STATUS = "
* ET_ITMLIM_REL = "
IT_PARTNER = "
IT_LONGTEXT = "
* IT_LIMIT = "
IT_ORGDATA = "
IT_ACTVAL = "
* IT_ITMLIM_REL = "
IT_STATUS = "
.



IMPORTING Parameters details for BBP_SC_MAP_PD_TO_DB

IS_HEADER -

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

IT_ATTACH -

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

EXPORTING Parameters details for BBP_SC_MAP_PD_TO_DB

ES_HDRADM -

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

ES_HDRHGP -

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

ET_ATTACH -

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

TABLES Parameters details for BBP_SC_MAP_PD_TO_DB

IT_ITEM -

Data type: BBP_PDS_SC_ITEM_D
Optional: No
Call by Reference: Yes

ET_ITMADM -

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

ET_ITMIGP -

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

ET_ITMPSET -

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

ET_ITMBEI -

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

ET_ACCOUNT -

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

ET_BUP -

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

ET_PARTNER -

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

ET_LIMIT -

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

ET_ORGDATA -

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

ET_LONGTEXT -

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

IT_ACCOUNT -

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

ET_STATUS -

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

ET_ITMLIM_REL -

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

IT_PARTNER -

Data type: BBP_PDS_PARTNER
Optional: No
Call by Reference: Yes

IT_LONGTEXT -

Data type: BBP_PDS_LONGTEXT
Optional: No
Call by Reference: Yes

IT_LIMIT -

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

IT_ORGDATA -

Data type: BBP_PDS_ORG
Optional: No
Call by Reference: Yes

IT_ACTVAL -

Data type: BBP_PDS_ACTVAL
Optional: No
Call by Reference: Yes

IT_ITMLIM_REL -

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

IT_STATUS -

Data type: BBP_PDS_STATUS
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BBP_SC_MAP_PD_TO_DB 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_it_item  TYPE STANDARD TABLE OF BBP_PDS_SC_ITEM_D, "   
lv_es_hdradm  TYPE BBP_PDS_HDR_IC, "   
lv_is_header  TYPE BBP_PDS_SC_HEADER_D, "   
lt_et_itmadm  TYPE STANDARD TABLE OF BBP_PDS_ITM_IC, "   
lt_et_itmigp  TYPE STANDARD TABLE OF BBP_PDS_IGP_IC, "   
lt_et_itmpset  TYPE STANDARD TABLE OF BBP_PDS_PSET_IC, "   
lt_et_itmbei  TYPE STANDARD TABLE OF BBP_PDS_BEI_IC, "   
lt_et_account  TYPE STANDARD TABLE OF BBP_PDS_ACC_IC, "   
lt_et_bup  TYPE STANDARD TABLE OF BBP_PDS_BUP_IC, "   
lt_et_partner  TYPE STANDARD TABLE OF BBP_PDS_PARTNER, "   
lt_et_limit  TYPE STANDARD TABLE OF BBP_PDS_LIMIT_IC, "   
lt_et_orgdata  TYPE STANDARD TABLE OF BBP_PDS_ORG_IC, "   
lt_et_longtext  TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT, "   
lv_es_hdrhgp  TYPE BBP_PDS_HGP_IC, "   
lv_it_attach  TYPE BBPT_PDS_ATT_T, "   
lt_it_account  TYPE STANDARD TABLE OF BBP_PDS_ACC, "   
lt_et_status  TYPE STANDARD TABLE OF CRM_JEST, "   
lt_et_itmlim_rel  TYPE STANDARD TABLE OF BBP_PDS_ILREL, "   
lv_et_attach  TYPE BBPT_PDS_ATT_T_IC, "   
lt_it_partner  TYPE STANDARD TABLE OF BBP_PDS_PARTNER, "   
lt_it_longtext  TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT, "   
lt_it_limit  TYPE STANDARD TABLE OF BBP_PDS_LIMIT, "   
lt_it_orgdata  TYPE STANDARD TABLE OF BBP_PDS_ORG, "   
lt_it_actval  TYPE STANDARD TABLE OF BBP_PDS_ACTVAL, "   
lt_it_itmlim_rel  TYPE STANDARD TABLE OF BBP_PDS_ILREL, "   
lt_it_status  TYPE STANDARD TABLE OF BBP_PDS_STATUS. "   

  CALL FUNCTION 'BBP_SC_MAP_PD_TO_DB'  "
    EXPORTING
         IS_HEADER = lv_is_header
         IT_ATTACH = lv_it_attach
    IMPORTING
         ES_HDRADM = lv_es_hdradm
         ES_HDRHGP = lv_es_hdrhgp
         ET_ATTACH = lv_et_attach
    TABLES
         IT_ITEM = lt_it_item
         ET_ITMADM = lt_et_itmadm
         ET_ITMIGP = lt_et_itmigp
         ET_ITMPSET = lt_et_itmpset
         ET_ITMBEI = lt_et_itmbei
         ET_ACCOUNT = lt_et_account
         ET_BUP = lt_et_bup
         ET_PARTNER = lt_et_partner
         ET_LIMIT = lt_et_limit
         ET_ORGDATA = lt_et_orgdata
         ET_LONGTEXT = lt_et_longtext
         IT_ACCOUNT = lt_it_account
         ET_STATUS = lt_et_status
         ET_ITMLIM_REL = lt_et_itmlim_rel
         IT_PARTNER = lt_it_partner
         IT_LONGTEXT = lt_it_longtext
         IT_LIMIT = lt_it_limit
         IT_ORGDATA = lt_it_orgdata
         IT_ACTVAL = lt_it_actval
         IT_ITMLIM_REL = lt_it_itmlim_rel
         IT_STATUS = lt_it_status
. " BBP_SC_MAP_PD_TO_DB




ABAP code using 7.40 inline data declarations to call FM BBP_SC_MAP_PD_TO_DB

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!