SAP Knowledge Base Article - Public

3106190 - API API_PRODUCT_SRV/A_Product ( Method POST ) creates plant entry when using Entity to_Valuation

Symptom

  • API API_PRODUCT_SRV ( Method POST )  is creating a plant entry when using Entity to_Valuation  
  • When only sending the entity to_Valuation, it's creating a to_Plant entry in the product created
  • I add a to_Plant entity that has a different plant than to_Valuation when using the API  API_PRODUCT_SRV, I see that two Plants are created

Environment

  • SAP S/4HANA Cloud
  • Product Master

Reproducing the Issue

Call the API API_PRODUCT_SRV/A_Product ( POST ) with a payload including the Entity to_Valuation

Cause

This is expected behavior since the system is configured where valuation area = plant.

Therefore, if you try the same scenario in Product Master App or Create Material app, you will see the same behavior.

For creating valuation, plant is automatically created if not present in the input. But for plant, valuation area will not be automatically created

Resolution

System works as Designed

Keywords

to_Plant , KBA , LO-MD-MM , Material Master , How To

Product

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