SAP table LINK (Inventory document header in WM)
SAP table LINK has 3 primary key fields being MANDT,LGNUM,IVNUM.
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 | * | MANDT | |
LGNUM | Warehouse Number / Warehouse Complex | CHAR | 3 | 0 | T300 | LGNUM | |
IVNUM | Number of system inventory record | CHAR | 10 | 0 | LVS_IVNUM | ||
ISTAT | Header status of inventory | CHAR | 1 | 0 | LINK_ISTAT | ||
DSTAT | Print status in the inventory document header | CHAR | 1 | 0 | LINK_DSTAT | ||
NVERS | Recount version of system inventory record | NUMC | 2 | 0 | LINK_NVERS | ||
LGTYP | Storage Type | CHAR | 3 | 0 | T301 | LGTYP | |
PDATU | Planned date for inventory count | DATS | 8 | 0 | LINK_PDATU | ||
IRNUM | Inventory reference number | CHAR | 10 | 0 | LVS_IRNUM | ||
IVAKT | Inventory active | CHAR | 1 | 0 | LVS_IVAKT | ||
UNAME | Name of Planned Counter for Physical Inventory | CHAR | 12 | 0 | LINK_UNAME | ||
QUINV | Indicator for quant inventory | CHAR | 1 | 0 | LINK_QUINV |
LINK foreign key relationships
Table | Field | Check Table | Check Field | |
---|---|---|---|---|
0 LINK | LGNUM | T300 | WM Warehouse Numbers | MANDT |
0 LINK | LGNUM | T300 | WM Warehouse Numbers | LGNUM |
1 LINK | LGTYP | T301 | WM Storage Types | MANDT |
1 LINK | LGTYP | T301 | WM Storage Types | LGNUM |
1 LINK | LGTYP | T301 | WM Storage Types | LGTYP |