/DSD/BAPI_ROUTEACCOUNT_CINV0 - RA: Create Invoices
ABAP Short Reference BAL Application Log DocumentationThis 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 tableITINVOICEHD), 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 logentries 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 needsto initiate the commit or the rollback work to make the changes in the data base. To do so, the BAPIsBAPI_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_BAPIROGBILLS - Synchronize billing plans ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 2581 Date: 20120524 Time: 044745 triton ( 94 ms )






