SAP table B001 (Sales Organization/Customer Number)

SAP table B001 has 5 primary key fields being MANDT,KAPPL,KSCHL,VKORG,KNDNR.

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 Output Type CHAR 4 0 T685 NA_KSCHL
VKORG Sales Organization CHAR 4 0 TVKO VKORG
KNDNR Customer number CHAR 10 0 KNA1 KUNNR_V
KNUMH Number of output condition record CHAR 10 0 NNUMH

B001 foreign key relationships

Table Field Check Table Check Field
0 B001 KAPPL T681A Conditions: Applications KAPPL
1 B001 KNDNR KNA1 General Data in Customer Master MANDT
1 B001 KNDNR KNA1 General Data in Customer Master KUNNR
0 B001 KSCHL T685 Conditions: Types KAPPL
0 B001 KSCHL T685 Conditions: Types KSCHL
1 B001 MANDT T000 Clients MANDT
0 B001 VKORG TVKO Organizational Unit: Sales Organizations MANDT
0 B001 VKORG TVKO Organizational Unit: Sales Organizations VKORG