SAP table OIDAP (Automatic Plant Determination)

SAP table OIDAP has 8 primary key fields being MANDT,VKORG,VTWEG,SPART,LAND1,LZONE,MATNR,MATKL.

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
VKORG Sales Organization CHAR 4 0 TVTA VKORG
VTWEG Distribution Channel CHAR 2 0 TVTA VTWEG
SPART Division CHAR 2 0 TVTA SPART
LAND1 Country/Region Key CHAR 3 0 T005 LAND1
LZONE Transportation zone to or from which the goods are delivered CHAR 10 0 TZONE LZONE
MATNR Material Number CHAR 40 0 MARA MATNR
MATKL Material Group CHAR 9 0 T023 MATKL
WERKSP Preferred plant CHAR 4 0 T001W OID_WERKSP
LGORTP Preferred plant/stg. location CHAR 4 0 T001L OID_LGORTP
WERK01 Plant alternate 1 CHAR 4 0 T001W OID_WERKS1
LGOR01 Plant/storage location, alternate 1 CHAR 4 0 T001L OID_LGORT1
WERK02 Plant alternate 2 CHAR 4 0 T001W OID_WERKS2
LGOR02 Plant/storage location, alternate 2 CHAR 4 0 T001L OID_LGORT2
WERK03 Plant alternate 3 CHAR 4 0 T001W OID_WERKS3
LGOR03 Plant/storage location, alternate 3 CHAR 4 0 T001L OID_LGORT3
WERK04 Plant alternate 4 CHAR 4 0 T001W OID_WERKS4
LGOR04 Plant/storage location, alternate 4 CHAR 4 0 T001L OID_LGORT4
ERDAT Date on which the record was created DATS 8 0 ERDAT
ERTIM Time of creation TIMS 6 0 OI0_ERTIM
ERNAM Name of Person Responsible for Creating the Object CHAR 12 0 ERNAM
AEDAT Last Changed On DATS 8 0 AEDAT
AETIM Time of day the record was changed TIMS 6 0 OI0_AETIM
AENAM Name of Person Who Changed Object CHAR 12 0 AENAM

OIDAP foreign key relationships

Table Field Check Table Check Field
0 OIDAP LAND1 T005 Countries MANDT
0 OIDAP LAND1 T005 Countries LAND1
1 OIDAP LGOR01 T001L Storage Locations MANDT
1 OIDAP LGOR01 T001L Storage Locations WERKS
0 OIDAP LGOR02 T001L Storage Locations MANDT
0 OIDAP LGOR02 T001L Storage Locations WERKS
1 OIDAP LGOR03 T001L Storage Locations MANDT
1 OIDAP LGOR03 T001L Storage Locations WERKS
0 OIDAP LGOR04 T001L Storage Locations MANDT
0 OIDAP LGOR04 T001L Storage Locations WERKS
1 OIDAP LGORTP T001L Storage Locations MANDT
1 OIDAP LGORTP T001L Storage Locations WERKS
0 OIDAP LZONE TZONE Customers: Regional zones MANDT
0 OIDAP LZONE TZONE Customers: Regional zones LAND1
0 OIDAP LZONE TZONE Customers: Regional zones ZONE1
1 OIDAP MANDT T000 Clients MANDT
0 OIDAP MATKL T023 Material Groups MATKL
1 OIDAP MATNR MARA General Material Data MANDT
1 OIDAP MATNR MARA General Material Data MATNR
0 OIDAP SPART TVTA Organizational Unit: Sales Area(s) MANDT
0 OIDAP SPART TVTA Organizational Unit: Sales Area(s) VKORG
0 OIDAP SPART TVTA Organizational Unit: Sales Area(s) VTWEG
0 OIDAP SPART TVTA Organizational Unit: Sales Area(s) SPART
1 OIDAP VKORG TVTA Organizational Unit: Sales Area(s) MANDT
1 OIDAP VKORG TVTA Organizational Unit: Sales Area(s) VKORG
1 OIDAP VKORG TVTA Organizational Unit: Sales Area(s) VTWEG
1 OIDAP VKORG TVTA Organizational Unit: Sales Area(s) SPART
0 OIDAP VTWEG TVTA Organizational Unit: Sales Area(s) MANDT
0 OIDAP VTWEG TVTA Organizational Unit: Sales Area(s) VKORG
0 OIDAP VTWEG TVTA Organizational Unit: Sales Area(s) VTWEG
0 OIDAP VTWEG TVTA Organizational Unit: Sales Area(s) SPART
1 OIDAP WERK01 T001W Plants/Branches MANDT
1 OIDAP WERK01 T001W Plants/Branches WERKS
0 OIDAP WERK02 T001W Plants/Branches MANDT
0 OIDAP WERK02 T001W Plants/Branches WERKS
1 OIDAP WERK03 T001W Plants/Branches MANDT
1 OIDAP WERK03 T001W Plants/Branches WERKS
0 OIDAP WERK04 T001W Plants/Branches MANDT
0 OIDAP WERK04 T001W Plants/Branches WERKS
1 OIDAP WERKSP T001W Plants/Branches MANDT
1 OIDAP WERKSP T001W Plants/Branches WERKS