This article is only relevant if you've turned on address enhancement in Global Tax Determination.
To determine accurate tax rates, Global Tax Determination must receive the street name and house number of an address through SAP’s standard transactions, like XD01/02, XK01/02, and others that require jurisdiction code determination for addresses.
Since these fields are not present in SAP by default, your ABAP expert will need to configure the settings to enable the full address solution for standard transactions in SAP.
BadI implementation for tax jurisdiction code determination
To use the street-level information for the tax jurisdiction code determination, implement the BadI ADDR_TXJCD_CHECK.
If you already have an implementation of this BadI, since it doesn’t allow multiple uses, you don't need to create another implementation. If this is the case, make sure that the implementation you have doesn’t change the jurisdiction code value. You can add the include statement at the first or last line of the implementation.
- Go to transaction SE18 and choose BadI Name.
- Enter the BadI ADDR_TXJCD_CHECK, then click Display.
- In the BadI, click Implementation, then choose Create from the dropdown menu.
- Enter a name for the implementation, such as Z_ADDR_TXJCD_CHECK, then click Enter.
- You can use other names according to your SAP system.
- Enter the Implementation Short Text.
- Go to the Interface tab and double-click the Method SWITCH_ADDRESS_FIELDS.
- In Method, add the command line INCLUDE /sovosd/m_pg_txjcd_badi_impl (this will be available with the import of the SAP Package).
- Activate the BadI.
- This will automatically determine the jurisdiction codes when changing addresses for customers, vendors, plants, and companies in Global Tax Determination.
This process doesn’t work for the Cost Center, which has a different process for determining addresses and doesn’t link to the ADRC table.