Fonction SAP APPL_LOG_DISPLAY - Application Log: Display log

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COLUMN_SELECTION BALDISP u 14 '11112221122 ' X Selection of columns in the header list
COLUMN_SELECTION_MSG_JUMP BALDISP2-MSG_JUMP C 1 '1' X
DATE_FROM BALHDR-ALDATE D 8 SY-DATUM X Date: Lower limit
DATE_TO BALHDR-ALDATE D 8 SY-DATUM X Date: Upper limit
EXTERNAL_NUMBER BALHDR-EXTNUMBER C 100 SPACE X external number
EXTERNAL_NUMBER_ATTRIBUTE 0 0 X 0 = ready for input, 1 = display, 2 = hide
EXTERNAL_NUMBER_DISPLAY_LENGTH I I 4 20 X
I_SRT_BY_TIMSTMP BOOLEAN C 1 SPACE X Sort Logs by Timestamp ('X') or Log Number (SPACE)
I_S_DISPLAY_PROFILE BAL_S_PROF v 1680 X
I_VARIANT_REPORT SYST-REPID C 40 SPACE X
OBJECT BALHDR-OBJECT C 20 SPACE X Object name
OBJECT_ATTRIBUTE 0 0 X 0 = ready for input, 1 = display, 2 = hide
SUBOBJECT BALHDR-SUBOBJECT C 20 SPACE X Subobject name
SUBOBJECT_ATTRIBUTE 0 0 X 0 = ready for input, 1 = display, 2 = hide
SUPPRESS_SELECTION_DIALOG 0 SPACE X Suppress selection screen
TIME_FROM BALHDR-ALTIME T 6 '000000' X Time: Lower limit
TIME_TO BALHDR-ALTIME T 6 SY-UZEIT X Time: Upper limit
TITLE_LIST_SCREEN 0 SPACE X Log display title
TITLE_SELECTION_SCREEN 0 SPACE X Selection screen title

Paramètre Reférence Type Long. Description
NUMBER_OF_PROTOCOLS SYST-DBCNT I 4 Number of logs read

Exception Description
NO_AUTHORITY no authorization for displaying the logs

Functionality
You can enter the object, subobject, or external number (a generic entryis also possible).
For the object, subobject, and external number you can also specifywhether the field on the selection screen is ready-for-input ( = 0),display only ( = 1), or is hidden ( = 2).
The default setting is that all fields are ready-for-input.
If the object or subobject are not specified, the corresponding fieldsmust be ready-for-input (because object/subobject = space does notexist).
If the object, subobject, and external number are specified and you wantto hide them, another screen is used.

Example
See program RSSLG150.

Notes

  • The authorization object S_APPL_LOG is checked. If the authorization
  • check fails, the exception NO_AUTHORITY is triggered.
    If you use this function module, check whether the profile of the userof your program needs the authorization to analyze or delete logs.
    INCLUDE BAL_TP_SRT_BY_TIMSTMP OBJECT DOKU ID TX