HR Appraisal Function Modules with Screenshots
Overview
This Document contains the 3 HR Appraisal Function Modules, which answers the following 3 Questions with Screenshots.
- How to get Appraisal ID from an Employee Number PERNR?
- How to get Template ID for an Employee from his Appraisal ID?
- How to get Employee Appraisal Details?
Note: Click on the Screen shots to enlarge them (Zoom).
1. How to get Appraisal ID from an Employee Number PERNR?
The function Module HRHAP_DOCUMENT_GET_LIST is used to get the Appraisal ID.
2. How to get Template ID for an Employee from his Appraisal ID?
The following Figure shows the Template created in PHAP_CATALOG. Internally this template has a Template ID.
The following Function Module shows how to get Template ID.
3. How to get Employee Appraisal Details?
Following figure shows Employee Appraisal Details in transaction PHAP_CHANGE or PHAP_ADMIN.
The Function Module HRHAP_DOCUMENT_GET_DETAIL can be used to get the Employee Appraisal Details.
Following are the screen shots taken during Debugging to understand what all details we get from this Function Module.
Note : After this function Module (with the help of the details received from this Function Module) , additional code should be written to calculate the Final Ratings based on the HR Policies of the Company.
Parameters / Tables
|
Description
|
APPRAISAL_ID_REC
|
is the Appraisal ID
|
S_HEADER_STATUS
|
contains the Appraisal Status
|
T_HEADER_APPRAISER
|
contains the Appraiser Details
|
T_BODY_COLUMNS
|
contains Column Names
|
T_BODY_ELEMENTS
|
Contains the Elements i.e., Objectives (But the Appraisal Rating
|
T_BODY_CELLS
|
Appraisal Rating Values are stored in this table
|
T_BODY_CELL_NOTES |
Contains Status Change Note ( Notes / Remarks / Comments ) |
Hi Sajid,
Thanks for sharing. 🙂
Apart from above FMs, I had also used FM 'HRHAP_DOCUMENT_FOLLOW_UP' for followup.
Perhaps Function group 'HRHAP_IF_DOCUMENT' contains lot of useful FM related to appraisal templates.
hi,
nice article