Two ways for personalize agent assignment in a SAP Workflow
Purchase Order
In certain SAP implementations, we face the fact that the
regular release strategy of purchase orders is not enough for an agent
determination or creating custom workflows to perform certain tasks. In these cases we need to take over the
assignment and look into any exit o "Z" development.
Here two different ways to accomplish this goal:
- USER Exit M06E0005: Using the tradition way, TCODE CMOD, create
your project and activating the enhancement.
- Changing the "Agents" property to "AC
Rule" and then update the function module into the "Rule
Definition" tab.
Rule definition:
Here a very simple code for agent assignment:
clear actor_tab-objid.
actor_tab-otype = 'US'.
actor_tab-objid = sy-uname.
No comments:
Post a Comment