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
- Create a purchase order for a supplier
- Maintain the supplier’s tax type in the tax classification of the business partner
- 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
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
SAP Knowledge Base Article - Public