SAP table MDLG (Customizing: MRP Area Storage Location)

SAP table MDLG has 4 primary key fields being MANDT,BERID,WERKS,LGORT.

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
BERID MRP Area CHAR 10 0 MDLV BERID
WERKS Plant CHAR 4 0 T001W WERKS_D
LGORT MRP Area Location CHAR 4 0 T001L ORTDP

MDLG foreign key relationships

Table Field Check Table Check Field
0 MDLG BERID MDLV Customizing MRP Area MANDT
0 MDLG BERID MDLV Customizing MRP Area BERID
1 MDLG LGORT T001L Storage Locations MANDT
1 MDLG LGORT T001L Storage Locations WERKS
0 MDLG MANDT T000 Clients MANDT
1 MDLG WERKS T001W Plants/Branches MANDT
1 MDLG WERKS T001W Plants/Branches WERKS