Symptom
You have defined a workflow scenario based on Account assignment as start condition, however the selected workflow doesn´t work as expected.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
Definition of Workflow scenario for Purchase orders
Start Condition : Account assignment "Cost Center"
- App: Manage Purchase Orders
- Select the PO and navigate to General Information > Account Assignment Category: Project (P) - Asset (A)- Order (F)
After the PO created, in the Approval Details tab you notice the workflow triggered belongs to Cost Center Workflow Scenario
Cause
Please consider that precondition is NOT meant identify whether the account assignment category = K/P/A/F of the field Account assignment on Item level in the PO EKPO-KNNTP.
Given a PO and PO item, the system checks whether one of the CO objects is cost center and is filled; and whether the filled cost center is REAL (not statistical). If the Asset, Project, Order are statistical CO objects, then the Derived cost center will be picked as actual cost object.
The selected workflow will be the one defined for Cost Center as Start condition.
Resolution
If you want a precondition to assess/projects /cost Center / Order you need develop own custom pre condition that will simply pick the Account Assignment category, based on EKPO-KNTTP , independent on statistical -actual cost posting.
See the KBA 2767845 - How to define new Procurement Pre-conditions in Manage Workflow Apps
Keywords
S4_PC, S4 PC, workflow for project, WBS ELEMENT, workflow for cost center picked, account assignment P, EKPO KNNTP, Asset , KBA , MM-FIO-PUR-PO-WFL , Purchase Order Workflow , Problem