SAP Knowledge Base Article - Public

3777944 - Purchase Requisition Flexible Workflow at Header Level with Plant Condition in SAP S/4HANA Cloud Public Edition

Symptom

Required Flexible Workflow at Header Level based on Plant Condition

Environment

 SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a purchase requisition with many line items.
  2. Activate flexible workflow for purchase requisitions at item level.
  3. Observe that multiple approval tasks are created (one per line item).
  4. Open Manage Workflows for Purchase Requisitions and review available start/step conditions; note that Plant is not available as a condition field.

Cause

By design, plant-based approval determination is not supported: PR workflows do not offer Plant as a condition field, and PO workflows evaluate at header level where Plant is not supported.

Resolution

  1. Note the standard limitation: plant-wise approval determination for PRs and POs is not supported by flexible workflow in the product.
  2. If Plant must be evaluated, define a custom pre-condition/step condition by creating a custom condition definition (SWF_WORKFLOW_CONDITION_DEF) so that Plant can be used as a condition.
  3. Implement and activate the custom condition definition as described in the referenced note.
  4. In Manage Workflows for the relevant procurement scenario, add the new custom pre-condition/step condition to the workflow definition.
  5. Test the workflow to confirm approval determination using the Plant condition and adjust as required.

See Also

refer to: Note 2767845 - How to define new Procurement Pre-conditions in Manage Workflow Apps

Keywords

flexible workflow, purchase requisition, pr workflow, header level, plant condition, plant-based approval, manage workflows, pre-condition, step condition, swf_workflow_condition_def, procurement workflow, item-level approvals, approval tasks, s/4hana cloud public edition, missing condition field , KBA , MM-FIO-PUR-REL-2CL , Fiori UI for Purchasing Approval (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions