SAP Knowledge Base Article - Public

3809533 - PO TaxCategory is not converted from IDoc to cXML (tax code and rate missing) SAP S/4HANA Cloud Public Edition

Symptom

  • After checking the PO cXML, tax details are not converted from IDoc.
  • TaxCategory is not copied from IDoc to cXML.
  • Only the tax amount appears in the cXML; the TaxDetail segment (including TaxCategory) is missing.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Send a Purchase Order from SAP S/4HANA Cloud to Ariba
  2. Verify the outbound IDoc/payload from SAP S/4HANA Cloud includes tax information.
  3. Review the resulting cXML and observe that only tax amount is present; tax code, TaxCategory, and tax rate are missing, so invoice creation does not copy PO taxes.

Cause

  • The mapping “Define Mapping for SAP Tax Conditions to External Tax Categories” in SAP S/4HANA Cloud was not configured.
  • As a result, the TaxCategory was not sent in the OrderRequest_Out payload, and the gateway could not populate TaxDetail in the cXML.

Resolution

  1. In SAP S/4HANA Cloud, open the Manage Your Solution (F1241) app as a configuration expert.
  2. Choose Configure Your Solution.
  3. Filter: Application Area = Sourcing and Procurement; Sub Application Area = Integration.
  4. Open Integration with Suppliers.
  5. Select Configure for “Define Mapping for SAP Tax Conditions to External Tax Categories.”
  6. Map the relevant SAP tax condition types to the required external tax categories as per your tax design (refer to the 42K setup guide).
  7. Save and transport/activate the configuration as required.
  8. Re-trigger the PO output and verify that the OrderRequest_Out payload now includes TaxCategory and related tax details.
  9. Confirm that the resulting cXML contains the TaxDetail segment (tax code and rate), and that taxes are copied from PO to invoice.

See Also

Refer to: SAP S/4HANA Cloud 42K Set-Up (see tax mapping section)

Keywords

cxml, idoc, TaxDetail, TaxCategory, tax code, tax rate, purchase order, po, invoice, copy tax rule, mapping, integration with suppliers, OrderRequest_Out, s/4hana cloud, gateway , KBA , MM-PUR-PO-ES-2CL , Enterprise Services in Purchase Order (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions