Skip to Content
Former Member
Jan 29, 2009 at 03:35 PM

SC Shop on behalf is bypassing the workflow BADI BBP_WFL_APPROV_BADI


Good Morning Everyone,

We all know when Shopping cart(SC) is created on shop on behalf of other user(requester) , the shopping cart should determine the approval hierarchy of shop on behalf user(not the shopping cart created by user).

I have requirement to allow the requesters to shop for Managers.For example if manager has approval limit of 5000 USD and if the requester creates SC on behalf of Manager with amount less than 5000 USD then shopping cart automatically gets approved(In other words : requester has the spendling limit of 1 USD and when he shops on behalf of manager, unfortunately he gets manager's authority of 5000 usd ).

To eliminate this gap we decided to insert the shop for manager as FIRST APPROVER in the approval hierarchy so that whenever the requester creates the shopping cart for Managers , SC should insert shop on behalf manager as First approver in the approval hierarchy.

The Issue is when requester creates the SC on behalf of Manager , the debugging breakpoint control does not stop in workflow BADI BADI BBP_WFL_APPROV_BADI . I verified all required settings . I

can see breakpoint stopping for all other scenarios.(like when approval preview link is clicked or check button is clicked, etc) but not when requester shops for managers.

Can you please provide some input on above need. Appreciate your kind help at right time.

Thank you