SAP Function /DSD/BAPI_ROUTEACCOUNT_CTTIME0 - RA: Create Tour Time Sheet

Parameter Reference Type Length Default Optional Text
ISGENERALHD /DSD/BAPIRAGENERALHD u 38 Route Settlement: Header Data

Parameter Reference Type Length Text
RETURN BAPIRET2 u 548 Return Parameters

Parameter Reference Length Optional Text
ETRETURN BAPIRET2 548 X Return Parameters
ITEXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
ITTOURTIME /DSD/BAPIRATOURTIME 42 Route Settlement: Tour Time

Functionality
By means of this BAPI you can import tour times from a mobile dataentry device (e.g. handheld) into the Route Accounting DB.
At least the general data (by means of the structure ISGENERALHD) andthe tour times (by means of the table ITTOURTIME) must also beprovided 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 inputprocessing)
- /DSD/HH_UL_CONVERT (DSD - Route Accounting Upload: Field conversions)
- /DSD/HH_UL_MISC (DSD - Route Accounting Upload: Other, such asAuthority Check, Application Log...)
When the function module has been called, the table ETRETURN (of thetype BAPIRET2) contains all log entries created by the process.Depending on the Customizing settings, an application log is createdfrom the table or not.
The BAPI is assigned to the method CTTime0 of the business object/DSD/RTACC as API function.

Notes
Transaction control
The BAPI neither executes a database commit nor a rollback work.Therefore the calling application needs to initiate the commit or therollback work to make the changes in the data base. To do so, the BAPIsBAPI_TRANSACTION_COMMIT and BAPI_TRANSACTION_ROLLLBACK are madeavailable. Further information on the BAPIs can be found in thefunction group 'BAPT'.

Further information

Description
Return parameter

Description
Route accounting: Header data

Description
Return parameter

Description
References structure for BAPI parameter ExtensionIn/ExtensionOut

Description
Route accounting: Tour time