/AIN/DM_LOC SAP (Location table) Table details
Dictionary Type: Table
Description: Location table
Description: Location table
Table field list including key, data, relationships and ABAP select examples
/AIN/DM_LOC is a standard SAP Table which is used to store Location table data and is available within R/3 SAP systems depending on the version and release level.
The /AIN/DM_LOC table consists of various fields, each holding specific information or linking keys about Location table data available in SAP. These include LOC_GUID (Location GUID), TOP_LOC_GUID (Top Location GUID), PRT_LOC_GUID (Parent Location ID), CATEGORY (Location Group).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
Text table = /AIN/DM_LOCT
SAP /AIN/DM_LOC table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
LOC_GUID | Location GUID | /AIN/DM_LOC_GUID | RAW | 16 | /AIN/DM_GUID16 | ||||
TOP_LOC_GUID | Top Location GUID | /AIN/DM_TOP_LOC_GUID | RAW | 16 | /AIN/DM_GUID16 | ||||
PRT_LOC_GUID | Parent Location ID | /AIN/DM_PRT_LOC_GUID | RAW | 16 | /AIN/DM_GUID16 | ||||
CATEGORY | Location Group | /AIN/DM_CATEGORY | CHAR | 4 | /AIN/DM_CATEGORY | ||||
STATUS | Location Status | /AIN/DM_LOC_STATUS | CHAR | 2 | /AIN/DM_LOC_STATUS | ||||
LOC_ID | Location ID | /AIN/DM_LOC_ID | CHAR | 20 | /AIN/DM_LOC_ID | /AIN/DM_LOC_ID | |||
LOC_TYPE | Location Type | /AIN/DM_LOC_TYPE | CHAR | 2 | /AIN/DM_LOC_TYPE | /AIN/DM_LOC_TYPE | |||
OBJECT | Company Prefix (Wirh Leading Zero) | /AIN/EPC_PREFIX | CHAR | 20 | /AIN/TEPC_PREFIX | /AIN/EPC_PREFIX | |||
GLN | GLN | /AIN/GLN | NUMC | 13 | /AIN/GLN | ||||
LOFSYS | Business System | /AIN/DM_LOFSYS | CHAR | 60 | CHAR60 | ||||
REF_LOC_GUID | Reference Location GUID | /AIN/DM_REF_LOC_GUID | RAW | 16 | /AIN/DM_GUID16 |
Key field | Non-key field |
How do I retrieve data from SAP table /AIN/DM_LOC using ABAP code
The following ABAP code Example will allow you to do a basic selection on /AIN/DM_LOC to SELECT all data from the tableDATA: WA_/AIN/DM_LOC TYPE /AIN/DM_LOC.
SELECT SINGLE *
FROM /AIN/DM_LOC
INTO CORRESPONDING FIELDS OF WA_/AIN/DM_LOC
WHERE...
How to access SAP table /AIN/DM_LOC
Within an ECC or HANA version of SAP you can also view further information about /AIN/DM_LOC and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects