cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDG CR Trigger on Fileds Value

former_member193063
Active Participant
0 Kudos

Hi Experts,

How can we skip a Step in Rule Based workflow configuration based on value for my case (IncoTerm)?

General Scenario is that there are two Approvers in a workflow.

Process trigger to CR flow like :(REQ > Approver-1> Master Data Steward.)

Now in a special case-1, At the processing step if we are not getting value (Inco Term) it should go directly Master Data Steward .

case-2 If the processing step if we are getting value (IncoTerm) it must be go Approver-1 after that it will go Master Data Steward .


Two possible workflow executions could be -

Case-1 ->  REQ -> Master Data Steward.

Case-2 -> REQ->APPROVER-1 ->Master Data Steward.

Can you please share your knowledge how to achieve?

Thanks & Regards

NIkhilesh Agarwal

Accepted Solutions (0)

Answers (1)

Answers (1)

dilipan
Participant
0 Kudos

Hello Nikhilesh,

You can use USMD_SSW_DYNAMIC_AGENT_SELECT badi to achieve the functionality.

Step 1: Create a service name (e.g.: DYNAMIC_STEP)

Step 2: Create a implementation for USMD_SSW_DYNAMIC_AGENT_SELECT badi and redefine the method GET_DYNAMIC_AGENT.

Step 3: In this method, using the CR number, get the value of IncoTerm and apply ur logic to fill the changing parameters CV_NEW_STEP and CT_USER_AGENT_GROUP.

Step 4: Call the badi implementation in the rule based workflow.

CR Previous StepPrevious ActionCondition AliasNew Chng. Req. StepDynamic Agent Sel Service
00 TEM90DYNAMIC STEP
9005APP91
9006RES92
9103ACT93
9104RES92

TEM - Temporary Condition alias

Regards,

Dilipan