SAP Knowledge Base Article - Public

3111167 - 'A proper workflow definition could not be found' (Message no. APPL_MM_COMP_WFL028)

Symptom

Flexible workflow for Purchase Orders is active in SSCUI.

When a Purchase order is created error 'No process found which can be started (scenario ' ')' is issued. Similarly when creating or changing a Purchase Order you receive message 'A proper workflow definition could not be found' (Message no. APPL_MM_COMP_WFL028).

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Open the APP 'Manage Purchase Orders' or the webgui tile 'Create Purchase Order - Advanced'.
  2. Enter the required master data, Supplier, Purchase Org, Material, Quantity and plant etc. 
  3. When the data is complete, press 'Check' or 'Save' the follwoing error will appear 

        'A proper workflow definition could not be found' (Message no. APPL_MM_COMP_WFL028)

wferror3.PNG

Cause

Missing or incomplete configuration.
Flexible workflow for Purchase Orders is activated in the SSCUI under this path: Manage your Solution > configure your solution > Activate Flexible Workflow for Purchase Orders. 
When flexible workflow is active for a Purchase order type, the system must have an active workflow. If you don´t have any active workflow the error will appear creating the purchase order.

Ifyou have several active workflows but none of these are relevant to the content of the Purchase Order, the system 
will default onto the auto approval. If you have de-activated the Auto approval such errors can occur.

Resolution

Access with the Administrator/Bpc_Expert Role:

In the APP 'Manage Workflows for Purchase Orders' make sure you have an active entry.

In the APP 'Manage Workflows for Purchase Orders' review that your Workflow scenarios are activated as expected regarging the Start conditions.

Make sure you have at minimum  the 'Automatic Release of Purchase Order'is  Active when the Flexible workflow is active for a document type.

Once you have  activated the relevant workflow entries (at minimum the Automatic), proceed to create Purchase Orders & Order the  PO Draft versions whcih were on hold due to the missing active entries.

Keywords

FIORI, MMFIOSTD, SWF_FLEX_RUN004, SWF_FLEX_RUN 004, auto approval, LMEPOFAA, FLEX_WF_SIMULATE, CL_SWF_FLEX_IFS_SIM, CL_SWF_FLEX_RUN_SELECTOR, WS00800238, BUS2012_HD, notification, OLME, Purchase Order, Release Procedure for Purchase Orders, Activate Flexible Workflow for Purchase Orders, Indicator, APPL_MM_COMP_WFL028. , KBA , MM-FIO-PUR-PO-WFL , Purchase Order Workflow , Problem

Product

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