Google Search - Blog...........

Time Quota For An Employee In HR ABAP

DATA : cumulatedvalues TYPE TABLE OF bapihrquotacv WITH HEADER LINE.

CALL FUNCTION 'BAPI_TIMEQUOTA_GETDETAILEDLIST'
EXPORTING
employeenumber = pernr-pernr
quotaselectionmod = '1'
wayofcalculation = 'D'
validitybegin = '18000101'
validityend = '99991231'
TABLES
cumulatedvalues = cumulatedvalues.

IF NOT cumulatedvalues[] IS INITIAL.

READ TABLE cumulatedvalues INDEX 1.
IF sy-subrc = 0.
* it_final-lent = cumulatedvalues-entitle.
* it_final-bal = cumulatedvalues-rest.
ENDIF.
ENDIF.


ENDFORM. " GET_TIME_QUOTA


ALSO READ:

- Employee Deduction Report In HR ABAP.

- Comparison Report For The Employee Salaries In HR ABAP.

- Cash Payment Report In HR ABAP.

- Bank Report For Employees In HR ABAP.

- BDC For Uploading Absence Data Into PA30 Transaction.

.....Back To Sub-Index On HR ABAP.

.....Back To MAIN INDEX.


No comments:

Post a Comment