Symptom
All items of a purchase order are marked for deletion, but the status of the purchase order does not reflect as 'deleted'.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- Mark for deletion all items of a purchase order
- Access "Manage purchase orders" fiori app
- Filter purchase orders by status "Deleted"
- The purchase order with all items marked for deletion is not filtered out
Cause
The PO Header status will only be changed to 'deleted' if the whole PO is getting the deletion flag from PO header level.
Resolution
The header level deletion flag will only be updated by the archiving process. If all items of a PO have been deleted, this does not update the PO header deletion flag automatically.
The purchase order needs to be archived, so the status will be shown as 'deleted'.
See Also
Archiving Process - https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/index.html#/detail/Apps('F0627A')/S25
Keywords
KBA , MM-FIO-PUR-PO , Fiori UI for Purchase Orders , Problem