You are on page 1of 10

Adding a Column Owner to an Appraisal Template in

Performance Management Module (ECM) of SAP ABAP HR


By Srikanth Reddy Konde, IBM
Scenario:
This document gives technical information to add a Column Owner to an Appraisal Template in
Performance Management Module (Compensation Management) of SAP ABAP HR. This
scenario has been configured in SAP ECC6.0
Business Requirement:
In Performance Management module (ECM), SAP HR, based on clients requirement, Appraisal
Templates will be designed by the Functional people and additional requirements fulfillment is
done by the developers using ABAP code.
The transaction code for creating and maintaining the Appraisal Templates is PHAP_CATALOG.
To give additional requirements for the Appraisal Templates, in SAP there are Business AddIns(BAdI) are available for obtaining the solutions.
Information on Appraisal Templates and the requirement:

An Appraisal Template consists of the below parts in it and categorized in a structure as


mentioned below.
VA Appraisal template
VB Criteria Group
VC Criterion
At VA Appraisal template level, will contain a tab called Column Access. In this tab, there is a
column named as Column Owner. Below screenshot is an example for it through transaction code
PHAP_CATALOG.

Generally the standard SAP templates are provided with few Column Owner values like
Appraiser (Ex: Manager), Appraisee (Ex: Employee)...Etc. The column owners will be given
access (Change/Display/Hide) to the columns of the Appraisal documents. Whenever the user
access the created Appraisal document of the Appraisal template, based on this, user can have
Change/Display operations on document for the columns where in he will act as a Column
Owner.
Below screenshot is to view the some of SAP provided Column owner values.

In most of the times, client requirement is to add an additional column owner value in the list as
per their requirement. To achieve this type of requirement, the technical information and also the
configurations information are provided in the below section.
Technical and Configuration information to add a Column Owner to an Appraisal
Template:
For adding a Column Owner into an Appraisal Template, SAP Provides a Business AddIns(BAdI) name HRHAP00_COL_OWNER.
Appraisal Document - Column Owner (HRHAP00_COL_OWNER)

This Business Add-In (BAdI) enables you to create further implementations, in addition to the
standard SAP Implementations, with which you can provide further column owners.
You can select the implementations in the appraisal catalog on the Column Access tab page.
Methods

Customizing: Check Owner Setting (Infotype 5023) (CUST_CHECK_SETTING)


This method checks, according to the settings in infotype 5023, whether the person is allowed as
the column owner. Objective Settings and Appraisals
Parameters

FLT_VAL (Import Parameter)


Parameter FLT_VAL of method
CUST_CHECK_SETTING
T_APPER (Import Parameter) Appraiser Object Types
T_APPEE (Import Parameter) Appraisee Object Types
T_PART_APPER (Import Parameter) Part Appraiser Types
T_OTHER (Import Parameter) Object Types for Further Participants
SUBRC (Export Parameter) 0= Allowed; 4= Not Allowed
Exceptions
None.
Check Column Owner (CHECK_COLUMN_OWNER)
Using the object ID of the user, this method determines whether or not this user is the column
owner.
If the system determines that the current user is the column owner, an 'X' is entered for the
indicator COLUMN_OWNER.
In this case, the user has all authorizations for the current column as entered in the Column
Owner field in infotype 5023.
Result
The method returns information as to whether or not the appraiser is the column owner.
Parameters
FLT_VAL (Import Parameter) Parameter FLT_VAL of method GET_COLUMN_OWNER
S_APPRAISAL_ID (Import Parameter) Appraisal ID
COLUMN_ID (Import Parameter) Appraisal Column ID
COLUMN_PART_AP_ID (Import Parameter) Part Appraisal ID
T_HEADER_APPRAISER (Import Parameter) Header - Appraiser

T_HEADER_APPRAISEE (Import Parameter) Header - Appraisee


T_HEADER_PART_APPRAISERS (Import Parameter) Header - Part Appraiser
T_HEADER_OTHERS (Import Parameter) Header - Further Participants
T_MYSELF (Import Parameter) My Objects
COLUMN_OWNER (Export Parameter) 'X'=Column Owner; ' '=Not Column Owner.
Exceptions
None.
Captured screen through the transaction code SE18.

Implementing a custom Business Add-In(BAdI) for adding a Column Owner using


HRHAP00_COL_OWNER

Go to Transaction code SE19, for creating the custom Business Add-In(BAdI), in Create
Implementation tab, give BAdI Name as HRHAP00_COL_OWNER and click on Create Impl.
Button.

Adding a Column Owner to an Appraisal Template in


Performance Management Module (ECM) of SAP ABAP HR
...Previous
Give the custom Business Add-In(BAdI) name (ZHRHAP00_COL_OWNER) with the filter
value, where in the filter description is added as an Column Owner in the template.

The Interface tab consists of the methods to implement for getting the Column Owner

As mentioned above the two methods have got their significance to provide the requirement and
the signature (Import and Export Parameters) of the methods are as below.

Please find below the code written for getting the column owner as Manager and High Level
Manager.
This development is done in the method CHECK_COLUMN_OWNER to check when any users access
the Appraisal document column; it will check whether the user is the Column Owner i.e. Manager and
High Level Manager.
For the program code, click here.

Once the method implementation is completed then the custom Business Add-In
(ZHRHAP00_COL_OWNER) need to be activated.
Once the above action is completed this particular enhancement will get applied for all the
Appraisal Templates. And there will be an additional Column owner will be available in the list
with the value Manager and High Level Manager.

This is the way the Column Owner will be added to the Appraisal Templates and same will be
reflected when the Appraisal documents gets created and maintained. Now, based on the Column
owner for a particular column the operations (Change/Display/Hide) will be provided on the
document when the user accesses the document as a column owner (Ex. Manager and High
Level Manager).
Related Content
The related transaction codes which are used for Appraisal Templates and Appraisal Documents
of Performance Management (ECM) of SAP ABAP HR are as below
PHAP_CATALOG To view and maintain the Appraisal Templates
PHAP_PREPARE To prepare the Appraisal Documents using an Appraisal Template
PHAP_ADMIN
OOHAP_BASIC

To maintain and view the Appraisal Documents


To maintain and configure the Enhancements for different criteria basis

You might also like