R3_GET_APPLICATIONLOG

Retrieves messages from the application log (transaction SLG1) and writes them to a report or file.

Transaction: SLG1
Interface: AE

Syntax

R3_GET_APPLICATIONLOG

Syntax

Description/Format

OBJ[ECT]=

Object name (application code).
Format: script literal

Default value: "*"

You can use the "*" wildcard for any characters.

SUB[OBJECT]=

Name of an object's sub-object.
Format: script literal

Default value: "*"

You can use the "*" wildcard for any characters.

FROM_D[ATE]=

Start date for message selection in the format "YYYYMMDD".
Format: script literal

Default value: "20010101"

FROM_T[IME]=

Start time for message selection in the format "HHMMSS".
Format: script literal

Default value: "000000"

TO_D[ATE]=

Completion date for message selection in the format "YYYYMMDD".
Format: script literal

Default value: current date

TO_T[IME]=

Completion time for message selection in the format "HHMMSS".
Format: script literal

Default value: "235959"

USER=

Name of the user who has triggered a logged event.
Format: script literal

Default value: "*"

You can use the "*" wildcard for any characters.

TAC=

Name of the transaction that has been used to activate a logged event.
Format: script literal

Default value: "*"

You can use the "*" wildcard for any characters..

PROGRAM=

Name of the program that has activated a logged event.
Format: script literal

Default value: "*"

You can use the "*" wildcard for any characters.

MESSAGE_CL[ASS]=

Indicator that a message belongs to a problem class.
Format: script literal

Default value: "4"

Message indicators are values between "1" (very important) and "4" (additional information).

FILE=

Name of the file in which the result (found messages) should be stored.
Format: script literal

The selection result is not written to the report if this parameter is used.

EXTNUMBER=

Application log's external identification number which has been allocated by the application program.
Format: script literal

LOG_C[REATION]=

Operation mode in which the application log has been created.
Format: script literal

Allowed values: "" (default value), "B", "D" and "I"

"" - Any
"B" - Batch
"D" - Dialog
"I" - Batch input

ENCODING=

This script element can be used to select messages according to particular application log criteria. Located messages are regularly written to the AE report. Alternately, you can also write them to a file that has been defined by using the parameter FILE=.

For example, this script element enables access to the SAP Banking Accounts Managements application log. Messages from processes and process networks that were started by a script can thus be analyzed in AE. For more information, see BCA_ACTIVATE_PROCESS.

Tip: Use precise selection criteria in the script element parameters so that the number of application log messages can be handled.

Note: By default, the generated files are stored on the computer on which the agent is installed  (for example, R3_GET_JOB_SPOOL; FILE=).

See also:

seealso

About SAP JCL