Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>EmployeeAttAbs



Index

EmployeeAttAbs

EmployeeAttAbs


Employee attendance or absence


11-Dec-2005


Methods

Available Methods


  • GetDetail : Original derived attendance/absence data [ BAPI_EMPATTABS_GETDETAIL ]
  • GetList : List of existing attendances/absences according to selection criteria [ BAPI_EMPATTABS_GETLIST ]

11-Dec-2005


GetDetail

GetDetail


This method enabley you to query detail information on an attendance or absence record.

Notes

The attendance or absence record is specified by its key (BAPIHRTIMESKEY). You get the key using the BAPI_EMPATTABS_GETLISTmethod.

Each attendance/absence record is returned in the HRABSATT_OUT structure.


Additional data is returned in the following structures:

  • Information on different payment in the HRALTPAYMENT structure
  • Information on cost assignment in the HRCOSTASSIGN structure

  • Information on activity allocation in the HRACTIVITYALLOC structure.
  • A check of read authorization takes place for each requested infotype record.


    11-Dec-2005


    GetList

    GetList


    This method produces a list with the keys for selecting attendance/absence records. You can restrict the quantity in the list by enteringcertain selection criteria. Only the keys of the infotype are returned for which you have the applicable read authorization.


    Notes

    In the list of results only the existing database records are taken into account.

    To avoid memory overflow from not entering enough restriction criteria,the amount of hits is limited per time entry type (attendance or absence) to a maximum of 50,000 database records.


    If the actual number of hits exceeds this number, a warning is returned in the table RETURN.


    11-Dec-2005