BBP_SC_LIST_MAP_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_LIST_MAP_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_LIST_MAP_TO_REQ' "
EXPORTING
bbp_pds_pdlist_guid = " bbp_guid
bbp_pds_pdlist_object_id = " crmt_object_id_db
* i_description = " crmd_orderadm_h-description
* i_created_by = " crmd_orderadm_h-created_by
TABLES
* i_stat = " bbp_pds_status
* i_partners = " bbp_pds_partner_get
i_pdlist = " bbp_pds_pdlist
* i_status = " bbp_pds_status_get
* i_messages = " bbp_pds_messages
* e_req_header = " reqhead
* e_req_header_srv = " reqheads
* e_req_line = " reqline
* e_req_line_mat = " reqlinema
* e_req_line_srv = " reqlinesr
* e_req_reference = " reqref
* e_req_text = " reqtext
* e_req_acct = " reqacct
* e_req_address = " reqaddress
. " BBP_SC_LIST_MAP_TO_REQ
The ABAP code below is a full code listing to execute function module BBP_SC_LIST_MAP_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).
| it_i_stat | TYPE STANDARD TABLE OF BBP_PDS_STATUS,"TABLES PARAM |
| wa_i_stat | LIKE LINE OF it_i_stat , |
| it_i_partners | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET,"TABLES PARAM |
| wa_i_partners | LIKE LINE OF it_i_partners , |
| it_i_pdlist | TYPE STANDARD TABLE OF BBP_PDS_PDLIST,"TABLES PARAM |
| wa_i_pdlist | LIKE LINE OF it_i_pdlist , |
| it_i_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS_GET,"TABLES PARAM |
| wa_i_status | LIKE LINE OF it_i_status , |
| it_i_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES,"TABLES PARAM |
| wa_i_messages | LIKE LINE OF it_i_messages , |
| it_e_req_header | TYPE STANDARD TABLE OF REQHEAD,"TABLES PARAM |
| wa_e_req_header | LIKE LINE OF it_e_req_header , |
| it_e_req_header_srv | TYPE STANDARD TABLE OF REQHEADS,"TABLES PARAM |
| wa_e_req_header_srv | LIKE LINE OF it_e_req_header_srv , |
| it_e_req_line | TYPE STANDARD TABLE OF REQLINE,"TABLES PARAM |
| wa_e_req_line | LIKE LINE OF it_e_req_line , |
| it_e_req_line_mat | TYPE STANDARD TABLE OF REQLINEMA,"TABLES PARAM |
| wa_e_req_line_mat | LIKE LINE OF it_e_req_line_mat , |
| it_e_req_line_srv | TYPE STANDARD TABLE OF REQLINESR,"TABLES PARAM |
| wa_e_req_line_srv | LIKE LINE OF it_e_req_line_srv , |
| it_e_req_reference | TYPE STANDARD TABLE OF REQREF,"TABLES PARAM |
| wa_e_req_reference | LIKE LINE OF it_e_req_reference , |
| it_e_req_text | TYPE STANDARD TABLE OF REQTEXT,"TABLES PARAM |
| wa_e_req_text | LIKE LINE OF it_e_req_text , |
| it_e_req_acct | TYPE STANDARD TABLE OF REQACCT,"TABLES PARAM |
| wa_e_req_acct | LIKE LINE OF it_e_req_acct , |
| it_e_req_address | TYPE STANDARD TABLE OF REQADDRESS,"TABLES PARAM |
| wa_e_req_address | LIKE LINE OF it_e_req_address . |
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_bbp_pds_pdlist_guid | TYPE BBP_GUID , |
| it_i_stat | TYPE STANDARD TABLE OF BBP_PDS_STATUS , |
| wa_i_stat | LIKE LINE OF it_i_stat, |
| ld_bbp_pds_pdlist_object_id | TYPE CRMT_OBJECT_ID_DB , |
| it_i_partners | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET , |
| wa_i_partners | LIKE LINE OF it_i_partners, |
| ld_i_description | TYPE CRMD_ORDERADM_H-DESCRIPTION , |
| it_i_pdlist | TYPE STANDARD TABLE OF BBP_PDS_PDLIST , |
| wa_i_pdlist | LIKE LINE OF it_i_pdlist, |
| ld_i_created_by | TYPE CRMD_ORDERADM_H-CREATED_BY , |
| it_i_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS_GET , |
| wa_i_status | LIKE LINE OF it_i_status, |
| it_i_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES , |
| wa_i_messages | LIKE LINE OF it_i_messages, |
| it_e_req_header | TYPE STANDARD TABLE OF REQHEAD , |
| wa_e_req_header | LIKE LINE OF it_e_req_header, |
| it_e_req_header_srv | TYPE STANDARD TABLE OF REQHEADS , |
| wa_e_req_header_srv | LIKE LINE OF it_e_req_header_srv, |
| it_e_req_line | TYPE STANDARD TABLE OF REQLINE , |
| wa_e_req_line | LIKE LINE OF it_e_req_line, |
| it_e_req_line_mat | TYPE STANDARD TABLE OF REQLINEMA , |
| wa_e_req_line_mat | LIKE LINE OF it_e_req_line_mat, |
| it_e_req_line_srv | TYPE STANDARD TABLE OF REQLINESR , |
| wa_e_req_line_srv | LIKE LINE OF it_e_req_line_srv, |
| it_e_req_reference | TYPE STANDARD TABLE OF REQREF , |
| wa_e_req_reference | LIKE LINE OF it_e_req_reference, |
| it_e_req_text | TYPE STANDARD TABLE OF REQTEXT , |
| wa_e_req_text | LIKE LINE OF it_e_req_text, |
| it_e_req_acct | TYPE STANDARD TABLE OF REQACCT , |
| wa_e_req_acct | LIKE LINE OF it_e_req_acct, |
| it_e_req_address | TYPE STANDARD TABLE OF REQADDRESS , |
| wa_e_req_address | LIKE LINE OF it_e_req_address. |
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_LIST_MAP_TO_REQ or its description.