Professional Documents
Culture Documents
ABH70-Evaluation Path
ABH70-Evaluation Path
91332,751
The objective of this document to give practical scenarios on how Evaluation Paths can
be created and used in our applications. It also helps in understanding how the
Evaluation Path fetches data from the backend so that we can use Evaluation paths
effectively in our applications.
Evaluation path is an instruction to the system to fetch the data recursively, according to the
relationship between the objects.
We will create an Evaluation Path below which will be used to find Org. Unit of a person based
on USER ID which is given as an input.(US -> P -> S -> O)
STEP 6: There is a Field Skip which has a Checkbox which should not be ticked if you want the
Output of that Relationship to be Included in the Final Result.
e.g: in the above scenario Output from all the Relationships will be Included in the Final
Result.
However, in the Scenario below, only the Output from Relationship “Belongs to” will be
included in the Final Result.
STEP 3: Click on the Position Button at the Bottom of the Screen and enter the name of
Evaluation Path which you want to Display. Then Press OK.
STEP 4: Select the Evaluation Path you want to Display and Click on the Evaluation Path
Position 40004241
RESULT_OBJEC
RESULT_STRUC
(LEVEL 1) (LEVEL 2)
P -> 20001848 10: US A208 P NA ————– A. P -> 20001848
B. US -> RAIN
(LEVEL 2) 20: P B008 S S -> 40004241
(LEVEL 3)
S -> 40004241 10: US A208 P NA ————– A. S -> 40004241
B. P -> 20001848
(LEVEL 3) 20: P B008 S NA C. US -> RAIN
(LEVEL 4)
O -> 30001028 10: US A208 P NA O -> 30001028 A. S -> 40004241
B. P -> 20001848
(LEVEL 4) 20: P B008 S NA C. US -> RAIN
(LEVEL 2)
US -> RAIN 20: P B008 S NA O -> 30001028 ———————–
*Levels mentioned above are the values which we will get in the column “Level” in the result table
“RESULT_STRUC”
Example 2:When none of the Relationships/Lines have “SKIP” column checked:
RESULT_TAB:
RESULT_OBJEC:
RESULT_STRUC
Steps to dry run Evaluation path yourself:
(LEVEL 3)
S -> 40004241 10: US A208 P NA O -> 30001028 A. S ->
40004241
(LEVEL 3) 20: P B008 S NA S -> 40004241 B. P ->
20001848
30: S A003 O O -> 30001028 P -> 20001848 C. US -> RAIN
(LEVEL 4)
O -> 30001028 10: US A208 P NA A. O -> 30001028 A. S ->
B. S 40004241 40004241
(LEVEL 4) 20: P B008 S NA C. P -> 20001848 B. P ->
20001848
30: S A003 O NA C. US -> RAIN
S -> 40004241 Nothing Left NA O -> 30001028 A. P ->
20001848
(LEVEL 3) S -> 40004241 B. US -> RAIN
C. P ->
P -> 20001848 20001848
P -> 20001848 30: S A003 O NA O -> 30001028 A. US -> RAIN
P -> 20001848
US -> RAIN 20: P B008 S NA O -> 30001028 ———————–
P -> 20001848
NOTE:- We can give any Object as Input which is specified in Obj. Type in the Evaluation Path.
In that scenario the Relationships which are Relevant to that Object will be Executed first.
This Evaluation path will return only Org. Units and Position as the above Org. Structure doesnot
contains object “S” and “BP”.
We can also alter Display Depth (Default is Zero) and execute the Evaluation Path recursively
upto the desired level.
A. When we specify the Display Depth as ‘1’ then we get the below output:
B. When we specify the Display Depth as ‘2’ then we get the below output:
C. When we specify the Display Depth as ‘3’ then we get the below output:
Note: Evaluation paths can be tested and analyzed using the report RHSTRU00.
Note: For evaluating Evaluation Path there are few Function Modules in the Function Group:
“RH_STRUCTURE_GET”.
a) HR_STRUCTURE_GET
b) RH_STRUC_GET
d) RH_STRUC_SEARCH
Evaluation path in SAP ABAP HR refers to the sequence of approvers and their respective approval
levels in a workflow process. It is used in the context of the Personnel Administration (PA) module of
SAP HR.
An evaluation path is a predefined workflow that defines the approval process for specific HR
transactions, such as hiring, promotion, or termination. The evaluation path is configured in SAP HR
to ensure that the correct sequence of approvers is followed for each transaction.
The evaluation path is created using the transaction code PDEVAC (for development purposes) or
PE03 (for maintenance purposes). The following steps are typically involved in creating an evaluation
path:
Define the evaluation path ID: A unique identifier for the evaluation path.
Define the start point: The starting point of the evaluation path, which is typically the employee or
position for which the transaction is being processed.
Define the approval levels: The approval levels in the evaluation path, which can be based on criteria
such as job level, cost center, or department.
Define the approvers: The individuals or groups who are responsible for approving the transaction at
each level.
Define the sequence: The sequence in which the approvers are to be notified, and the time frame for
each level of approval.
Once the evaluation path is configured, it can be used to initiate workflow processes for specific HR
transactions. When an HR transaction is initiated, the evaluation path is automatically triggered, and
the appropriate approvers are notified according to the predefined sequence.
Overall, evaluation paths are an essential tool for managing HR workflows in SAP ABAP HR, helping
to ensure that transactions are processed efficiently and accurately while maintaining appropriate
levels of control and compliance.
To use the HR_EVALUATION_PATH_TRIGGER function module, you must provide the following input
parameters:
START_OBJECT_TYPE: The type of object that you are using to initiate the evaluation path. This could
be an employee or a position.
START_OBJECT_KEY: The key for the object that you are using to initiate the evaluation path. This
could be the personnel number for an employee or the position number for a position.
EVALUATION_START_DATE: The date on which you want to start the evaluation process.
TRIGGERING_EVENT: The type of event that triggers the evaluation path. This could be a hiring
event, a promotion event, or a termination event.
Once the HR_EVALUATION_PATH_TRIGGER function module is executed with the required input
parameters, the evaluation path is triggered, and the approval process for the HR transaction begins.
It is worth noting that the HR_EVALUATION_PATH_TRIGGER function module is just one of several
function modules available in SAP ABAP HR for managing evaluation paths and workflows. Other
function modules used in this context include HR_APPROVAL_OPERATION and
HR_CHECK_APPROVAL_STATUS, among others.
Job describes the manager.