MCSHIERB SAP (Tree for general hierarchy) Table details

Dictionary Type: Table
Description: Tree for general hierarchy




ABAP Code to SELECT data from MCSHIERB
Related tables to MCSHIERB
Access table MCSHIERB




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 areas
Display/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
MANDTClient MANDTCLNT3T000MANDT
APPLApplication class for DD objects (not used) APPLCLASSCHAR4TAPPLAPPLCLASSAPP
HNAMEHierarchy name of the general hierarchies MCHNAMECHAR10MCSHIERKMCHIERMCK
IDInternal: Node ID SEU_IDNUMC6SEU_ID
DATUVValid-From Date DATUVDATS8DATUM
DATUBValid-to date DATUBDATS8DATUM
NAMEObject name SEU_NAMECHAR30SEU_NAME
TLEVELNode level SEU_LEVELNUMC2SEU_LEVEL
LINKLink ID SEU_LINKCHAR1CHAR1
LEAFInternal: Page ID SEU_LEAFCHAR1CHAR1
PARENTInternal: Node ID SEU_IDNUMC6SEU_ID
CHILDInternal: Node ID SEU_IDNUMC6SEU_ID
BROTHERInternal: Node ID SEU_IDNUMC6SEU_ID
LINKIDInternal: Node ID SEU_IDNUMC6SEU_ID
EINGABEIndicates that data element was entered MCEINGABECHAR1CHAR1

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 table
DATA: 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 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!