SAP Knowledge Base Article - Public

3474737 - Error 'Choose a Price Determination of 2 or 3' when using API API_PRODUCT_SRV and Entity A_Product

Symptom

  • Error 'Choose a Price Determination of 2 or 3' appears when using API API_PRODUCT_SRV and Entity A_Product to create a Product 
  • Error 'The field MARC-BESKZ is defined as a required field; it does not contain an entry' appears when calling API API_PRODUCT_SRV and Entity A_Product 
  • Error 'The field MBEW-MLAST is defined as a required field; it does not contain an entry' appears when calling API API_PRODUCT_SRV and Entity A_Product
  • The field PriceDeterminationControl in the documentation is shown as optional for A_ProductValuation but is required when calling API_PRODUCT_SRV 

Environment

  • Product Master
  • SAP S/4HANA Cloud Public Edition 2402

Reproducing the Issue

Call the API API_PRODUCT_SRV and Entity A_Product with a payload to create a Product that includes Valuation data (to_Valuation)

Cause

Bug / Error

Resolution

We have completed a correction/addition for the issue.

The correction is planned to be delivered with the next Hotfix Collection 2402 HFC11.

The implementation is planned to take place in the next maintenance window on Jun 23, 2024.

Information on the Planned Maintenance Timelines is available in the KBA 2825498

This is current state of planning and may be changed by SAP at any time without notice.

Workarounds to use until HFC11 is applied. : 

Please pass the field PriceDeterminationControl  in the payload for A_ProductValuation or make use of new service API_PRODUCT which offers better performance, provided you are not using LONG_TEXTS.

Please raise a case with SAP SUPPORT under the SAP S/4HANA Cloud Public Edition System involved on the Component Area LO-MD-MM if the above workarounds of supplying PriceDeterminationControl  or using the new service API_PRODUCT is not technically feasible

Keywords

POST,PATCH, FML_PROD_MAST_API/002 , A_ProductValuation

, KBA , LO-MD-MM , Material Master , LO-MD-FIO-MM , Fiori UI for Product Master , Problem

Product

SAP S/4HANA Cloud Public Edition 2402