MATGRP_HIER SAP (Article Hierarchy Properties) Table details
Dictionary Type: Table
Description: Article Hierarchy Properties
Description: Article Hierarchy Properties
Table field list including key, data, relationships and ABAP select examples
MATGRP_HIER is a standard SAP Table which is used to store Article Hierarchy Properties data and is available within R/3 SAP systems depending on the version and release level.
The MATGRP_HIER table consists of various fields, each holding specific information or linking keys about Article Hierarchy Properties data available in SAP. These include HIER_ID (Hierarchy ID), NODE (Hierarchy Node), VKORG (Sales Organization), VTWEG (Distribution Channel).. 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 = MATGRP_HIERT
SAP MATGRP_HIER 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
HIER_ID | Hierarchy ID | HIER_CNT | CHAR | 2 | HIERCNT | HIER | HIERID | ||
NODE | Hierarchy Node | STRUC_NODE | CHAR | 18 | MATGRP_STRUC | NODES | NODE_STRUC | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
STATUS | Article Hierarchy Status | CATSTATE | CHAR | 2 | MATGRP_STAT | ||||
HIER_ID_AKT | Hierarchy ID | HIER_CNT | CHAR | 2 | HIERCNT | HIER | HIERID | ||
PRODFLG | Product Hierarchy Flag | PRODFLAG | CHAR | 1 | FLAG | ||||
MAPFLG | MAP Flag | MAPFLAG | CHAR | 1 | FLAG | ||||
BWFLG | BW Flag | BWFLAG | CHAR | 1 | FLAG | ||||
ERSDA | Created On | ERSDA | DATS | 8 | DATUM | ||||
LAEDA | Date of Last Change | LAEDA | DATS | 8 | DATUM | ||||
LAEND | Last person to change the key figure/information item | LAEND | CHAR | 12 | CHAR12 |
Key field | Non-key field |
How do I retrieve data from SAP table MATGRP_HIER using ABAP code
The following ABAP code Example will allow you to do a basic selection on MATGRP_HIER to SELECT all data from the tableDATA: WA_MATGRP_HIER TYPE MATGRP_HIER.
SELECT SINGLE *
FROM MATGRP_HIER
INTO CORRESPONDING FIELDS OF WA_MATGRP_HIER
WHERE...
How to access SAP table MATGRP_HIER
Within an ECC or HANA version of SAP you can also view further information about MATGRP_HIER 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