BBP_SC_MAP_PD_TO_REQ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BBP_SC_MAP_PD_TO_REQ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_PDMAP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_SC_MAP_PD_TO_REQ' "
EXPORTING
is_new_header = " bbp_pds_sc_header_d
* it_attach = " bbpt_pds_att_t
IMPORTING
es_reqhead = " reqhead
es_req_heads = " reqheads
es_cuf_header = " bbps_cuf_header
* TABLES
* et_req_reference = " reqref
* et_req_line = " reqline
* et_req_line_mat = " reqlinema_eci
* et_req_line_srv = " bbps_reqlinesr_eci
* et_req_text = " reqtext
* et_req_acct = " reqacct_470
* et_req_att = " reqatt
* et_req_address = " reqaddress
* et_req_conlimit = " reqheads
* it_new_items = " bbp_pds_sc_item_d
* it_account = " bbp_pds_acc
* it_partner = " bbp_pds_partner
* it_longtext = " bbp_pds_longtext
* it_limit = " bbp_pds_limit
* it_orgdata = " bbp_pds_org
* it_tax = " bbp_pds_tax
* it_actval = " bbp_pds_actval
* it_itmlim_rel = " bbp_pds_ilrel
* it_status = " bbp_pds_status
* et_messages = " bbp_pds_messages
* et_cuf_item = " bbps_cuf_item
* et_cuf_acc = " bbps_cuf_acc
* et_req_heads = " reqheads
. " BBP_SC_MAP_PD_TO_REQ
The ABAP code below is a full code listing to execute function module BBP_SC_MAP_PD_TO_REQ including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_es_reqhead | TYPE REQHEAD , |
| ld_es_req_heads | TYPE REQHEADS , |
| ld_es_cuf_header | TYPE BBPS_CUF_HEADER , |
| it_et_req_reference | TYPE STANDARD TABLE OF REQREF,"TABLES PARAM |
| wa_et_req_reference | LIKE LINE OF it_et_req_reference , |
| it_et_req_line | TYPE STANDARD TABLE OF REQLINE,"TABLES PARAM |
| wa_et_req_line | LIKE LINE OF it_et_req_line , |
| it_et_req_line_mat | TYPE STANDARD TABLE OF REQLINEMA_ECI,"TABLES PARAM |
| wa_et_req_line_mat | LIKE LINE OF it_et_req_line_mat , |
| it_et_req_line_srv | TYPE STANDARD TABLE OF BBPS_REQLINESR_ECI,"TABLES PARAM |
| wa_et_req_line_srv | LIKE LINE OF it_et_req_line_srv , |
| it_et_req_text | TYPE STANDARD TABLE OF REQTEXT,"TABLES PARAM |
| wa_et_req_text | LIKE LINE OF it_et_req_text , |
| it_et_req_acct | TYPE STANDARD TABLE OF REQACCT_470,"TABLES PARAM |
| wa_et_req_acct | LIKE LINE OF it_et_req_acct , |
| it_et_req_att | TYPE STANDARD TABLE OF REQATT,"TABLES PARAM |
| wa_et_req_att | LIKE LINE OF it_et_req_att , |
| it_et_req_address | TYPE STANDARD TABLE OF REQADDRESS,"TABLES PARAM |
| wa_et_req_address | LIKE LINE OF it_et_req_address , |
| it_et_req_conlimit | TYPE STANDARD TABLE OF REQHEADS,"TABLES PARAM |
| wa_et_req_conlimit | LIKE LINE OF it_et_req_conlimit , |
| it_it_new_items | TYPE STANDARD TABLE OF BBP_PDS_SC_ITEM_D,"TABLES PARAM |
| wa_it_new_items | LIKE LINE OF it_it_new_items , |
| it_it_account | TYPE STANDARD TABLE OF BBP_PDS_ACC,"TABLES PARAM |
| wa_it_account | LIKE LINE OF it_it_account , |
| it_it_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER,"TABLES PARAM |
| wa_it_partner | LIKE LINE OF it_it_partner , |
| it_it_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT,"TABLES PARAM |
| wa_it_longtext | LIKE LINE OF it_it_longtext , |
| it_it_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT,"TABLES PARAM |
| wa_it_limit | LIKE LINE OF it_it_limit , |
| it_it_orgdata | TYPE STANDARD TABLE OF BBP_PDS_ORG,"TABLES PARAM |
| wa_it_orgdata | LIKE LINE OF it_it_orgdata , |
| it_it_tax | TYPE STANDARD TABLE OF BBP_PDS_TAX,"TABLES PARAM |
| wa_it_tax | LIKE LINE OF it_it_tax , |
| it_it_actval | TYPE STANDARD TABLE OF BBP_PDS_ACTVAL,"TABLES PARAM |
| wa_it_actval | LIKE LINE OF it_it_actval , |
| it_it_itmlim_rel | TYPE STANDARD TABLE OF BBP_PDS_ILREL,"TABLES PARAM |
| wa_it_itmlim_rel | LIKE LINE OF it_it_itmlim_rel , |
| it_it_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS,"TABLES PARAM |
| wa_it_status | LIKE LINE OF it_it_status , |
| it_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES,"TABLES PARAM |
| wa_et_messages | LIKE LINE OF it_et_messages , |
| it_et_cuf_item | TYPE STANDARD TABLE OF BBPS_CUF_ITEM,"TABLES PARAM |
| wa_et_cuf_item | LIKE LINE OF it_et_cuf_item , |
| it_et_cuf_acc | TYPE STANDARD TABLE OF BBPS_CUF_ACC,"TABLES PARAM |
| wa_et_cuf_acc | LIKE LINE OF it_et_cuf_acc , |
| it_et_req_heads | TYPE STANDARD TABLE OF REQHEADS,"TABLES PARAM |
| wa_et_req_heads | LIKE LINE OF it_et_req_heads . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_es_reqhead | TYPE REQHEAD , |
| ld_is_new_header | TYPE BBP_PDS_SC_HEADER_D , |
| it_et_req_reference | TYPE STANDARD TABLE OF REQREF , |
| wa_et_req_reference | LIKE LINE OF it_et_req_reference, |
| ld_es_req_heads | TYPE REQHEADS , |
| ld_it_attach | TYPE BBPT_PDS_ATT_T , |
| it_et_req_line | TYPE STANDARD TABLE OF REQLINE , |
| wa_et_req_line | LIKE LINE OF it_et_req_line, |
| ld_es_cuf_header | TYPE BBPS_CUF_HEADER , |
| it_et_req_line_mat | TYPE STANDARD TABLE OF REQLINEMA_ECI , |
| wa_et_req_line_mat | LIKE LINE OF it_et_req_line_mat, |
| it_et_req_line_srv | TYPE STANDARD TABLE OF BBPS_REQLINESR_ECI , |
| wa_et_req_line_srv | LIKE LINE OF it_et_req_line_srv, |
| it_et_req_text | TYPE STANDARD TABLE OF REQTEXT , |
| wa_et_req_text | LIKE LINE OF it_et_req_text, |
| it_et_req_acct | TYPE STANDARD TABLE OF REQACCT_470 , |
| wa_et_req_acct | LIKE LINE OF it_et_req_acct, |
| it_et_req_att | TYPE STANDARD TABLE OF REQATT , |
| wa_et_req_att | LIKE LINE OF it_et_req_att, |
| it_et_req_address | TYPE STANDARD TABLE OF REQADDRESS , |
| wa_et_req_address | LIKE LINE OF it_et_req_address, |
| it_et_req_conlimit | TYPE STANDARD TABLE OF REQHEADS , |
| wa_et_req_conlimit | LIKE LINE OF it_et_req_conlimit, |
| it_it_new_items | TYPE STANDARD TABLE OF BBP_PDS_SC_ITEM_D , |
| wa_it_new_items | LIKE LINE OF it_it_new_items, |
| it_it_account | TYPE STANDARD TABLE OF BBP_PDS_ACC , |
| wa_it_account | LIKE LINE OF it_it_account, |
| it_it_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER , |
| wa_it_partner | LIKE LINE OF it_it_partner, |
| it_it_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT , |
| wa_it_longtext | LIKE LINE OF it_it_longtext, |
| it_it_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT , |
| wa_it_limit | LIKE LINE OF it_it_limit, |
| it_it_orgdata | TYPE STANDARD TABLE OF BBP_PDS_ORG , |
| wa_it_orgdata | LIKE LINE OF it_it_orgdata, |
| it_it_tax | TYPE STANDARD TABLE OF BBP_PDS_TAX , |
| wa_it_tax | LIKE LINE OF it_it_tax, |
| it_it_actval | TYPE STANDARD TABLE OF BBP_PDS_ACTVAL , |
| wa_it_actval | LIKE LINE OF it_it_actval, |
| it_it_itmlim_rel | TYPE STANDARD TABLE OF BBP_PDS_ILREL , |
| wa_it_itmlim_rel | LIKE LINE OF it_it_itmlim_rel, |
| it_it_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS , |
| wa_it_status | LIKE LINE OF it_it_status, |
| it_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES , |
| wa_et_messages | LIKE LINE OF it_et_messages, |
| it_et_cuf_item | TYPE STANDARD TABLE OF BBPS_CUF_ITEM , |
| wa_et_cuf_item | LIKE LINE OF it_et_cuf_item, |
| it_et_cuf_acc | TYPE STANDARD TABLE OF BBPS_CUF_ACC , |
| wa_et_cuf_acc | LIKE LINE OF it_et_cuf_acc, |
| it_et_req_heads | TYPE STANDARD TABLE OF REQHEADS , |
| wa_et_req_heads | LIKE LINE OF it_et_req_heads. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BBP_SC_MAP_PD_TO_REQ or its description.