Can anyone pls explain to me how does table HRESSAPPROVER gets updated? I'm getting instances where the leave approver is not as what is mantained in OM. It is getting the previous leave approver. Once i cleared HRESSAPPROVER table, then only its getting the correct approver.
I just would like to know how this table is updated in the first place and why it was not changed when the OM data has changed.
In the table V_PTARQ_TPROCESS, instead of using value as "Last Agent, The Line Manager, for the field "Determine Next Agent", you can maintain the value as "Line Manager".
This will the pick the manager based on the org Structure.
HRESSAPPROVER table holds the last approver.