RCGDHBUF SAP (EHS: Buffer for report headers) Structure details
Description: EHS: Buffer for report headers
Structure field list including key, data, relationships and ABAP select examples
RCGDHBUF 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 "EHS: Buffer for report headers" 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_RCGDHBUF TYPE RCGDHBUF.
The RCGDHBUF table consists of various fields, each holding specific information or linking keys about EHS: Buffer for report headers data available in SAP. These include VALFLG (Indicator: Data record is currently valid), CHCOFLG (Indicator: Change number collision), LOCKMOD (Lock Mode (Shared, Exclusive)), LOGLOCKMOD (Logical Lock Mode).. 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 RCGDHBUF 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 |
VALFLG | Indicator: Data record is currently valid | ESEVALFLG | CHAR | 1 | ESDFLAG | ||||
CHCOFLG | Indicator: Change number collision | ESECHCOFLG | CHAR | 1 | ESDFLAG | ||||
LOCKMOD | Lock Mode (Shared, Exclusive) | ESELOCKMOD | CHAR | 1 | CHAR1 | ||||
LOGLOCKMOD | Logical Lock Mode | ESELGLCKMD | CHAR | 1 | CHAR1 | ||||
SAVEMOD | Processing type when saving: INSERT, UPDATE, DELETE | ESESAVEMOD | CHAR | 1 | CHAR1 | ||||
SPLIT | Record Split Indicator of a Buffer Record | ESESPLIT | CHAR | 1 | ESDSPLIT | ||||
BUF_ORIG_INDEX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
CHANGENO | Change Number | ESEAENNR | CHAR | 12 | Assigned to domain | AENNR | AENNR | AEN | |
KEYDATE | Key Date | ESEDIAGVD | DATS | 8 | DATUM | ES3 | |||
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
RECN | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
ACTN | Sequential Number of the Change State | ESEACTN | NUMC | 20 | ALPHA | ESDACTN | |||
VALFR | Valid-From Date | ESEVALFR | DATS | 8 | DATUM | ||||
VALTO | Valid-To Date | ESEVALTO | DATS | 8 | DATUM | ||||
AENNR | Change Number | ESEAENNR | CHAR | 12 | AENR | AENNR | AENNR | AEN | |
DELFLG | Deletion Indicator | ESEDELFLG | CHAR | 1 | ESDFLAG | ||||
PARKFLG | Data Record Is Inactive | ESEPARKFLG | CHAR | 1 | ESDFLAG | ||||
CRDAT | Created On | ESECRDAT | DATS | 8 | DATUM | ||||
CRNAM | Created By | ESECRNAM | CHAR | 12 | USNAM | ||||
UPDDAT | Changed On | ESEUPDDAT | DATS | 8 | DATUM | ||||
UPDNAM | Last Changed By | ESEUPDNAM | CHAR | 12 | USNAM | ||||
SRSID | Source of Data | ESESRSID | CHAR | 10 | TCG56 | ESDSRSID | |||
OWNID | Data Provider | ESEVENDRID | CHAR | 10 | Assigned to domain | ALPHA | AD_ADDRNUM | ||
RECNROOT | Sequential Number of Data Record | ESERECN | NUMC | 20 | Assigned to domain | ALPHA | ESDRECN | ||
SUBID | Specification | ESESUBID | CHAR | 12 | SPEC1 | ESDSUBID | ES0 | ||
SBGVID | Report Generation Variant | ESELDEPID | CHAR | 10 | CHRID | ESDLDEPID | ES8 | ||
LANGU | Language | ESELANGU | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
EHSDOCCAT | EH&S Reporting - Document Type | ESEEHDOKAR | CHAR | 3 | ESDEHDOKAR | ||||
INTVERSION | Report Version | ESEREPVERS | NUMC | 5 | NUMC5 | ||||
REPTYPE | Report Category | ESEREPTYPE | CHAR | 10 | TCGL1 | ESDREPTYPE | ES9 | ||
REPSTATUS | Report Status | ESEREPSTAT | CHAR | 2 | CHAR2 | ESI | |||
DMSCAT | Document Management System Type | ESEDMSCAT | CHAR | 3 | ESDDMSCAT | ||||
DMSKEY | Generic Key of a Document | ESEDMSKEY | CHAR | 70 | CHAR70 | ||||
VERSION | Report Version | ESEREPVERS | NUMC | 5 | NUMC5 | ||||
SUBVERSION | Report Version | ESEREPVERS | NUMC | 5 | NUMC5 | ||||
GENDAT | Generation Date of a Report | ESEREPGDAT | DATS | 8 | DATUM | ||||
GENTIME | Time of Generation | ESEGENTIME | TIMS | 6 | UZEIT | ||||
VALDAT | Validity Date of a Report | ESEREPVDAT | DATS | 8 | DATUM | ||||
REQREASON | Reason for Report Request | ESEREQREAS | CHAR | 14 | ESDREQREAS | ||||
RELCHGFLG | Relevant Change Has Been Made | ESEESNTFLG | CHAR | 1 | ESDFLAG | ||||
REM | Note | ESEREM | CHAR | 60 | TEXT60 | ||||
ICL_CONTENT | Identification of Selected Instances | ESEICACT | NUMC | 2 |
Key field | Non-key field |
How do I retrieve data from SAP structure RCGDHBUF using ABAP code?
As RCGDHBUF 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 RCGDHBUF as there is no data to select.How to access SAP table RCGDHBUF
Within an ECC or HANA version of SAP you can also view further information about RCGDHBUF 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