Ansicht
Dokumentation
/DSD/BAPI_ROUTEACCOUNT_CINV0 - RA: Create Invoices
General Data in Customer Master SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
By means of this BAPI you can import invoices from a mobile data entry device (e.g. handheld) into the Route Accounting DB.
At least the general data (by means of structure ISGENERALHD), the invoice header (by means of table ITINVOICEHD), the invoice item (by means of table ITINVOICEITM), and the invoice condition data (by means of table ITINVOICECOND)
must also be provided as input parameters.
In the BAPI function modules of the following function groups are used:
- /DSD/HH_UL_ALE (DSD - Route Accounting Upload: generated ALE input processing)
- /DSD/HH_UL_CONVERT (DSD - Route Accounting Upload: Field conversions)
- /DSD/HH_UL_MISC (DSD - Route Accounting Upload: Other, such as Authority Check, Application Log...)
When the function module has been called, the table ETRETURN (of the type BAPIRET2) contains all log entries created by the process. Depending on the Customizing settings, an application log is created from the table or not.
The BAPI is assigned to the method CInv0 of the business object /DSD/RTACC as API function.
Example
Notes
Transaction control
The BAPI neither executes a database commit nor a rollback work. Therefore the calling application needs to initiate the commit or the rollback work to make the changes in the data base. To do so, the BAPIs BAPI_TRANSACTION_COMMIT and BAPI_TRANSACTION_ROLLLBACK are made available. Further information on the BAPIs can be found in the function group 'BAPT'.
Further information
Parameters
ETRETURNISGENERALHD
ITEXTENSIONIN
ITINVOICECOND
ITINVOICEHD
ITINVOICEITM
RETURN
Exceptions
Function Group
/SAPLHH_UL_BAPICL_GUI_FRONTEND_SERVICES - Frontend Services BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 2513 Date: 20240604 Time: 041958 sap01-206 ( 41 ms )