BALHDR SAP (Application log: log header) Table details

Dictionary Type: Table
Description: Application log: log header




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




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

BALHDR is a standard SAP Table which is used to store Application log: log header data and is available within R/3 SAP systems depending on the version and release level.

The BALHDR table consists of various fields, each holding specific information or linking keys about Application log: log header data available in SAP. These include LOGNUMBER (Application log: log number), OBJECT (Application Log: Object Name (Application Code)), SUBOBJECT (Application Log: Subobject), EXTNUMBER (Application Log: External ID).. 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: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP BALHDR table 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
MANDANTClient MANDTCLNT3T000MANDT
LOGNUMBERApplication log: log number BALOGNRCHAR20BALOGNR
OBJECTApplication Log: Object Name (Application Code) BALOBJ_DCHAR20BALOBJBALOBJBALOBJ
SUBOBJECTApplication Log: Subobject BALSUBOBJCHAR20BALSUBBALSUBOBJBALSUBOBJ
EXTNUMBERApplication Log: External ID BALNREXTCHAR100BALNREXTBALEXT
ALDATEApplication log: date BALDATEDATS8DATUM
ALTIMEApplication log: time BALTIMETIMS6UZEIT
ALUSERApplication log: user name BALUSERCHAR12Assigned to domainXUBNAME
ALTCODEApplication Log: Transaction code BALTCODECHAR20TSTCTCODE
ALPROGApplication log: Program name BALPROGCHAR40TRDIRPROGNAME
ALMODEApplication Log: Operating mode (Batch,Batch Input,Dialog) BALMODECHAR1BALMODE
ALTEXTApplication log: Standard text BALTEXTCHAR28CHAR28
USEREXITPApplication Log: Callback: Program name BALUEPCHAR40TRDIRPROGNAME
USEREXITFApplication Log: Callback: Routine name BALUEFCHAR30CHAR30
PROBCLASSApplication Log: Log problem class BALPROBCLHCHAR1BALPROBCL
ALDATE_DELApplication log: expiry date ALDATE_DELDATS8DATUM
DEL_BEFOREApplication Log: Keep log until expiry DEL_BEFORECHAR1BALDELBEF
ALSTATEApplication log: processing status ALSTATECHAR1ALSTATE
USEREXITTApplication Log: Callback: Type (Ext. Perform, FM, etc.) BALUETCHAR1BALUET
ALCHDATEApplication Log: Date of last change BALCHDATEDATS8DATUM
ALCHTIMEApplication Log: Time of last change BALCHTIMETIMS6UZEIT
ALCHUSERApplication Log: User that changed the log BALCHUSERCHAR12Assigned to domainXUBNAME
LOG_HANDLEApplication Log: Log Handle BALLOGHNDLCHAR22SYSUUID_22
TABNAMEApplication Log: Context: DDIC structure name BALTABNAMECHAR30Assigned to domainAS4TABDTB
MSG_CNT_ALApplication Log: Total Number of Messages BALDBCNTALNUMC6
MSG_CNT_AApplication Log: Number of A Messages BALDBCNTANUMC6
MSG_CNT_EApplication Log: Number of E Messages BALDBCNTENUMC6
MSG_CNT_WApplication Log: Number of W Messages BALDBCNTWNUMC6
MSG_CNT_IApplication Log: Number of I Messages BALDBCNTINUMC6
MSG_CNT_SApplication Log: Number of S Messages BALDBCNTSNUMC6
LAST_MSGNRApplicationLog: Last message serial number assigned BAL_LASTNRNUMC6Assigned to domainBALMNR
TIM_STMPApplication log: Time basis for context nametab BALCONTSMPDEC15TZNTSTMPS
DB_VERSIONApplication Log: Database repository format BALDBVERCHAR4BALDBVER
MSG_CNT_P1Application Log: Number of messages with problem class 1 BALDBCNTP1NUMC6
MSG_CNT_P2Application Log: Number of messages with problem class 2 BALDBCNTP2NUMC6
MSG_CNT_P3Application Log: Number of messages with problem class 3 BALDBCNTP3NUMC6
MSG_CNT_P4Application Log: Number of messages with problem class 4 BALDBCNTP4NUMC6
CLIENT_CREApplication Log: Client in which a log was created BALCLIENTCCLNT3Assigned to domainMANDT
CHAR_SIZEApplication Log: Size of a Character in Bytes BALCHARSIZNUMC1NUMC1

Key field Non-key field



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

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

SELECT SINGLE *
FROM BALHDR
INTO CORRESPONDING FIELDS OF WA_BALHDR
WHERE...

How to access SAP table BALHDR

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