RHEAD0 SAP (Structure of program header) Structure details
Description: Structure of program header
Structure field list including key, data, relationships and ABAP select examples
RHEAD0 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 "Structure of program header" 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_RHEAD0 TYPE RHEAD0.
The RHEAD0 table consists of various fields, each holding specific information or linking keys about Structure of program header data available in SAP. These include TIMEST (Timestamp of an ABAP/4 program), COMP (Load Format), VERS (Report Version), FLAG1 (1st flag byte in program header).. 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 RHEAD0 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 |
PGNAME | Name of an ABAP/4 program | ABP_PGNAME | CHAR | 40 | PROGNAME | ||||
TIMEST | Timestamp of an ABAP/4 program | ABP_TIMEST | CHAR | 14 | SYCHAR14 | ||||
COMP | Load Format | 0 | |||||||
VERS | Report Version | 0 | |||||||
FLAG1 | 1st flag byte in program header | ABP_HDFLG1 | CHAR | 2 | SYCHAR02 | ||||
FLAG2 | 2nd flag byte in program header | ABP_HDFLG2 | CHAR | 2 | SYCHAR02 | ||||
SSCR | Data ID of %_SSCR | 0 | |||||||
LIST | Data ID of %_LIST | 0 | |||||||
FMBS | Data ID of %_FMBS | 0 | |||||||
FIDO | Data ID of %_FIDO | 0 | |||||||
FSEL | Data ID of %_FSEL | 0 | |||||||
FORMAT | Program Format (Always 2) | 0 | |||||||
LINC | Number of Lines in List | 0 | |||||||
LINS | Number of Columns in List | 0 | |||||||
EOPL | Reserved Lines at End of Page | 0 | |||||||
NSPH | Flag: No Standard Page Heading | 0 | |||||||
AUTH | SQL Authority Flags (Obsolete) | 0 | |||||||
PAGC | PAGE-COUNT Value | 0 | |||||||
FUNC | Number of Function Module Calls | 0 | |||||||
CLAS | Type of Program: 'P', 'U', 'C' | 0 | |||||||
ARIT | Flag: Fixed Point Arithmetic On? | 0 | |||||||
MSGI | MESSAGE-ID from PROGRAM statement | ABP_MSGI | CHAR | 20 | Assigned to domain | ARBGB | |||
LDBNAME | LDB name | LDBNAM | CHAR | 20 | LDBNAME | LDB | SH_LDBD | ||
NTXT | Flag Bar for Non-Available Text Pool | 0 | |||||||
UCCHECK | Unicode Flag | 0 | |||||||
HASSEGMS | Flag: Program has global segments? | 0 | |||||||
SUBC | Program Type | 0 | |||||||
SECU | RDIR.secu | 0 | |||||||
SYSTXTYP | XTYP of SYST | 0 | |||||||
STORSEGLEN | Size of STOR Segment | 0 | |||||||
STCOOFSG | OFSG of STCO Segment | 0 | |||||||
CBLINIT | Number of Entries in the Load Table INIT | 0 | |||||||
CBLTRIG | Number of Entries in the Load Table TRIG | 0 | |||||||
CBLBASE | Number of Entries in the Load Table BASE | 0 | |||||||
CBLLITL | Number of Entries in the Load Table LITL | 0 | |||||||
CBLSELC | Number of Entries in the Load Table SELC | 0 | |||||||
CBLRSSCR | Number of Entries in the Load Table RSSCR | 0 | |||||||
CBLDATA | Number of Entries in the Load Table DATA | 0 | |||||||
CBLDATV | Number of Entries in the Load Table DATV | 0 | |||||||
CBLCOMP | Number of Entries in the Load Table COMP | 0 | |||||||
CBLDATL | Number of Entries in the Load Table DATL | 0 | |||||||
CBLSTOR | Number of Entries in the Load Table STOR | 0 | |||||||
CBLCONS | Number of Entries in the Load Table CONS | 0 | |||||||
CBLSTXT | Number of Entries in the Load Table STXT | 0 | |||||||
CBLTYPE | Number of Entries in the Load Table TYPE | 0 | |||||||
CBLPBAG | Number of Entries in the Load Table PBAG | 0 | |||||||
CBLDDNM | Number of Entries in the Load Table DDNM | 0 | |||||||
CBLCLAS | Number of Entries in the Load Table CLAS | 0 | |||||||
CBLINTI | Number of Entries in the Load Table INTI | 0 | |||||||
CBLINTD | Number of Entries in the Load Table INTD | 0 | |||||||
CBLINTC | Number of Entries in the Load Table INTC | 0 | |||||||
CBLVTAB | Number of Entries in the Load Table VTAB | 0 | |||||||
CBLCREF | Number of Entries in the Load Table CREF | 0 | |||||||
CBLOREF | Number of Entries in the Load Table OREF | 0 | |||||||
CBLIREF | Number of Entries in the Load Table IREF | 0 | |||||||
CBLEVNT | Number of Entries in the Load Table EVNT | 0 | |||||||
CBLGCIX | Number of Entries in the Load Table GCIX | 0 | |||||||
CBLINTR | Number of Entries in the Load Table INTR | 0 | |||||||
CBLLITLIX | Number of Entries in the Load Table LITLINDEX | 0 | |||||||
CBLSYDATA | Number of Entries in the Load Table SYMBDATA | 0 | |||||||
CBLSYATTR | Number of Entries in the Load Table SYMBATTR | 0 | |||||||
CBLSYTYPE | Number of Entries in the Load Table SYMBTYPE | 0 | |||||||
CBLSYIMETH | Number of Entries in the Load Table SYMBINTFMETH | 0 | |||||||
CBLSYIEVNT | Number of Entries in the Load Table SYMBINTFEVNT | 0 | |||||||
CBLSYMETH | Number of Entries in the Load Table SYMBMETH | 0 | |||||||
CBLSYEVNT | Number of Entries in the Load Table SYMBEVNT | 0 | |||||||
CBLSYIATTR | Number of Entries in the Load Table SYMBINTFATTR | 0 | |||||||
CBLSYIIMPL | uumber of Entries in the Load Table SYMBINTFIMPL | 0 | |||||||
CBLSYCLAS | Number of Entries in the Load Table SYMBCLAS | 0 | |||||||
CBLSYCOMP | Number of Entries in the Load Table SYMBCOMP | 0 | |||||||
CBLSYMEXCP | Number of Entries in the Load Table SYMBMETHEXCP | 0 | |||||||
CBLSYMPARM | Number of Entries in the Load Table SYMBMETHPARM | 0 | |||||||
CBLTEXT | Number of Entries in the Load Table TEXT | 0 | |||||||
CBLEXCP | Number of Entries in the Load Table EXCP | 0 | |||||||
CBLTPLR | Number of Entries in the Load Table TPLR | 0 | |||||||
CBLSREF | Number of Entries in the Load Table SREF | 0 | |||||||
CBLCLFR | Number of Entries in the Load Table CLFR | 0 | |||||||
CBEHEAD | Size of Program Head | 0 | |||||||
CBECONT | Size of Entries in the Load Table CONT | 0 | |||||||
CBEDATA | Size of Entries in the Load Table DATA | 0 | |||||||
CBEDATL | Size of Entries in the Load Table DATL | 0 | |||||||
CBEDATV | Size of Entries in the Load Table DATV | 0 | |||||||
CBECOMP | Size of Entries in the Load Table COMP | 0 | |||||||
CBETYPE | Size of Entries in the Load Table TYPE | 0 | |||||||
CBEPBAG | Size of Entries in the Load Table PBAG | 0 | |||||||
CBEDDNM | Size of Entries in the Load Table DDNM | 0 | |||||||
CBESTOR | Size of Entries in the Load Table STOR | 0 | |||||||
CBEINIT | Size of Entries in the Load Table INIT | 0 | |||||||
CBECONS | Size of Entries in the Load Table CONS | 0 | |||||||
CBEBASE | Size of Entries in the Load Table BASE | 0 | |||||||
CBETEXT | Size of Entries in the Load Table TEXT | 0 | |||||||
CBECLAS | Size of Entries in the Load Table CLAS | 0 | |||||||
CBEINTI | Size of Entries in the Load Table INTI | 0 | |||||||
CBEINTD | Size of Entries in the Load Table INTD | 0 | |||||||
CBEINTR | Size of Entries in the Load Table INTR | 0 | |||||||
CBEINTC | Size of Entries in the Load Table INTC | 0 | |||||||
CBEOREF | Size of Entries in the Load Table OREF | 0 | |||||||
CBEIREF | Size of Entries in the Load Table IREF | 0 | |||||||
CBECREF | Size of Entries in the Load Table CREF | 0 | |||||||
CBEVTAB | Size of Entries in the Load Table VTAB | 0 | |||||||
CBEEVNT | Size of Entries in the Load Table EVNT | 0 | |||||||
CBEGCIX | Size of Entries in the Load Table CGIX | 0 | |||||||
CBESELC | Size of Entries in the Load Table SELC | 0 | |||||||
CBERSSCR | Size of Entries in the Load Table RSSCR | 0 | |||||||
CBELITL | Size of Entries in the Load Table LITL | 0 | |||||||
CBELITLIX | Size of Entries in the Load Table LITLINDEX | 0 | |||||||
CBETRIG | Size of Entries in the Load Table TRIG | 0 | |||||||
CBESYDATA | Size of Entries in the Load Table SYMBDATA | 0 | |||||||
CBESYTYPE | Size of Entries in the Load Table SYMBTYPE | 0 | |||||||
CBESYCOMP | Size of Entries in the Load Table SYMBCOMP | 0 | |||||||
CBESYATTR | Size of Entries in the Load Table SYMBATTR | 0 | |||||||
CBESYCLAS | Size of Entries in the Load Table SYMBCLAS | 0 | |||||||
CBESYIATTR | Size of Entries in the Load Table SYMBINTFATTR | 0 | |||||||
CBESYIIMPL | Size of Entries in the Load Table SYMBINTFIMPL | 0 | |||||||
CBESYMETH | Size of Entries in the Load Table SYMBMETH | 0 | |||||||
CBESYEVNT | Size of Entries in the Load Table SYMBEVNT | 0 | |||||||
CBESYIMETH | Size of Entries in the Load Table SYMBINTFMETH | 0 | |||||||
CBESYIEVNT | Size of Entries in the Load Table SYMBINTFEVNT | 0 | |||||||
CBESYMEXCP | Size of Entries in the Load Table SYMBMETHEXCP | 0 | |||||||
CBESYMPARM | Size of Entries in the Load Table SYMBMETHPARM | 0 | |||||||
CBESYTEXT | Size of Entries in the Load Table SYMBTEXT | 0 | |||||||
CBETPLR | Size of Entries in the Load Table TPLR | 0 | |||||||
CBEEXCP | Size of Entries in the Load Table EXCP | 0 | |||||||
CBESREF | Size of Entries in the Load Table SREF | 0 | |||||||
CBECLFR | Size of Entries in the Load Table CLFR | 0 | |||||||
LOPTI | TrigId of LOAD-OF-PROGRAM Event | 0 | |||||||
CBLCONT | Number of Entries in the Load Table CONT | 0 | |||||||
CBLDATAMAX | Maximum Number of Entries in the Load Table DATA | 0 | |||||||
CBLSTCO | Size of Entries in the Load Table STCO | 0 | |||||||
CBESTCO | Size of Entries in the Load Table STCO | 0 | |||||||
CBLSTIX | Size of Entries in the Load Table STIX | 0 | |||||||
CBESTIX | Size of Entries in the Load Table STIX | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure RHEAD0 using ABAP code?
As RHEAD0 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 RHEAD0 as there is no data to select.How to access SAP table RHEAD0
Within an ECC or HANA version of SAP you can also view further information about RHEAD0 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