/AIN/DM_LOC SAP (Location table) Table details

Dictionary Type: Table
Description: Location table




ABAP Code to SELECT data from /AIN/DM_LOC
Related tables to /AIN/DM_LOC
Access table /AIN/DM_LOC




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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
LOC_GUIDLocation GUID /AIN/DM_LOC_GUIDRAW16/AIN/DM_GUID16
TOP_LOC_GUIDTop Location GUID /AIN/DM_TOP_LOC_GUIDRAW16/AIN/DM_GUID16
PRT_LOC_GUIDParent Location ID /AIN/DM_PRT_LOC_GUIDRAW16/AIN/DM_GUID16
CATEGORYLocation Group /AIN/DM_CATEGORYCHAR4/AIN/DM_CATEGORY
STATUSLocation Status /AIN/DM_LOC_STATUSCHAR2/AIN/DM_LOC_STATUS
LOC_IDLocation ID /AIN/DM_LOC_IDCHAR20/AIN/DM_LOC_ID/AIN/DM_LOC_ID
LOC_TYPELocation Type /AIN/DM_LOC_TYPECHAR2/AIN/DM_LOC_TYPE/AIN/DM_LOC_TYPE
OBJECTCompany Prefix (Wirh Leading Zero) /AIN/EPC_PREFIXCHAR20/AIN/TEPC_PREFIX/AIN/EPC_PREFIX
GLNGLN /AIN/GLNNUMC13/AIN/GLN
LOFSYSBusiness System /AIN/DM_LOFSYSCHAR60CHAR60
REF_LOC_GUIDReference Location GUID /AIN/DM_REF_LOC_GUIDRAW16/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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!