Symptom
Attempts to PATCH amount/price-related fields result in a read-only field error and changes are not saved.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Integrate with the Supplier Quotation OData v4 service.
- Create or retrieve an existing Supplier Quotation.
- Send a PATCH request to modify amount/price-related fields at header or item level.
- Observe that the API responds with a read-only field error and the values are not updated.
Cause
Resolution
Regarding API for Supplier Quotation, below elements are only available in POST action.
"NetPriceAmount": "0",
"NetPriceQuantity": "0",
Fields related to amounts/pricing cannot be updated via the PATCH action after the document has been created. To reflect any price changes, a new Supplier Quotation must be created with a new document number.
For the PATCH action, there is no amount-related fields. For detailed information, please refer to https://api.sap.com/api/API_QTN_PROCESS_SRV/path/patch_A_SupplierQuotation___SupplierQuotation___
See Also
Keywords
supplier quotation, odata v4, patch, read-only, price update, amount fields, quotation update, rfq, pricing, api update, s/4hana cloud public edition, ce_supplierquotation_0001, header price, item price, edit quotation , KBA , MM-FIO-PUR-RFQ-2CL , Fiori UI for RFQ/Quotation (Public Cloud) , Problem
SAP Knowledge Base Article - Public