BBP_PD_SUSPCO_CREATE 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_PD_SUSPCO_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_PD_SUSPCO
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_PD_SUSPCO_CREATE' "
* EXPORTING
* i_ref_guid = " crmd_orderadm_h-guid
* i_bapimode = " xfeld
* i_park = " xfeld
* i_save = " xfeld
* i_testrun = " xfeld
* i_header = " bbp_pds_suspco_header_ic
* it_attach = " bbpt_pds_att_t
* i_item_sorted_by_hierarchy = " xfeld
IMPORTING
e_header = " bbp_pds_suspco_header_d
et_attach = " bbpt_pds_att_t
TABLES
* i_item = " bbp_pds_suspco_item_icu
* i_partner = " bbp_pds_partner
* i_longtext = " bbp_pds_longtext
* i_sdln = " bbp_pds_sdln
* i_limit = " bbp_pds_limit
* e_item = " bbp_pds_suspco_item_d
* e_partner = " bbp_pds_partner
* e_longtext = " bbp_pds_longtext
* e_sdln = " bbp_pds_sdln
* e_limit = " bbp_pds_limit
* e_status = " bbp_pds_status
e_messages = " bbp_pds_messages
. " BBP_PD_SUSPCO_CREATE
The ABAP code below is a full code listing to execute function module BBP_PD_SUSPCO_CREATE 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_e_header | TYPE BBP_PDS_SUSPCO_HEADER_D , |
| ld_et_attach | TYPE BBPT_PDS_ATT_T , |
| it_i_item | TYPE STANDARD TABLE OF BBP_PDS_SUSPCO_ITEM_ICU,"TABLES PARAM |
| wa_i_item | LIKE LINE OF it_i_item , |
| it_i_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER,"TABLES PARAM |
| wa_i_partner | LIKE LINE OF it_i_partner , |
| it_i_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT,"TABLES PARAM |
| wa_i_longtext | LIKE LINE OF it_i_longtext , |
| it_i_sdln | TYPE STANDARD TABLE OF BBP_PDS_SDLN,"TABLES PARAM |
| wa_i_sdln | LIKE LINE OF it_i_sdln , |
| it_i_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT,"TABLES PARAM |
| wa_i_limit | LIKE LINE OF it_i_limit , |
| it_e_item | TYPE STANDARD TABLE OF BBP_PDS_SUSPCO_ITEM_D,"TABLES PARAM |
| wa_e_item | LIKE LINE OF it_e_item , |
| it_e_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER,"TABLES PARAM |
| wa_e_partner | LIKE LINE OF it_e_partner , |
| it_e_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT,"TABLES PARAM |
| wa_e_longtext | LIKE LINE OF it_e_longtext , |
| it_e_sdln | TYPE STANDARD TABLE OF BBP_PDS_SDLN,"TABLES PARAM |
| wa_e_sdln | LIKE LINE OF it_e_sdln , |
| it_e_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT,"TABLES PARAM |
| wa_e_limit | LIKE LINE OF it_e_limit , |
| it_e_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS,"TABLES PARAM |
| wa_e_status | LIKE LINE OF it_e_status , |
| it_e_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES,"TABLES PARAM |
| wa_e_messages | LIKE LINE OF it_e_messages . |
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:
| it_i_item | TYPE STANDARD TABLE OF BBP_PDS_SUSPCO_ITEM_ICU , |
| wa_i_item | LIKE LINE OF it_i_item, |
| ld_i_ref_guid | TYPE CRMD_ORDERADM_H-GUID , |
| ld_e_header | TYPE BBP_PDS_SUSPCO_HEADER_D , |
| ld_et_attach | TYPE BBPT_PDS_ATT_T , |
| ld_i_bapimode | TYPE XFELD , |
| it_i_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER , |
| wa_i_partner | LIKE LINE OF it_i_partner, |
| ld_i_park | TYPE XFELD , |
| it_i_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT , |
| wa_i_longtext | LIKE LINE OF it_i_longtext, |
| ld_i_save | TYPE XFELD , |
| it_i_sdln | TYPE STANDARD TABLE OF BBP_PDS_SDLN , |
| wa_i_sdln | LIKE LINE OF it_i_sdln, |
| ld_i_testrun | TYPE XFELD , |
| it_i_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT , |
| wa_i_limit | LIKE LINE OF it_i_limit, |
| ld_i_header | TYPE BBP_PDS_SUSPCO_HEADER_IC , |
| it_e_item | TYPE STANDARD TABLE OF BBP_PDS_SUSPCO_ITEM_D , |
| wa_e_item | LIKE LINE OF it_e_item, |
| ld_it_attach | TYPE BBPT_PDS_ATT_T , |
| it_e_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER , |
| wa_e_partner | LIKE LINE OF it_e_partner, |
| ld_i_item_sorted_by_hierarchy | TYPE XFELD , |
| it_e_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT , |
| wa_e_longtext | LIKE LINE OF it_e_longtext, |
| it_e_sdln | TYPE STANDARD TABLE OF BBP_PDS_SDLN , |
| wa_e_sdln | LIKE LINE OF it_e_sdln, |
| it_e_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT , |
| wa_e_limit | LIKE LINE OF it_e_limit, |
| it_e_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS , |
| wa_e_status | LIKE LINE OF it_e_status, |
| it_e_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES , |
| wa_e_messages | LIKE LINE OF it_e_messages. |
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_PD_SUSPCO_CREATE or its description.