SAP Knowledge Base Article - Public

3651010 - Error message: Purchase contract cannot be edited as currently it is in approval

Symptom

  • Unable to edit purchase contracts created using the GUI app (ME31K) with custom account assignment though the contract is not in status 'In approval' when checked in Fiori app.
  • Contracts appear in 'rework requested' status in the Fiori app but are not editable in the GUI app.
  • Workflow behavior appears incorrect, preventing necessary changes to the contract in GUI app.

Environment

  • SAP S/4HANA Cloud Public Edition
 



Reproducing the Issue

  1. Create a purchase contract using the GUI app (ME31K) with custom account assignment.
  2. Navigate to the 'Manage Purchase Contracts' app in Fiori where approver details are visible and when approver sent for rework then status is 'rework requested'.
  3. Attempt to edit the contract using GUI app cause its not possible to edit using Fiori app as custom account assignment is used in the contract.
  4. Observe the error message: "Purchase contract cannot be edited as currently it is in approval."

Cause

Currently its system limitation

Resolution

The following workarounds can be applied:

Option A:

  1. Withdraw the contract in the Fiori app and save it. Then, edit and make necessary changes using the GUI app (ME32K).The workflow is not triggered after changes were done thus the below mentioned additional steps are required.
  2. Perform a dummy change to a field marked for restart in the BC activity, send the contract for approval, and ask the approver to approve the dummy change. After approval, revert the dummy change and send the contract for approval again. The approver can then take the desired action.

 or

Option B:

  1. Resubmit the contract from receiver's inbox which is  was sent for rework.
  2. Ask approver  to  reject/ approve.
  3. Then make necessary changes and resubmit for approval.

See Also

Refer to:

SAP Help Documentation on Custom Account Assignment in SAP S/4HANA Cloud

Keywords

purchase contract, custom account assignment, ME31K, ME32K, Fiori app, rework requested, workflow status, SAP S/4HANA Cloud, approval error, contract editing, workaround , KBA , MM-FIO-PUR-SQ-CON-CL , Fiori UI for Manage Purchase Contracts (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions