Skip to Content
Technical Articles

Flexible Workflow Activation in SAP S/4HANA – Role Determined Automatically

A short blog, focused on Automatic Role Determination for Approval stage in Flexible Workflow.

 

For manual release of an item, we have ‘Role’ & ‘User’ option available under Assignment By in Recipients section. Next to which we can chose the agent from the standard Role options available e.g. Agent Determination by BAdi, Manager of Workflow Initiator etc.

Let’s say, we have a requirement of assigning a custom role with multiple user, responsible for approving a purchase order. But we don’t have any standard Role option to choose from.

Assuming, all the prerequisite completed for Automatic Release of Purchase Order. Let’s jump directly to the adjustment needed to fulfill our requirement.

  1. Go to transaction PFTC in Backend.
  2. Open the required workflow in edit mode. (Copying standard workflow is recommended)
  3. Execute the Workflow Builder.
  4. Click Approve Purchase Order Scenario.
  5. Go to Activities tab.
  6. Select ReleaseXXX activity.
  7. Choose Step Classification as Approval Step.
  8. Under Agent section, choose Role and enter the required Custom Role.
  9. Save the workflow and hit activate icon.

 

In Fiori Launchpad,

  1. Open app Manage Workflow for Purchaser Order
  2. Create a new workflow with your required precondition.
  3. Now when you chose manual release of Purchase Order, after choosing Role under Assignment By in Recipients section.
  4. A new entry will be available in drop down as Determined Automatically.
  5. Choose between One of the recipients All of the recipients.
  6. Select and Save.

Once you create a purchase order with all the precondition meeting for triggering the flexible workflow, purchase order will be available in My Inbox fiori app.

 

Hope you find this helpful!

Be the first to leave a comment
You must be Logged on to comment or reply to a post.