MCSHIERB SAP (Tree for general hierarchy) Table details
Dictionary Type: Table
Description: Tree for general hierarchy
Description: Tree for general hierarchy
Table field list including key, data, relationships and ABAP select examples
MCSHIERB is a standard SAP Table which is used to store Tree for general hierarchy data and is available within R/3 SAP systems depending on the version and release level.
The MCSHIERB table consists of various fields, each holding specific information or linking keys about Tree for general hierarchy data available in SAP. These include APPL (Application class for DD objects (not used)), HNAME (Hierarchy name of the general hierarchies), ID (Internal: Node ID), DATUV (Valid-From Date).. 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: E - Control table, SAP and customer have separate key areasDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP MCSHIERB 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 | |||
APPL | Application class for DD objects (not used) | APPLCLASS | CHAR | 4 | TAPPL | APPLCLASS | APP | ||
HNAME | Hierarchy name of the general hierarchies | MCHNAME | CHAR | 10 | MCSHIERK | MCHIER | MCK | ||
ID | Internal: Node ID | SEU_ID | NUMC | 6 | SEU_ID | ||||
DATUV | Valid-From Date | DATUV | DATS | 8 | DATUM | ||||
DATUB | Valid-to date | DATUB | DATS | 8 | DATUM | ||||
NAME | Object name | SEU_NAME | CHAR | 30 | SEU_NAME | ||||
TLEVEL | Node level | SEU_LEVEL | NUMC | 2 | SEU_LEVEL | ||||
LINK | Link ID | SEU_LINK | CHAR | 1 | CHAR1 | ||||
LEAF | Internal: Page ID | SEU_LEAF | CHAR | 1 | CHAR1 | ||||
PARENT | Internal: Node ID | SEU_ID | NUMC | 6 | SEU_ID | ||||
CHILD | Internal: Node ID | SEU_ID | NUMC | 6 | SEU_ID | ||||
BROTHER | Internal: Node ID | SEU_ID | NUMC | 6 | SEU_ID | ||||
LINKID | Internal: Node ID | SEU_ID | NUMC | 6 | SEU_ID | ||||
EINGABE | Indicates that data element was entered | MCEINGABE | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP table MCSHIERB using ABAP code
The following ABAP code Example will allow you to do a basic selection on MCSHIERB to SELECT all data from the tableDATA: WA_MCSHIERB TYPE MCSHIERB.
SELECT SINGLE *
FROM MCSHIERB
INTO CORRESPONDING FIELDS OF WA_MCSHIERB
WHERE...
How to access SAP table MCSHIERB
Within an ECC or HANA version of SAP you can also view further information about MCSHIERB 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