SAP table KOTH003 (Customer/Plant/Material)

SAP table KOTH003 has 7 primary key fields being MANDT,KAPPL,KSCHL,KNDNR,WERKS,MATNR,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 Batch Search Strategy Type CHAR 4 0 T685 KSCHH
KNDNR Customer number CHAR 10 0 KNA1 KUNNR_V
WERKS Plant CHAR 4 0 T001W WERKS_D
MATNR Material Number CHAR 40 0 MARA MATNR
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

KOTH003 foreign key relationships

Table Field Check Table Check Field
0 KOTH003 KAPPL T681A Conditions: Applications KAPPL
1 KOTH003 KNDNR KNA1 General Data in Customer Master MANDT
1 KOTH003 KNDNR KNA1 General Data in Customer Master KUNNR
0 KOTH003 KSCHL T685 Conditions: Types KAPPL
0 KOTH003 KSCHL T685 Conditions: Types KSCHL
1 KOTH003 MANDT T000 Clients MANDT
0 KOTH003 MATNR MARA General Material Data MANDT
0 KOTH003 MATNR MARA General Material Data MATNR
1 KOTH003 WERKS T001W Plants/Branches MANDT
1 KOTH003 WERKS T001W Plants/Branches WERKS