SAP Knowledge Base Article - Public

3634664 - Duplicate Approver Steps Triggered in Flexible Workflow for Sales Quotation Despite Identical Configuration in SAP S/4HANA Cloud Public Edition

Symptom

In a Flexible Workflow scenario (e.g., Sales Quotation), the same approver is receiving multiple approval requests for a single document. This occurs even though the workflow configuration, steps, and logic appear identical across systems (e.g., Test and Production).

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a Sales Quotation for a customer in a region where (e.g., JPY) is typically used as the working currency.
  2. Change the document currency from the local currency (e.g., JPY) to a different currency (e.g., EUR).
  3. Enter a high net value (e.g., one that exceeds 800 million JPY equivalent) which is expected to trigger multiple approval steps based on threshold conditions.
  4. Save and trigger the Flexible Workflow.
  5. Observe in Flexible Workflow Admin or via backend logs: the same approver is assigned and completes more than one approval step for the same document.

Cause

This issue typically occurs due to overlapping step conditions in the workflow design, especially when:

  • Steps are evaluated based on thresholds (e.g., net value), and
  • The same user is assigned to multiple steps with different but overlapping ranges (e.g., >10M, >300M, >800M JPY).

Even if currency filters (e.g., Currency = JPY) are correctly applied, a document with a high enough net value may match multiple step conditions, causing all matching steps to trigger each assigning the same user as an approver multiple times.

Resolution

To prevent duplicate approvals for the same user:

Option 1: Make Step Conditions Mutually Exclusive

  • Adjust each step’s value thresholds to avoid overlap.
    • Example:
      • Step 1: Net Value > 10M and ≤ 300M
      • Step 2: Net Value > 300M and ≤ 800M
      • Step 3: Net Value > 800M
  • This ensures only one step evaluates to true at runtime.

Option 2: Enhance Step Evaluation via Custom BAdI Logic

  • Use BAdI to skip redundant steps when the same user is already assigned.
  • This helps retain flexible threshold ranges while managing overlap programmatically.

See Also

Keywords

Flexible Workflow, Duplicate Approval, Sales Quotation Workflow, Same Approver, BAdI, Net Value Threshold, Workflow Step Overlap, Custom Logic Trace, Public Cloud , KBA , SD-SLS-QUT-2CL , Inquiries / Quotations (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions