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
- Use API_PRODUCT_SRV and call the A_Product entity to create a material with a deep insert payload.
- Attempt to include ProductPlantPurchaseTax or related Product Plant Purchase Tax data in the payload.
- Send the request and review the created data.
- 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
- Use Product API Version 3 for material creation when ProductPlantPurchaseTax is required. See Product (Version 3).
- If the material was already created via A_Product, create the ProductPlantPurchaseTax record separately using the Product Plant Purchase Tax entity.
See Also
- SAP Help Portal - Product (Version 3)
- SAP Help Portal - Product Plant Purchase Tax
- Try Out | Product API (Version 3) on SAP Business Accelerator Hub
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
SAP Knowledge Base Article - Public