Symptom
When you try to delete a sales order item, the following error shows up and the item cannot be deleted:
- Item &1 cannot be deleted, as WIP is available
Environment
SAP S/4HANA CLOUD
Reproducing the Issue
- Go to app 'Change Sales Orders' and enter the sales order number.
- Select the item and click delete button.
- The error will occur and the item cannot be deleted.
Cause
In configuration step 102530, for assignment rule SFS a G/L account is set as the cost element. However, it does not exist in the corresponding chart of accounts for the specified company code.
In configuration step 150001 ('Manage G/L Account Master Data') the following error is displayed:
- Account &1 does not exist in chart of accts &2 for specified co.code &3
Resolution
Assign a G/L account that is configured in the 'Manage G/L Account Master Data' app (Configuration Step ID 150001) as 'Cost Element' to the chart of account maintained in configuration step 102530.
See Also
2852403 - V1128 - Unable to delete lines from sales order document in S/4Hana due to COSP entries
Keywords
WIP, V2 151, V2151, Cost Element, G/L Acount, Chart Of Accounts, Sales Order, Company Code, Event-Based Revenue Recognition, Assignment Rule , KBA , SD-SLS-SO , Sales Orders , CO-PC-OBJ-EBR , Event-Based Revenue Recognition , Problem