BBP_PD_COMMITMENT_FILL_BAPI 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_COMMITMENT_FILL_BAPI into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_PDCOI
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_PD_COMMITMENT_FILL_BAPI' "
EXPORTING
i_eci_target_sys = " bbp_logsys
TABLES
i_po_header = " bbp_pds_header_cmmt
i_po_item = " bbp_pds_item_cmmt
i_po_account = " bbp_pds_acc
i_po_acc_actval = " bbp_pds_actval
i_po_partner = " bbp_pds_partner
i_po_limit = " bbp_pds_limit
* i_po_sdln = " bbp_pds_sdln
* i_po_actval_sdln = " bbp_pds_actval
e_commitment = " bapi_cmmt_d
. " BBP_PD_COMMITMENT_FILL_BAPI
The ABAP code below is a full code listing to execute function module BBP_PD_COMMITMENT_FILL_BAPI 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_po_header | TYPE STANDARD TABLE OF BBP_PDS_HEADER_CMMT,"TABLES PARAM |
| wa_i_po_header | LIKE LINE OF it_i_po_header , |
| it_i_po_item | TYPE STANDARD TABLE OF BBP_PDS_ITEM_CMMT,"TABLES PARAM |
| wa_i_po_item | LIKE LINE OF it_i_po_item , |
| it_i_po_account | TYPE STANDARD TABLE OF BBP_PDS_ACC,"TABLES PARAM |
| wa_i_po_account | LIKE LINE OF it_i_po_account , |
| it_i_po_acc_actval | TYPE STANDARD TABLE OF BBP_PDS_ACTVAL,"TABLES PARAM |
| wa_i_po_acc_actval | LIKE LINE OF it_i_po_acc_actval , |
| it_i_po_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER,"TABLES PARAM |
| wa_i_po_partner | LIKE LINE OF it_i_po_partner , |
| it_i_po_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT,"TABLES PARAM |
| wa_i_po_limit | LIKE LINE OF it_i_po_limit , |
| it_i_po_sdln | TYPE STANDARD TABLE OF BBP_PDS_SDLN,"TABLES PARAM |
| wa_i_po_sdln | LIKE LINE OF it_i_po_sdln , |
| it_i_po_actval_sdln | TYPE STANDARD TABLE OF BBP_PDS_ACTVAL,"TABLES PARAM |
| wa_i_po_actval_sdln | LIKE LINE OF it_i_po_actval_sdln , |
| it_e_commitment | TYPE STANDARD TABLE OF BAPI_CMMT_D,"TABLES PARAM |
| wa_e_commitment | LIKE LINE OF it_e_commitment . |
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_i_eci_target_sys | TYPE BBP_LOGSYS , |
| it_i_po_header | TYPE STANDARD TABLE OF BBP_PDS_HEADER_CMMT , |
| wa_i_po_header | LIKE LINE OF it_i_po_header, |
| it_i_po_item | TYPE STANDARD TABLE OF BBP_PDS_ITEM_CMMT , |
| wa_i_po_item | LIKE LINE OF it_i_po_item, |
| it_i_po_account | TYPE STANDARD TABLE OF BBP_PDS_ACC , |
| wa_i_po_account | LIKE LINE OF it_i_po_account, |
| it_i_po_acc_actval | TYPE STANDARD TABLE OF BBP_PDS_ACTVAL , |
| wa_i_po_acc_actval | LIKE LINE OF it_i_po_acc_actval, |
| it_i_po_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER , |
| wa_i_po_partner | LIKE LINE OF it_i_po_partner, |
| it_i_po_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT , |
| wa_i_po_limit | LIKE LINE OF it_i_po_limit, |
| it_i_po_sdln | TYPE STANDARD TABLE OF BBP_PDS_SDLN , |
| wa_i_po_sdln | LIKE LINE OF it_i_po_sdln, |
| it_i_po_actval_sdln | TYPE STANDARD TABLE OF BBP_PDS_ACTVAL , |
| wa_i_po_actval_sdln | LIKE LINE OF it_i_po_actval_sdln, |
| it_e_commitment | TYPE STANDARD TABLE OF BAPI_CMMT_D , |
| wa_e_commitment | LIKE LINE OF it_e_commitment. |
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_COMMITMENT_FILL_BAPI or its description.