cancel
Showing results for 
Search instead for 
Did you mean: 

DYNAMICNEXTAPPROVERGET problem

Former Member
0 Kudos

Hi,

There is this task to determine next approver in the standard SRM workflows.

But when I run the task while the work item is in approval in somebody's inbox the task gives me the current approver in the approval chain and not the next approver...has anybody faced this problem and used this task previously?

Regards,

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Vijay,

Hi. I have used this before. My understanding is that it is called before the WI is added to the approver's inbox.

There is a buffer in the workflow containtainer that get's updated on approval (I think approval level). If your WI is still with the previous approver the WF container will have the current approval level populated and you won't be able to test with a direct call to DYNAMICNEXTAPPROVERGET, unless you modify the WF container buffer either in debug or in SWIA.

I have found so many other ways of testing the get next approval process. The one I use most is a break-point in our badi BBP_WFL_APPROV_BADI. If you haven't implemented the BADI try FM BBP_WFL_DIN_APPR_CONTAINER_GET. I know this works for n step approval, but can't vouch for other WF's.

Cheers

Rob