Ansicht
Dokumentation

BAPI_BILLDOC_CREATEMULTIPLE - BAPI for Billing document Create

BAPI_BILLDOC_CREATEMULTIPLE - BAPI for Billing document Create

General Material Data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to transfer billing documents from an external system and recreate the billing documents in the Generic Contract Accounts Receivable and Payable (FI-CAX) system. The system copies verbatim the amounts and quantities present in the billing documents belonging to the external system. The system converts all other attributes present in the billing documents to the SAP standard.

After the transfer is complete, the system saves the billing documents in the following tables:

  • DFKKINVBILL_H
  • DFKKINVBILL_I
  • DFKKINVBILL_T
  • DFKKINVBILL_A

Next, the system creates an invoicing order for all billing documents that are not simulated and then invoices the billing documents in FI-CAX.

To ensure high performance, create several billing documents with each method call.

Enhancement

You can enhance this BAPI by implementing the following BaDIs without any modification:

  • INV_BAPIBILL
  • FKKINV_BAPIBILL

Authorization check

The BAPI does not carry out any individual authorization checks.

Error check

  • The system checks all transferred data for errors. Each error is logged in the export table RETURN.
  • The BAPI does notcarry out any database changes and does notcreate any billing documents if one or more errors are found.
  • If the checks are successfully completed, the system creates billing documents and carries out database changes directly without the Update task.
  • The system executes the COMMIT-WORK command at the end of processing.
  • Errors are typically not generated during database changes. In case of a mismatch between the number range of billing documents present in the system and those recreated in the system, the system terminates processing and implicitly executes the ROLLBACK command.

Example

Notes

Further information





Parameters

ADDITEMS
BAPI_BILLDOCNUMBER
CFCVALIDATION
EXTENSIONIN
EXTENSIONOUT
HEADERS
ITEMS
RETURN
TAXITEMS
TESTRUN

Exceptions

Function Group

INV_BILLBAPI

PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3520 Date: 20240523 Time: 100100     sap01-206 ( 51 ms )