SAP SETHEADER Set Header and Directory Table data and field list

SETHEADER is a standard SAP Table which is used to store Set Header and Directory data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The SETHEADER table consists of various fields, each holding specific information or linking keys about Set Header and Directory data available in SAP. These include SETCLASS (Set class), SUBCLASS (Organizational Unit as Set Subclass), SETNAME (Set Name), SETTYPE (Set type)... 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. .

SETHEADER table Technical Details:

Delivery Class: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)

Text table = SETHEADERT


SAP SETHEADER table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the SETHEADER table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
SETCLASSSet class SETCLASSCHAR4SETCLSSETCLASSGSC
SUBCLASSOrganizational Unit as Set Subclass SETSUBCLSCHAR12SETSUBCLS
SETNAMESet Name SETNAMENEWCHAR24SETNAMEGSE
SETTYPESet type STYPECHAR1STYPEGST
XDYNAMICFlag: Dynamic set SETFLGDYNCHAR1CHAR1
AUTHGRAuthorization group AUTHGRCHAR4TBRGBRGRU
XUNIQX flag: Must be unique SETFLGSUQCHAR1XFELD
RVALUERepresentative value of a set SETVALREPCHAR24SETVAL
CREUSERCreated By CRNAMCHAR12USNAM
CREDATECreation date CRDATDATS8DATUM
CRETIMECreation Time CR_TIMETIMS6T
UPDUSERLast Changed By UPNAMCHAR12USNAM
UPDDATEDate on which object was last changed UPDATDATS8DATUM
UPDTIMETime of last change UP_TIMETIMS6T
SAPRLRelease of SAP System SYSAPRLCHAR4SYCHAR04
TABNAMETable Name TABNAMECHAR30Assigned to domainAS4TABDTB
FIELDNAMEField Name FIELDNAMECHAR30Assigned to domainFDNAMEDFD
ROLLNAMERepresentative data element in a set SETDTEL_DCHAR30Assigned to domainROLLNAME
SET_OLANGUOriginal Language for Sets (SAP Internal Only) SET_OLANGULANG1Assigned to domainISOLASPRAS
NO_RWSHEADERNo Entries Exist in Table RWSHEADER for this Set SET_NO_RWSHEADERCHAR1XFELD
NO_RWSLINENo Entries Exist in Table RWSLINE for this Set SET_NO_RWSLINECHAR1XFELD
NO_SETLINETNo Entries Exist in Table SETLINET for this Set SET_NO_SETLINETCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP table SETHEADER using ABAP code

The following ABAP code Example will allow you to do a basic selection on SETHEADER to SELECT all data from the table
DATA: WA_SETHEADER TYPE SETHEADER.

SELECT SINGLE *
FROM SETHEADER
INTO CORRESPONDING FIELDS OF WA_SETHEADER
WHERE...

How to access SAP table SETHEADER

Within an ECC or HANA version of SAP you can also view further information about SETHEADER and the data within it using relevant transactions such as

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