Ansicht
Dokumentation

TS_ITEMS_MAINTAIN - Maintains Cats Data

TS_ITEMS_MAINTAIN - Maintains Cats Data

General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Use

This function module is used to enter, change, and delete all working times for a personnel number in the back-end system.

Features

  • You can also use this function module to have data records updated that were not created in your application. Users in your application can change data records that were created for them in the back-end system by a time administrator or supervisor or that were imported from a third-party system to the SAP system, for example.
To identify such records, you can have data that was recorded in your application flagged by a separate external document number (see below).
  • To identify working times that are to be deleted, you can use the internal or external document number in your application. You can use the TS_ITEMS_GET_LIST function module to get the internal document number in your application.
  • The system checks the data that is transferred to the back-end system using all the checks that are run when working times are entered in the back-end system.
  • The system processes the working times transferred to the function module together as one dataset. If an error occurs in one or more of the records, the entire set of records is usually rejected.
  • The service returns a message table. If you still require the processed data records in your application, you have to execute the TS_ITEMS_GET_LIST function module subsequently. This may be necessary if you add supplementary information to the recorded working times in the time sheet, for example.
Note: Since errors can also occur in supplemented data, it must be determined whether or not a return table containing the changed importing records is returned.
  • The function module uses BAPI structures as interfaces. For more information about the BAPIs, see the documentation in the BAPI transaction.

Constraints

  • The function module does not assign an external document number. You can, however, set up the assignment of an external document number for your application. The function module then returns it to the back-end system.
If you do not specify an external document number for your application, the functional module returns only a counter (internal key).

Further Information

For more information, see the documentation of the CATS_ESA_SERVICES function group.





Parameters

EV_SUCCESS_CONFIRMATION
IV_DO_COMMIT
IV_EMPLOYEE_NUMBER
T_EXTENSIONS_IN
T_EXTENSIONS_OUT
T_LONGTEXTS_IN
T_LONGTEXTS_OUT
T_MESSAGES_OUT
T_TIMERECORDS_IN
T_TIMERECORDS_OUT

Exceptions

Function Group

CATS_ESA_SERVICES

CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3133 Date: 20240523 Time: 072057     sap01-206 ( 30 ms )