SAP Knowledge Base Article - Public

3743094 - Automatic tax code determination in purchase order (PO) creation does not function as expected

Symptom

The system does not automatically determine the tax code in the Purchase Order (PO) based on whether the supplier is tax registered or not.

Environment

 SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a purchase order for a supplier
  2. Maintain the supplier’s tax type in the tax classification of the business partner
  3. Observe that the expected tax code is not automatically determined and the tax code field remains blank

Cause

In SAP S/4HANA Cloud, standard tax code determination in Purchase Orders does not consider supplier tax registration status. The system derives the tax code from reference documents, info records, or condition records, and may leave it blank if none are maintained.

Resolution

Implement the BAdI MM_PUR_S4_PO_MODIFY_ITEM to customize the logic. In the BAdI, check the supplier’s tax registration status and assign the appropriate tax code during PO creation.

See Also

  • Refer to: KBA3020731 – Tax Code Determination in Purchase Order based on Account Assignment Category
  • The tax code determination logic in the Purchase Order is explained in the SAP Note 501054 FAQ: Taxes in purchasing (See Question 1 the logic of which still applies in cloud)

Keywords

Automatic tax code determination, purchase order, supplier tax status, BAdi mm_pur_s4_po_modify_item, purchasing info record, set tax rates purchasing, tax indicator, po creation, tax code not determined. , KBA , MM-PUR-PO-2CL , Purchase Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions