DMS_DOCUMENT_HIERARCHIE SAP (Document hierarchy) Structure details

Dictionary Type: Structure
Description: Document hierarchy




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




Structure field list including key, data, relationships and ABAP select examples

DMS_DOCUMENT_HIERARCHIE is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Document hierarchy" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_DMS_DOCUMENT_HIERARCHIE TYPE DMS_DOCUMENT_HIERARCHIE.

The DMS_DOCUMENT_HIERARCHIE table consists of various fields, each holding specific information or linking keys about Document hierarchy data available in SAP. These include MANDT (Client), DOKAR (Document Type), DOKNR (Document number), DOKVR (Document Version).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP DMS_DOCUMENT_HIERARCHIE structure 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
STEP Level0
MANDTClient MANDTCLNT3T000MANDT
DOKARDocument Type DOKARCHAR3TDWADOKARCV2
DOKNRDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
DOKVRDocument Version DOKVRCHAR2DOKVRCV3
DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
DWNAMName of person responsible DWNAMCHAR12DWNAM
DOKSTDocument Status DOKSTCHAR2TDWSDOKST
LABORLaboratory/design office LABORCHAR3T024LLABOR
AENNRChange Number DAENRCHAR12AENRAENNRAENNR
WERKAPlant WERKACHAR4T001WWERKS
LOEDKDeletion indicator LOEDKCHAR1XFELD
CADKZCAD Indicator CADKZCHAR1XFELD
PRENRDocument number of superior document PRENRCHAR25Assigned to domainALPHADOKNR
PREVRDocument version of superior document PREVRCHAR2DOKVR
PRETLDocument Part of Superior Document PRETLCHAR3DOKTL
PREARDocument type of the superior document PREARCHAR3TDWADOKAR
BEGRUAuthorization Group BEGRUCHAR4BEGRU
FILEPOriginal of document FILEPCHAR255TEXT255
DTTRGName of Data Carrier DTTRGCHAR10TDWDDTTRGCV5
DAPPLApplication DAPPLCHAR3TDWPDAPPL
FILEP1Original of document FILEPCHAR255TEXT255
DTTRG1Name of Data Carrier DTTRGCHAR10TDWDDTTRGCV5
DAPPL1Application DAPPLCHAR3TDWPDAPPL
VRLDATDue Date VRLDATDATS8DATUM
VPRIORProcessing priority VPRIORNUMC1NUMC01
RES1Reserve field DRAW RESDRAWCHAR14CHAR14
RES2Reserve field DRAW RESDRAWCHAR14CHAR14
RES3Reserve field DRAW RESDRAWCHAR14CHAR14
RES4Reserve field DRAW RESDRAWCHAR14CHAR14
MRK_FILEPOriginal of document FILEPCHAR255TEXT255
MRK_DTTRGName of Data Carrier DTTRGCHAR10Assigned to domainDTTRGCV5
MRK_FILEP1Original of document FILEPCHAR255TEXT255
MRK_DTTRG1Name of Data Carrier DTTRGCHAR10Assigned to domainDTTRGCV5
ADATUMOutput date for document ADATUMDATS8DATUM
DOKNR_VLDocument Number of Source Document DOKNR_VLCHAR25Assigned to domainALPHADOKNR
DOKTL_VLDocument part of source document DOKTL_VLCHAR3DOKTL
DOKVR_VLDocument version of source document DOKVR_VLCHAR2DOKVR
FILELENFile length of original ORLNNUMC12NUM12
FILELEN1File length of original ORLNNUMC12NUM12
CM_RELEVANCERelevant for Configuration Management DE_CM_RELEVANCE_FLAGCHAR1DO_CM_RELEVANCE_FLAG
CM_FIXEDDocument fixed DMS_CM_FIXEDCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP structure DMS_DOCUMENT_HIERARCHIE using ABAP code?

As DMS_DOCUMENT_HIERARCHIE is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DMS_DOCUMENT_HIERARCHIE as there is no data to select.

How to access SAP table DMS_DOCUMENT_HIERARCHIE

Within an ECC or HANA version of SAP you can also view further information about DMS_DOCUMENT_HIERARCHIE 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!