BBP_SUSIV_COPY 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_SUSIV_COPY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_SUS_ASSIGNMENT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_SUSIV_COPY' "SUS Rechnung aus Vorlagebeleg
EXPORTING
iv_guid = " crmd_orderadm_h-guid GUID eines CRM-Order-Objekts
IMPORTING
es_header = " bbp_pds_susinv_header_d Header Data Invoice GetDetail-Case Interface
TABLES
it_selection = " bbps_object_key Key Fields for Lean or Backend Document
* et_item = " bbp_pds_susinv_item_d Item Data Invoice GetDetail-Case Interface
* et_partner = " bbp_pds_partner Business Partner
* et_hcf = " bbp_pds_hcf_inv Tab. Kunden- und Solutionfelder am Rechnungskopf
* et_icf = " bbp_pds_icf_inv Tab. Kunden- und Solutionfelder an der Rechnungs-Pos.
* et_longtext = " bbp_pds_longtext Long Texts for Procurement Document
* et_freight = " bbp_pds_freight Shipment Costs
* et_tax = " bbp_pds_tax Taxes
* et_messages = " bbp_pds_messages Error Message for Procurement Document Methods
. " BBP_SUSIV_COPY
The ABAP code below is a full code listing to execute function module BBP_SUSIV_COPY 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_header | TYPE BBP_PDS_SUSINV_HEADER_D , |
| it_it_selection | TYPE STANDARD TABLE OF BBPS_OBJECT_KEY,"TABLES PARAM |
| wa_it_selection | LIKE LINE OF it_it_selection , |
| it_et_item | TYPE STANDARD TABLE OF BBP_PDS_SUSINV_ITEM_D,"TABLES PARAM |
| wa_et_item | LIKE LINE OF it_et_item , |
| it_et_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER,"TABLES PARAM |
| wa_et_partner | LIKE LINE OF it_et_partner , |
| it_et_hcf | TYPE STANDARD TABLE OF BBP_PDS_HCF_INV,"TABLES PARAM |
| wa_et_hcf | LIKE LINE OF it_et_hcf , |
| it_et_icf | TYPE STANDARD TABLE OF BBP_PDS_ICF_INV,"TABLES PARAM |
| wa_et_icf | LIKE LINE OF it_et_icf , |
| it_et_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT,"TABLES PARAM |
| wa_et_longtext | LIKE LINE OF it_et_longtext , |
| it_et_freight | TYPE STANDARD TABLE OF BBP_PDS_FREIGHT,"TABLES PARAM |
| wa_et_freight | LIKE LINE OF it_et_freight , |
| it_et_tax | TYPE STANDARD TABLE OF BBP_PDS_TAX,"TABLES PARAM |
| wa_et_tax | LIKE LINE OF it_et_tax , |
| it_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES,"TABLES PARAM |
| wa_et_messages | LIKE LINE OF it_et_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:
| ld_es_header | TYPE BBP_PDS_SUSINV_HEADER_D , |
| ld_iv_guid | TYPE CRMD_ORDERADM_H-GUID , |
| it_it_selection | TYPE STANDARD TABLE OF BBPS_OBJECT_KEY , |
| wa_it_selection | LIKE LINE OF it_it_selection, |
| it_et_item | TYPE STANDARD TABLE OF BBP_PDS_SUSINV_ITEM_D , |
| wa_et_item | LIKE LINE OF it_et_item, |
| it_et_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER , |
| wa_et_partner | LIKE LINE OF it_et_partner, |
| it_et_hcf | TYPE STANDARD TABLE OF BBP_PDS_HCF_INV , |
| wa_et_hcf | LIKE LINE OF it_et_hcf, |
| it_et_icf | TYPE STANDARD TABLE OF BBP_PDS_ICF_INV , |
| wa_et_icf | LIKE LINE OF it_et_icf, |
| it_et_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT , |
| wa_et_longtext | LIKE LINE OF it_et_longtext, |
| it_et_freight | TYPE STANDARD TABLE OF BBP_PDS_FREIGHT , |
| wa_et_freight | LIKE LINE OF it_et_freight, |
| it_et_tax | TYPE STANDARD TABLE OF BBP_PDS_TAX , |
| wa_et_tax | LIKE LINE OF it_et_tax, |
| it_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES , |
| wa_et_messages | LIKE LINE OF it_et_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_SUSIV_COPY or its description.