Ansicht
Dokumentation
BAPI_ABSENCE_REQUEST - Create locked absence
CPI1466 during Backup General Material DataThis documentation is copyright by SAP AG.
Caution! This API method only writes the Absences infotype (2001). It should no longer be used as it can lead to inconsistent time data.
Instead, please use the corresponding API method for business object BUS7007.
Functionality
This method can be used to create an Absences infotype record (2001).
Used together with the APPROVE method, it allows you to implement the "double verification principle" whereby at least two users are involved in writing an active data record to the database. One of the users creates a locked infotype record using the APPROVE method. Another user unlocks the record, that is activates it using the APPROVE method.
Notes
Messages are returned in the RETURN parameter. The parameter documentation contains the return codes and their meanings.
The key fields used by the method are described under the parameters.
This method can only be used if the ENQUEUE method for the business object EMPLOYEE has already been called. For information on the ENQUEUE method, please see the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.
For more information on the APPROVE method, please see the documentation on the function module BAPI_ABSENCE_APPROVE.
Parameters
ABSENCEHOURSABSENCETYPE
EMPLOYEENUMBER
EMPLOYEENUMBER
END
LOCKINDICATOR
NOCOMMIT
OBJECTID
RECORDNUMBER
RETURN
START
SUBTYPE
VALIDITYBEGIN
VALIDITYBEGIN
VALIDITYEND
VALIDITYEND
Exceptions
Function Group
ABSEFill RESBD Structure from EBP Component Structure TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2756 Date: 20240523 Time: 110119 sap01-206 ( 50 ms )