SAP Knowledge Base Article - Public

3561911 - Error:'Purchasing document <XXX> not yet released' or Purchase order status is' In approval' but approval status is 'Released'

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.

  1. Navigate to the APP 'Flexible Workflow Administration'.
  2. 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).
  3. Select the workflow item and open it.
  4. Observe the status, which could be 'error'/ 'In process'/ 'blank'/ 'cancelled'
  5. Click on the Workflow log button
  6. Expand the error 'Error while executing application callback (Method 'result_callback')'.
  7. 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.
  8. 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 
  9. 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'
  10. Otherwise withdraw the PO and edit and then submit/order it again.
  11. 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) 
  12. Then, change the quantity back to the original quantity and save.
  13. 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

3066568 - Purchase Order is in approval when workflow status is in error - SAP for Me

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

Product

SAP S/4HANA Cloud Public Edition all versions