SAP table A087 (Taxes: Plant, Account Assignment and Origin)

SAP table A087 has 9 primary key fields being MANDT,KAPPL,KSCHL,LLAND,TAXIW,TAXIK,TAXIL,TAXIR,DATBI.

If you're only analyzing data from a single SAP instance you may omit field MANT in your relationships as it will we the same across the entire dataset. On the other hand, if you're combining data from multiple SAP instances you need to take MANDT into account.

Field Description Data Type Length Decimals Checktable Data Element
MANDT Client CLNT 3 0 T000 MANDT
KAPPL Application CHAR 2 0 T681A KAPPL
KSCHL Condition Type CHAR 4 0 T685 KSCHA
LLAND Destination Country/Region CHAR 3 0 T005 LLAND
TAXIW Tax Indicator: Plant (Purchasing) CHAR 1 0 TMKW1 TAXIW1
TAXIK Tax Indicator: Account Assignment (Purchasing) CHAR 1 0 TMKK1 TAXIK1
TAXIL Tax indicator: Import CHAR 1 0 TAXIL
0 No import
1 Import
2 Import within the EC
3 Transportation service for Export of goods
4 Transportation service for Export of goods in EU
5 Transportation service for Domestic movement of goods
6 Transportation service for Import of goods
7 Transportation service for Import of goods in EU
TAXIR Tax indicator: Region (Intrastat) CHAR 1 0 TAXIR
0 Same region
1 Different region
DATBI Validity end date of the condition record DATS 8 0 KODATBI
DATAB Validity start date of the condition record DATS 8 0 KODATAB
KNUMH Number of the Condition Record CHAR 10 0 KNUMH

A087 foreign key relationships

Table Field Check Table Check Field
0 A087 KAPPL T681A Conditions: Applications KAPPL
1 A087 KSCHL T685 Conditions: Types KAPPL
1 A087 KSCHL T685 Conditions: Types KSCHL
0 A087 LLAND T005 Countries MANDT
0 A087 LLAND T005 Countries LAND1
1 A087 MANDT T000 Clients MANDT
0 A087 TAXIK TMKK1 Taxes: Account Assignment (Purchasing) MANDT
0 A087 TAXIK TMKK1 Taxes: Account Assignment (Purchasing) LAND1
0 A087 TAXIK TMKK1 Taxes: Account Assignment (Purchasing) TAXIK
1 A087 TAXIW TMKW1 Taxes: Plant (Purchasing) MANDT
1 A087 TAXIW TMKW1 Taxes: Plant (Purchasing) LAND1
1 A087 TAXIW TMKW1 Taxes: Plant (Purchasing) TAXIW