RHEAD SAP (Structure of program header) Structure details
Description: Structure of program header
Structure field list including key, data, relationships and ABAP select examples
RHEAD 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_RHEAD TYPE RHEAD.
The RHEAD 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 (Compiler version according to abformt.h), VERS (Version no. of a program as specified in attributes (TRDIR)), 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 RHEAD 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 | Compiler version according to abformt.h | ABP_COMP | CHAR | 4 | SYCHAR04 | ||||
VERS | Version no. of a program as specified in attributes (TRDIR) | ABP_VERS | CHAR | 4 | SYCHAR04 | ||||
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 CB index of internal table %_SSCR | ABP_SSCR | CHAR | 5 | SYCHAR05 | ||||
LIST | Data CB index of internal table %_LIST | ABP_LIST | CHAR | 5 | SYCHAR05 | ||||
FMBS | Data CB index of internal table %_FMBS | ABP_FMBS | CHAR | 5 | SYCHAR05 | ||||
FORMAT | Format of a generated program (currently always 2) | ABP_FORMAT | CHAR | 3 | SYCHAR03 | ||||
LINC | Explicitly specified LINE-COUNT value from PROGRAM statement | ABP_LINC | CHAR | 4 | SYCHAR04 | ||||
LINS | Explicitly specified LINE-SIZE value from PROGRAM statement | ABP_LINS | CHAR | 4 | SYCHAR04 | ||||
EOPL | Explicitly specified page footer lines with LINE-COUNT | ABP_EOPL | CHAR | 3 | SYCHAR03 | ||||
NSPH | Flag for NO STANDARD PAGE HEADING (0 or 1) | ABP_NSPH | CHAR | 3 | SYCHAR03 | ||||
AUTH | SQL authorizations (obsolete) | ABP_AUTH | CHAR | 3 | SYCHAR03 | ||||
PAGC | Explicitly specified PAGE-COUNT value from PROGRAM statement | ABP_PAGC | CHAR | 5 | SYCHAR05 | ||||
FUNC | Number of function calls in program | ABP_FUNC | CHAR | 5 | SYCHAR05 | ||||
CLAS | Flag for function groups (1 or 0) | ABP_CLASS | CHAR | 3 | SYCHAR03 | ||||
ARIT | Flag for deactivated fixed point arithmetic (0 or 1) | ABP_ARIT | CHAR | 3 | SYCHAR03 | ||||
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 string for non-existent text pools (runtime only) | ABP_NTXT | CHAR | 10 | SYCHAR10 | ||||
CBLRMAXO | Maximum offset for PXA addressing | 0 | |||||||
CBLTOTAL | Total Size of Load (Header + All Load Tables) | 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 RHEAD using ABAP code?
As RHEAD 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 RHEAD as there is no data to select.How to access SAP table RHEAD
Within an ECC or HANA version of SAP you can also view further information about RHEAD 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