Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
shaik_sajid
Active Contributor
7,400

Overview

 

This Document contains the 3 HR Appraisal Function Modules, which answers the following 3 Questions with Screenshots.

       

  1. How to get Appraisal ID from an Employee Number PERNR?
  2. How to get Template ID for an Employee from his Appraisal ID?
  3. 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
  Values are not stored in this table).


 

T_BODY_CELLS


 

Appraisal Rating Values are stored in this table


 

 

T_BODY_CELL_NOTES

Contains Status Change Note ( Notes / Remarks / Comments )

2 Comments
Labels in this area