SAP Knowledge Base Article - Public

3794870 - Workflow not triggered or auto approved for purchase order with document type' return-to-supplier '

Symptom

  • Workflow scenario WS00800238 behaves differently between standard purchase order and a return-to-supplier document type.
  • A first step with auto-approval up to a threshold (for example, 20,000) is configured in both workflows.
  • For the return-to-supplier document type, auto-approval is applied even when amounts exceed higher-approval thresholds (for example, above 100,000), and higher approval steps are not evaluated.
  • For the standard purchase order document type, approval steps run as expected.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Configure workflows for a standard purchase order document type and a return-to-supplier document type.
  2. Include a step condition such as “Total Net Order Value > 0.00” 
  3. Create a purchase order using the return-to-supplier document type and observe that auto-approval is applied even when the order value is higher  that zero
  4. Compare with the standard purchase order document type, where approval steps are evaluated correctly.

Cause

The return-to-supplier document type produces a negative total net order value. Conditions like “Total Net Order Value > 0.00” (or other “greater than” thresholds) are not met for negative values, so higher approval steps are not evaluated and the auto-approval step may be applied instead.

Resolution

  1. Adjust step conditions so they also cover negative totals produced by return-to-supplier orders (for example, remove “Total Net Order Value > 0.00”, use ranges that include negative amounts, or base conditions on absolute value if appropriate).
  2. Alternatively, create a dedicated workflow for the return-to-supplier document type with conditions tailored to negative totals.
  3. Test the adjusted workflow to confirm that higher approval steps are evaluated as intended for the return-to-supplier document type.
  4. Transport and activate the corrected workflow and monitor for expected behavior.

Keywords

WS00800238, flexible workflow, purchase order workflow, return to supplier, negative total amount, total net order value, step condition, auto-approval, approval threshold, document type, public cloud, s/4hana cloud, workflow condition, greater than, evaluation of steps , KBA , MM-FIO-PUR-PO-WFL-CL , Purchase Order Workflow (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions