BBP_BAPI_INV_SEND 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_BAPI_INV_SEND into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_BD_DRIVER_BAPI
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_BAPI_INV_SEND' "
EXPORTING
is_header = " bbps_pdext_inv_header_d
it_item = " bbpt_pdext_inv_item_d
* it_item_rel = " bbpt_pdext_ivhub_irel
* it_account = " bbpt_pdext_acc
it_partner = " bbpt_pdext_partner
* it_freight = " bbpt_pdext_freight
* it_tax = " bbpt_pdext_tax
* it_exchrate = " bbpt_pdext_exr
* it_longtext = " bbpt_pdext_longtext
* it_attach = " bbpt_pdext_attach
. " BBP_BAPI_INV_SEND
The ABAP code below is a full code listing to execute function module BBP_BAPI_INV_SEND 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).
DATA(ld_is_header) = 'Check type of data required'.
DATA(ld_it_item) = 'Check type of data required'.
DATA(ld_it_item_rel) = 'Check type of data required'.
DATA(ld_it_account) = 'Check type of data required'.
DATA(ld_it_partner) = 'Check type of data required'.
DATA(ld_it_freight) = 'Check type of data required'.
DATA(ld_it_tax) = 'Check type of data required'.
DATA(ld_it_exchrate) = 'Check type of data required'.
DATA(ld_it_longtext) = 'Check type of data required'.
DATA(ld_it_attach) = 'Check type of data required'. . CALL FUNCTION 'BBP_BAPI_INV_SEND' EXPORTING is_header = ld_is_header it_item = ld_it_item * it_item_rel = ld_it_item_rel * it_account = ld_it_account it_partner = ld_it_partner * it_freight = ld_it_freight * it_tax = ld_it_tax * it_exchrate = ld_it_exchrate * it_longtext = ld_it_longtext * it_attach = ld_it_attach . " BBP_BAPI_INV_SEND
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_is_header | TYPE BBPS_PDEXT_INV_HEADER_D , |
| ld_it_item | TYPE BBPT_PDEXT_INV_ITEM_D , |
| ld_it_item_rel | TYPE BBPT_PDEXT_IVHUB_IREL , |
| ld_it_account | TYPE BBPT_PDEXT_ACC , |
| ld_it_partner | TYPE BBPT_PDEXT_PARTNER , |
| ld_it_freight | TYPE BBPT_PDEXT_FREIGHT , |
| ld_it_tax | TYPE BBPT_PDEXT_TAX , |
| ld_it_exchrate | TYPE BBPT_PDEXT_EXR , |
| ld_it_longtext | TYPE BBPT_PDEXT_LONGTEXT , |
| ld_it_attach | TYPE BBPT_PDEXT_ATTACH . |
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_BAPI_INV_SEND or its description.