Symptom
- An issue arises when the Workflow triggers for the approval of a supplier invoice or while creating a goods receipt, displaying the message "Purchasing document <4800000183> not yet released".
- The status of Purchase order is not in sync with the status of approval status.
- In Any document under Approval details tab you might see the error.
Environment
SAP S/4HANA Cloud Public Edition
Cause
Some error caused this issue.
Resolution
Steps to check and fix the PO status.
- Navigate to the APP 'Flexible Workflow Administration'.
- For example enter the Purchase order ID in the Business Object ID field (if PO ID is not 10 digits, add 0s in prefix to make it 10 digits).
- Select the workflow item and open it.
- Observe the status, which could be 'error'/ 'In process'/ 'blank'/ 'cancelled'
- Click on the Workflow log button
- Expand the error 'Error while executing application callback (Method 'result_callback')'.
- Here, an understandable error should be visible,If you see lock issue then it should be already resolved in couple of mins, so follow below steps from 9.
- If you see no errors then check the KBA 3572781 - Application error: Conversion of type "ELEMENT_TEXT" to type "DEEP_STRUCTURE" not supported. - SAP for Me
- Once you fix the errors then follow steps in KBA 3402028 - Error in Workflows in Status Error App - SAP for Me if the work item status is 'error'
- Otherwise withdraw the PO and edit and then submit/order it again.
- If the issue persists, edit the document for example change the quantity to some value and save. (how to choose right field to make dummy change is given below)
- Then, change the quantity back to the original quantity and save.
- So that workflow is retriggered and will get approved fully.
Note:Choose any field that is check marked in SSCUI Manage Conditions to Restart Flexible Workflow. or a field that triggers the restart maintained in Workflow Restart Badi ‘mmpur_po_workflow_restart’
The above is applicable for any document not just PO
See Also
Keywords
Workflow, Supplier Invoice, PO, Purchase Order, Flexible Workflow, SAP S/4HANA Cloud Public Edition, CPI, Batch Processing, Blank Status Mode, Restart Failure,wrong PO status,workflow error , KBA , MM-FIO-PUR-PO-WFL-CL , Purchase Order Workflow (Public Cloud) , Problem