SAP Knowledge Base Article - Public

3845869 - ProductPlantPurchaseTax cannot be set during material creation via A_Product (OData V2) in SAP S/4HANA Cloud Public Edition

Symptom

  • ProductPlantPurchaseTax cannot be provided when creating materials via the A_Product entity in API_PRODUCT_SRV.
  • Including Product Plant Purchase Tax data in the deep insert payload is not supported and will not be created.
  • The field is not available at creation time in the OData V2 A_Product service. 

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Use API_PRODUCT_SRV and call the A_Product entity to create a material with a deep insert payload.
  2. Attempt to include ProductPlantPurchaseTax or related Product Plant Purchase Tax data in the payload.
  3. Send the request and review the created data.
  4. Observe that no ProductPlantPurchaseTax record is created and the field cannot be set during creation via A_Product. 

Cause

This is a known limitation. The A_Product interface is based on OData V2 (API_PRODUCT_SRV), which does not include ProductPlantPurchaseTax as a supported entity in its deep insert payload. Therefore, this field cannot be set during material creation via A_Product.

Resolution

  1. Use Product API Version 3 for material creation when ProductPlantPurchaseTax is required. See Product (Version 3).
  2. If the material was already created via A_Product, create the ProductPlantPurchaseTax record separately using the Product Plant Purchase Tax entity. 

See Also

Keywords

productplantpurchasetax, prodpurchasetaxclassification, product api v3, a_product, odata v2, deep insert, patch, post, purchase tax, material creation, productplant, departurecountry, plant, product master, s/4hana cloud , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , Problem

Product

SAP S/4HANA Cloud Public Edition all versions