Symptom
Try to update the existing Output tax Classification value via the A_CustomerSalesAreaTax entity of the Business Partner OData API API_BUSINESS_PARTNER
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- Try to change the existing Output tax Classification value via the A_CustomerSalesAreaTax entity of the Business Partner OData API API_BUSINESS_PARTNER
- Use the POST operation
- The error "Tax indicator with key &1 &2 already exists" is raised
Cause
The PATCH operation needs to be used for the update scenario
Resolution
- The PATCH URL for the xxx entity is available on the API Hub
/A_CustomerSalesAreaTax(Customer='{Customer}',SalesOrganization='{SalesOrganization}',DistributionChannel='{DistributionChannel}',Division='{Division}',DepartureCountry='{DepartureCountry}',CustomerTaxCategory='{CustomerTaxCategory}') - The payload would contain the new classification value e.g. if it should be 0 it would look like
{
"CustomerTaxClassification": "0"
}
See Also
Keywords
SAP S/4HANA Cloud, S4_PC, S4_1C, X4BC, S4HC, S/4HC, A_CustomerSalesAreaTax, Tax indicator with key &1 &2 already exists, Tax Classification, Sales Area Tax, API_BUSINESS_PARTNER, CVI_EI 017, CVI_EI017, POST, PATCH,post , KBA , LO-MD-BP-ODT , OData Service for Business Partner , LO-MD-BP , Business Partners , Problem
Product
SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions