SAP Knowledge Base Article - Public

3481882 - Unable to create purchase order with reference to contract

Symptom

Users are unable to create a purchase order referencing a contract. The "Create Purchase Order" button remains greyed out after entering the contract number. When attempting to proceed in the "Create Purchase Order – Advanced" application with document type ZWOR, an error message displays: "Contract [Contract Number] version 0 still being processed - Message no. MEDCM022."

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  • Enter contract number XYZ in the "Manage Purchase Contracts" application.
  • Select the line item and attempt to create a purchase order by clicking the "Create Purchase Order" button; note the button remains grayed out, preventing further progress.
  • Proceed to the "Create Purchase Order – Advanced" application.
  • Enter the contract number.
  • Specify the document type as ZWOR.
  • Click "Enter" to proceed; observe the error message "Contract XYZ version 0 still being processed - Message no. MEDCM022."

Resolution

  1. Activate the 'Automatic Release of Purchase Contract' workflow configuration in the 'Manage workflows for Purchase Contracts' application. Make minor changes to the contract to trigger the workflow again.
  2. Approve the changes to move the document out of 'In Preparation' status, which is likely causing the issue.
 
 
 
 
 
 

Keywords

S4_PC, S4_1C, Manage Purchase Contracts, version 0 still being processed, Message no. MEDCM022, Create Purchase Order – Advanced, F1600A. , KBA , MM-FIO-PUR-SQ-CON , Fiori UI for Manage Purchase Contracts , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions