Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding a step dynamically to the workflow

Hi Experts,

We are setting MDG-M up. For change material we have a process with four level of approvals, if the second approver update the product hierarchy an extra approval step should be added.

We have implemented the Badi USMD_SSW_RULE_CONTEXT_PREPARE to pass x to the BRF+ table if the product hierarchy is updated.

How can we add this extra step to the rule based workflow if x is passed by the Badi? And how should we assign the agent?

The process if the product hierarchy is not updated

00 Submit -> 93 validate -> 90 Approve -> 91 Activation

The process if the product hierarchy is updated

00 Submit -> 93 validate -> 05 Approve -> 90 Approve -> 91 Activation

Thank you!

Tags:
Former Member
Former Member replied

I assume you are aware of this document: http://scn.sap.com/docs/DOC-14881

Basically, once you add the field to the BRF+ application, add that field to the set of condition columns of that table. Use that field to go to step 05 if X (step 05 then should go to 90) or go to step 90 directly if not equal to X.

Take a look at this document. It might help you understand how to use the BRF+ configuration tables: http://scn.sap.com/docs/DOC-51559

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question