DB6_HADR SAP (DB6: HADR) Structure details

Dictionary Type: Structure
Description: DB6: HADR




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




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

DB6_HADR 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 "DB6: HADR" 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_DB6_HADR TYPE DB6_HADR.

The DB6_HADR table consists of various fields, each holding specific information or linking keys about DB6: HADR data available in SAP. These include TIME_PERIOD (), HADR_ROLE (), REPLAY_TYPE (), HADR_SYNCMODE ().. 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: Cannot Be Enhanced


SAP DB6_HADR 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
SNAPSHOT_TIMESTAMPDBA: ISO conform timestamp with ms precission DB6DATETIMCHAR26
TIME_PERIOD 0
HADR_ROLE 0
REPLAY_TYPE 0
HADR_SYNCMODE 0
STANDBY_ID 0
LOG_STREAM_ID 0
HADR_STATE 0
PRIMARY_MEMBER_HOST 0
PRIMARY_INSTANCE 0
PRIMARY_MEMBER 0
STANDBY_MEMBER_HOST 0
STANDBY_INSTANCE 0
STANDBY_MEMBER 0
HADR_CONNECT_STATUS 0
HADR_CONNECT_STATUS_TIMEDBA: ISO conform timestamp with ms precission DB6DATETIMCHAR26
HEARTBEAT_INTERVAL 0
HADR_TIMEOUT 0
TIME_SINCE_LAST_RECV 0
PEER_WAIT_LIMIT 0
LOG_HADR_WAIT_CUR 0
LOG_HADR_WAIT_TIME 0
LOG_HADR_WAITS_TOTAL 0
SOCK_SEND_BUF_REQUESTED 0
SOCK_SEND_BUF_ACTUAL 0
SOCK_RECV_BUF_REQUESTED 0
SOCK_RECV_BUF_ACTUAL 0
PRIMARY_LOG_FILE 0
PRIMARY_LOG_PAGE 0
PRIMARY_LOG_POS 0
PRIMARY_LOG_TIMEDBA: ISO conform timestamp with ms precission DB6DATETIMCHAR26
STANDBY_LOG_FILE 0
STANDBY_LOG_PAGE 0
STANDBY_LOG_POS 0
STANDBY_LOG_TIMEDBA: ISO conform timestamp with ms precission DB6DATETIMCHAR26
AVG_HADR_LOG_GAP 0
STANDBY_REPLAY_LOG_FILE 0
STANDBY_REPLAY_LOG_PAGE 0
STANDBY_REPLAY_LOG_POS 0
STANDBY_REPLAY_LOG_TIMEDBA: ISO conform timestamp with ms precission DB6DATETIMCHAR26
STANDBY_RECV_REPLAY_GAP 0
STANDBY_REPLAY_DELAY 0
STANDBY_RECV_BUF_SIZE 0
AVG_STANDBY_RECV_BUF_PERCENT 0
MAX_STANDBY_RECV_BUF_PERCENT 0
STANDBY_SPOOL_LIMIT 0
PEER_WINDOW 0
PEER_WINDOW_ENDDBA: ISO conform timestamp with ms precission DB6DATETIMCHAR26
TAKEOVER_APP_REMAINING_PRIMARY 0
TAKEOVER_APP_REMAINING_STANDBY 0
READS_ON_STANDBY_ENABLED 0
STANDBY_REPLAY_ONLY_WINDOW_ACT 0
STANDBY_REPLAY_ONLY_WINDOW_STADBA: ISO conform timestamp with ms precission DB6DATETIMCHAR26
STANDBY_REPLAY_ONLY_WINDOW_TRA 0
PRIMARY_LOG_VOL_MB 0
STANDBY_LOG_VOL_MB 0
STANDBY_REPLAY_LOG_VOL_MB 0
STANDBY_REPLAY_GAP_MB 0
STANDBY_REPLAY_GAP_SECONDS 0
AVG_LOG_WAIT_TIME 0
MAX_HADR_LOG_GAP 0
AVG_REPLAY_LOG_VOL_MB_PER_MIN 0
AVG_PRIMARY_LOG_VOL_MB_PER_MIN 0

Key field Non-key field



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

As DB6_HADR 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 DB6_HADR as there is no data to select.

How to access SAP table DB6_HADR

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