Skip to Content
0
Former Member
Sep 14, 2009 at 12:10 PM

Assigning approver in Portal in Leave workflow

104 Views

Hi Experts,

I have a requirement in leave workflow that I have to default approver name based on no of days that the employee is applying for. If the total no of leave days is <30 then approver will be Immediate superior and if the no of days of leave is > 30 and <45 days then the approver will be Managers manager and if the no of days of leave is >45 days then I have to use a relation A005 to find the manager name.

Can anybody suggest me how can I display the approver based on no of days?

I didnt find any method in PT_GEN_REQ badi which gives me all the details and end user should not select the approver name.

Please suggest me how to overcome this issue. I am greatful to u if u provide me path for issue resolution

Thank You.

Srija.