cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect Approver Name in ESS

Former Member
0 Kudos

Hi All,

I cannot see the correct approver name in ESS. It picks another manager from some other org. structure. This is not working only for first level, but for level 2 and above i can see the correct approver name. I have maintained "Determine next agent" as "Line Manager" and I checked the report "Determine Approver" it is also showing incorrect approver name. I even see correct reporting manager in OM too.

In table HRESSAPPROVER also i did not find any entries.

Could anyone give input for this case.

Regards,

Shadeesh.G

Accepted Solutions (0)

Answers (3)

Answers (3)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Pt_gen_req is the badi to default the approver apart from org unit. check in se18 if it is implemented.

Can you  check  the relationship of the position to the manager, ie he reports to?

ie in pp01.

check via ptarq>determine approver.

you can run these to refresh

SWU_OBUF, SWUS, PPWFBUF

vishal_gupta15
Contributor
0 Kudos

check position to position mapping (PO13)

hope it will help

_vishal

Former Member
0 Kudos

Hi Shadeesh,

Are you using the BAdI PT_GEN_REQ for some custom approval process?

Did you check that Employee-User relationship (Infty 105/Subty 0001) was correctly set for both Employee and Manager?

Regards

Former Member
0 Kudos

Hi,

Thanks for your reply. Yes i have maintained the correct value in communication infotype and subtype. But i am not aware of the concept of BAdi PT_GEN_REQ. Could you please explain more in this part?

Regards

Former Member
0 Kudos

Hi,

BAdI PT_GEN_REQ can be used to enhance the Leave Request process, i.e. to change the approval behavior.

Are you seeing the same Line Manager in Determine Approver report that any standard FM to read Line Manager (i.e. RH_GET_LEADER)? In that FM in particular you can use Username (US object) or Employee number (P object) of the employee.

Please note that standard relationship between Employee and Manager is done through;

1. Employee is taken from User logged (Employee-User relationship from Infty 105 Subty 0001)

2. Read position from Employee from point 1

3. Look for the next Manager (relationship 012 between O and S objects) in the same Org.Unit

4. If SAP cannot find a Manager there, then it looks for a Manager in the next higher Org.Unit (this step is repeated until a Manager is found)

5. Read which Employee is assigned to the Manager position

6. If there is an User assigned to Employee of point 5, process is OK. If not, Leave Request gives an error

R,