SAP Knowledge Base Article - Public

3072656 - Standard Sales Order workflow is not triggered in SAP S/4HANA Public Cloud Edition (German)

Symptom

For a standard sales order (OR), the workflow does not trigger, and the approver does not receive an approval request in My Inbox.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a Standard Sales Order (OR) in SAP S/4HANA Cloud.
  2. Verify that the approval workflow is configured and active.
  3. Check if an approval request appears in My Inbox for the designated approver.
  4. Observe that no approval request is triggered.

Cause

When executing the BAdI SD_APM_SET_APPROVAL_REASON, the system reads the standard sales order type in its language-dependent format.

  • In German, the sales order type is stored as "TA" instead of "OR".
  • If workflow start conditions are defined using "OR", the condition is not met when a user is logged in with German language settings.
  • As a result, the system fails to assign an approval reason, preventing the workflow from being triggered.

Resolution

To ensure workflow triggers correctly across different languages, follow these steps:

Use Language-Independent Document Type Keys:

  • Instead of selecting the sales document type via F4 (value help), manually enter both language-specific keys.
    Example:
  • English: "OR", German: "TA"
  • This ensures the workflow condition is met regardless of the user's login language.

Verify Workflow Start Conditions:

  • Navigate to Manage Workflow for Sales Orders in SAP Fiori.
  • Confirm that all relevant document type keys are included.

Enhance BAdI Logic (If Applicable):

  • If using SD_APM_SET_APPROVAL_REASON, modify the logic to recognize both "OR" and "TA", ensuring correct approval assignment.

Keywords

SAP S/4HANA Cloud Public Edition, Public Cloud, Cloud, Sales Order, FIORI, Launchpad, WS02000006, BAdI, My Inbox, Sales Document Type, German Sales Order Type (TA), Sales Document, AUART, SD_APM_SET_APPROVAL_REASON , salesdocumenttype, not trigger, OR, TA, salesdocapprovalreason , KBA , SD-SLS , Sales , SD-SLS-SO , Sales Orders , SD-SLS-2CL , Sales (Public Cloud) , How To

Product

SAP S/4HANA Cloud 2105 ; SAP S/4HANA Cloud 2108 ; SAP S/4HANA Cloud 2111