Skip to Content
0
Sep 27, 2017 at 06:08 AM

SAP MDG-M Dynamic agent determination with different new steps.

2146 Views Last edit Sep 27, 2017 at 06:10 AM 2 rev

Hi Experts,

SAP MDG 8.0, Rulebased Parallel workflow with the help of Dynamic agent determination BADI.

Issue:

Dynamically create forks in parallel based on number of plants maintained on UI and determine agents dynamically. Now the requirement is next step to that fork can not be same.

If current step = 01 and action is Approve then it should create forks based on number of plants maintained. Say there are 3 plants are added then 3 forks will be created however new step to each fork can be different depending on the value of procurement type for each plant.

Example:

Current step 01 - Action = 03 (Approver)

Dummy step 65 (Used for dynamic agent determination)

In dynamic agent, based on the plant and procurement type we are adding more then 1 agents in CT_USER_AGENT_GROUP table. However we are able to create a fork and merge them in parallel badi but we are unable to give different step and status to individual fork.

Request to reply on priority with guidance on this.