Ansicht
Dokumentation
/DSD/BAPI_ROUTEACCOUNT_CTDIST0 - RA: Create Tour Distance Sheet
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up CPI1466 during BackupThis documentation is copyright by SAP AG.
Functionality
By means of this BAPI you can import distance data from a mobile data entry device (e.g. handheld) into the Route Accounting DB.
At least the general data (by means of the structure ISGENERALHD) and the tour distnace data (by means of the table ITTOURDIST) 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 CTDist0 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
ITTOURDIST
RETURN
Exceptions
Function Group
/SAPLHH_UL_BAPIRFUMSV00 - Advance Return for Tax on Sales/Purchases ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 2188 Date: 20240419 Time: 220102 sap01-206 ( 38 ms )