BALHDR_OL2 SAP (Application log: log header) Structure details
Description: Application log: log header
Structure field list including key, data, relationships and ABAP select examples
BALHDR_OL2 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 "Application log: log 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_BALHDR_OL2 TYPE BALHDR_OL2.
The BALHDR_OL2 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), SUBOBJECT (Application Log: Subobject), EXTNUMBER (Application log: external number).. 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 BALHDR_OL2 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 |
MANDANT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
LOGNUMBER | Application log: log number | BALOGNR | CHAR | 20 | Assigned to domain | BALOGNR | |||
OBJECT | Application log: Object name | 0 | |||||||
SUBOBJECT | Application Log: Subobject | 0 | |||||||
EXTNUMBER | Application log: external number | 0 | |||||||
ALDATE | Application log: date | BALDATE | DATS | 8 | DATUM | ||||
ALTIME | Application log: time | BALTIME | TIMS | 6 | UZEIT | ||||
ALUSER | Application log: user name | BALUSER | CHAR | 12 | Assigned to domain | XUBNAME | |||
ALTCODE | Application Log: Transaction code | BALTCODE | CHAR | 20 | Assigned to domain | TCODE | |||
ALPROG | Application log: Program name | BALPROG | CHAR | 40 | PROGNAME | ||||
ALMODE | Application Log: Operating mode (Batch,Batch Input,Dialog) | BALMODE | CHAR | 1 | BALMODE | ||||
ALTEXT | Application log: Standard text | BALTEXT | CHAR | 28 | CHAR28 | ||||
USEREXITP | Application Log: Callback: Program name | BALUEP | CHAR | 40 | PROGNAME | ||||
USEREXITF | Application Log: Callback: Routine name | BALUEF | CHAR | 30 | CHAR30 | ||||
PROBCLASS | Application log: Message problem class | BALPROBCL | CHAR | 1 | BALPROBCL | ||||
ALDATE_DEL | Application log: expiry date | ALDATE_DEL | DATS | 8 | DATUM | ||||
DEL_BEFORE | Application Log: Keep log until expiry | DEL_BEFORE | CHAR | 1 | BALDELBEF | ||||
ALSTATE | Application log: processing status | ALSTATE | CHAR | 1 | ALSTATE |
Key field | Non-key field |
How do I retrieve data from SAP structure BALHDR_OL2 using ABAP code?
As BALHDR_OL2 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 BALHDR_OL2 as there is no data to select.How to access SAP table BALHDR_OL2
Within an ECC or HANA version of SAP you can also view further information about BALHDR_OL2 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