Code: Alles auswählen.
CALL FUNCTION 'HR_AUPBS_AGE' "Calculation of an employee's age in years
EXPORTING
pernr = " p0001-pernr Personnel number
bsdte = " sy-datum Calculation date
* reaction = SPACE " sy-msgty Output type
IMPORTING
value = " t71gs-loval Age in years
EXCEPTIONS
RECORD_NOT_FOUND = 1 " When no infotype record in IT0002 and IT0041
. " HR_AUPBS_AGE