Knowledge Base > Automation Engine and Target Systems > SAP > Analyzing System and Application Logs

Analyzing System and Application Logs

AE can be used to read SAP application logs as well as the system log.

Both log types supply information about processing in general and possible error situations. AE provides functions which serve to read the corresponding entries using filters, and store them in a report or file. The result can be analyzed using PREP_PROCESS and PREP_PROCESS_FILE.

A particularity that applies to the system log is that aborted jobs can store their last system log lines in the special SLOG report. This makes error analyses much easier. The number of lines to be kept as well as other settings are defined in the SAP agent's Connection object.

AE JCL for SAP

Script Element

Description

R3_GET_APPLICATIONLOG

Retrieves messages from the application log and prints them in report or file form

R3_GET_SYSTEMLOG

Reads the system log of a SAP system during a defined period of time