Ansicht
Dokumentation

WFMTM_TIMEQUOTA_GET - Get Time Quota

WFMTM_TIMEQUOTA_GET - Get Time Quota

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function is used to get time quota data from any system, such as SAP HCM and 3rd party system. The pre-requesite for using this function is to implement the BADI 'WFMTM_TIMEQUOTA'.

The only required input parameter is either employee number, which is personal number in HR system, or business partner number, which is the employee number in WFD. If both numbers are provided, employee number will overwrite business partner number.

Example

If SAP HCM system is hook up to WFD server and RFC destination has been created as 'HCMCLNT000', you can implement the method TIMEQUOTAGET of BADI 'WFMTM_TIMEQUOTA' as below.

DATA: lt_abs TYPE TABLE OF bapihrquota,

lt_return TYPE TABLE OF bapireturn1.

CALL FUNCTION 'BAPI_TIMEQUOTA_GETDETAILEDLIST'

DESTINATION 'HCMCLNT000'

EXPORTING

employeenumber = employeenumber

TABLES

absencequotareturntable = lt_abs

return = lt_return.

absencequotareturntable[] = lt_abs[].

return[] = lt_return[].

Notes

Further information





Parameters

DEDUCTBEGIN
DEDUCTEND
EMPLOYEENUMBER
ET_ABSENCEQUOTARETURNTABLE
ET_ABSENCEQUOTATRANSFERPOOL
ET_CUMULATEDVALUES
ET_PRESENCEQUOTARETURNTABLE
ET_RETURN
IT_ABSENCEQUOTATYPESELECTION
IT_PRESENCEQUOTATYPESELECTION
KEYDATEFORDEDUCTION
KEYDATEFORENTITLE
PARTNERNUMBER
QUOTASELECTIONMOD
VALIDITYBEGIN
VALIDITYEND
WAYOFCALCULATION

Exceptions

Function Group

WFMTM_ESS

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

Length: 1928 Date: 20240523 Time: 131443     sap01-206 ( 35 ms )