Fonction SAP /DSD/BAPI_ROUTEACCOUNT_CTTIME2 - RA: Create Tour Time Sheet

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ISGENERALHD /DSD/BAPIRAGENERALHD u 38 Route Settlement: Header Data

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter(s)

Paramètre Reférence Long. Facultatif Description
ETRETURN BAPIRET2 548 X Return Parameter(s)
ITEXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
ITTOURTIME /DSD/BAPIRATOURTIME2 43 Route Settlement: Tour Time

Functionality
You can use this method to import data on tour times from a mobiledata-entry device (such as a hand-held device) to the Route Accountingdatabase.
General data (via structure ISGENERALHD) and tour times (via tableITTOURTIME) must be transferred as input parameters, at minimum.
Function modules of the following function groups are used in the BAPI:
- /DSD/HH_UL_ALE (DSD - Route Accounting Upload: Generated ALE InboundProcessing)
- /DSD/HH_UL_CONVERT (DSD - Route Accounting Upload: Field Conversions)
- /DSD/HH_UL_MISC (DSD - Route Accounting Upload: Miscellaneous, such asAuthority Check, Application Log...)
After the function module is called, the ETRETURN table (of typeBAPIRET2) receives all the log entries generated by the process. TheCustomizing setting determines whether or not the system generates anapplication log from the table.
The BAPI is assigned as an API function to the CTTime0 method of the/DSD/RTACC Business Object.

Notes
Transaction Control
The BAPI does not execute a database commit or a ROLLBACK WORK. As aresult, the calling application must carry out the database commit orROLLBACK WORK so that changes can be made in the database. TheBAPI_TRANSACTION_COMMIT and BAPI_TRANSACTION_ROLLBACK are available forthis. For more information about the BAPIs, see the function group'BAPT'.

Description
Return parameter

Description
Route settlement: Header data

Description
Return parameter

Description
Reference Structure for BAPI parameters ExtensionIn / ExtensionOut

Description
Route settlement: Route time