SAP Knowledge Base Article - Public

2914645 - Scenario_ID for additional conditions with SD workflow: BAdI SWF_WORKFLOW_CONDITION_EVAL

Symptom

I'd like to create a pre-condition of Sales Document Workflows in Custom Fields and Logic app. However, I am not sure what scenario IDs can be used for the value in the a filter:

PreconditionBADI.png

Environment

  •  Sales and Distribution (SD)
  •  SAP S/4HANA Cloud All versions 

Resolution

The Scenario ID corresponds to the Workflow definition number - see the following documentation:

 > https://help.sap.com/viewer/a376cd9ea00d476b96f18dea1247e6a5/latest/en-US/1032952c80c349819d405b8542083586.html 

The workflows in Sales are as follows:

  • WS02000447 SalesQuoteWF Workflow for Sales Quotations
  • WS02000006 SalesOrderWF Workflow for Sales Orders
  • WS02000029 CMR_WF Workflow for Credit Memo Requests

See Also

[Enter your See Also here...]

Keywords

KBA , SD-SLS , Sales , SD-SLS-2CL , Sales (Public Cloud) , SD-SLS-EXT , Extensibility , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions