SAP Knowledge Base Article - Public

3066568 - Purchase Order is in approval when workflow status is in error

Symptom

Purchase Order is in status "In Approval", when the workflow status is in error.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to app Manage Purchase Order
  2. Select the column Purchase Order Status
  3. The status is 'In Approval' and workflow status column is Workflow with errors

Cause

The  Purchase order was locked by an user before the workflow could get automatically approved. Therefore, the status of the Purchase Order is still showing as 'In Approval'.

If the PO is opened before the approval process starts from My Inbox app, there is a pop-up message and stop the approve/reject process. However if PO is edited after approval process starts, the pop up can't be sent.

In automatic approval case, technical user(SAP_WFRT) tries to lock PO, if any user edits PO at the same time even then the pop up is not possible.

Resolution

If the workflow is failed for any reason then such workflows will be listed in the app 'Workflows in status error' with the Administrator role.

In this app, you can find the reason why the workflow for the PO for which approval has not gone through completely, and can select the entry and choose "Resume after error". This way it will re-run the process and the PO will be approved(if the PO is not getting updated by any other process at the same time).

Do not choose restart the workflow option.

Keywords

MM-FIO-PUR-PO-WFL, S4_1C, X4BC, S4_PC, S4HC, resume workflow, status, approval, error in workflow, resume after error, workflows in status error, BC-BMT-WFM, purchase order , 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