Symptom
- An error message "Approval of purchase requisition failed. Contact admin." in the Approval details tab of a purchase requisition.
- The purchase requisition remains in approval status even when its already automatically approved.
- In Any document under Approval details tab you might see the error.
- While creating inbound delivery or goods receipt, error is seen 'Purchasing document is not released'.
- While converting PR to PO you may see error as 'Purchase requisition, Item, not approved for ordering'
Environment
SAP S/4HANA Cloud Public Edition
Cause
Some Error caused this issue.
Resolution
- Navigate to the APP 'Flexible Workflow Administration'.
- Enter the PR (purchase requisition) ID in the Business Object ID field (if the PR ID is not 10 digits, add 00 in prefix).
- 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')'.
- Expand the error 'Approval of purchase requisition failed. Contact admin.'.
- Here, an understandable error should be visible, for example 'Profit center not found in controlling area ' or 'Account determination for entry YCOA WRX 0001 ___ 3300 not possible'
- If its lock issue then it should be already resolved in couple of mins, so follow below steps from 11.
- Else, fix the error 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 PR and edit and then submit/order it again.
- If the issue persists, edit the PR 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 PR.
See Also
Keywords
SAP S/4HANA Cloud Public Edition, Purchase Requisition, Approval Failed, Error Message, Profit Center, Controlling Area, Workflow Administration, workflow logs,workflow error, error log, log for errors,SES in approval, Invoice in approval , KBA , MM-FIO-PUR-REL-2CL , Fiori UI for Purchasing Approval (Public Cloud) , Problem