Ansicht
Dokumentation

BAPI_PTMGRATTABS_MNGCHANGE - Change Attendances/Absences

BAPI_PTMGRATTABS_MNGCHANGE - Change Attendances/Absences

Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Thi method changes data records in the Absences (2001) and Attendances (2002) infotypes.

Example

Notes

The record to be changed is specified in the Object key for record to be changed.

The new attendance/absence data is entered in the structure HRABSATT_IN. New account assignment or different payment information is transferred by the structures HRCOSTASSIGN, HRACTIVITYALLOC and HRALTPAYMENT.

If the SIMULATE parameter is marked, then only a consistency check of the changed data and a collision check with the existing database records takes place. No check is performed for any of the new attendance/absence records and those records that are not yet saved.

For more information on function modules, see the documentation on the function module in BAPI_PTMGRATTABS_MNGCREATE.

Further information

You will find the valid record key for calling the BAPI_MGRATTABS_MNGCHANGE in the function module BAPI_EMPATTABS_GETLIST.

Prior to calling the function module Update mode (SIMULATE = " "), you have to lock the personnel number for the employee whose time record you want to change.

The function module BAPI_TRANSACTION_COMMIT must be called to write the changed time record to the database.

If any critical errors occur during processing, the database changes in the Logical Unit of Work are also changed in the embedded function module. The BAPI_TRANSACTION_ROLLBACK is then called.





Parameters

ABSENCE_FLAG
ABS_ATT_TYPE
EMPLOYEENUMBER
EXTAPPLICATION
EXTDOCUMENTNO
HRABSATTEXT
HRABSATT_IN
HRABSATT_OUT
HRACTIVITYALLOC
HRALTPAYMENT
HRCOSTASSIGN
HRTIMESKEY
HRTIMESKEY
LOCKINDICATOR
LOCKINDICATOR
RETURN
SIMULATE
WORKTAXAREA
WORKTAXAREA

Exceptions

Function Group

HRTIM00BAPIABSATT

ROGBILLS - Synchronize billing plans   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4024 Date: 20240523 Time: 152548     sap01-206 ( 69 ms )