Information about the employee can be readily available via function modules, here's a listing of some of the more commonly used function modules for retrieving employee information:
RP_GET_HIRE_DATE
- returns the date the employee was hiredRP_GET_FIRE_DATE, HR_LEAVING_DATE, HR_ENTRY_DATE
andRP_HIRE_FIRE
- more of the same, hiring and firingHR_JUBILEE
andHR_SENIORITY
- jubilee dates for the employeeRP_GET_PERNR_FROM_USERID
- assuming the SAP user is actually working for the company - find his/her employee number