cancel
Showing results for 
Search instead for 
Did you mean: 

In Purchase requisition (ME51N), how to change approver on workflow while saving it

manoj_goyal2
Participant
0 Kudos

Hi Guys,

I know there is user exit  EXIT_SAPLEBNF_001 where we can change the approver for the workflow, but  this user exit triggers only if the user goes to ‘RELEASE STRATEGY’ (RS) tab. What if the user does not go to this tab and straight press SAVE button. I tested, in this case the approver is not changed.

My requirement is to change the approver to the manager of the user, creating the PR.

Most of the time user does not go to RELEASE STRATEGY (RS) tab and they simply press SAVE to create the PR.

Any suggestion, how I can change the approver without going to RS tab.

Thanks a lot.

View Entire Topic
ronen_weisz
Active Contributor
0 Kudos

Create your own workflow template (copy the standard one) and call your own rule (I think 138 will work or create a rule calling RH_GET_LEADER function module) for the approver.