27.04.2013 Views

SAP Basis

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Unit 15: Structured Troubleshooting ADM100<br />

In expert mode (menu path Edit → Expert Mode), you can extend the<br />

selection criteria so that it is possible to search for entries for a particular<br />

terminal. To do this, choose the Attributes button.<br />

In UNIX systems, you can display the status of the send process in the <strong>SAP</strong><br />

system with transaction SM21 or by choosing Environment → Process Status.<br />

You can define the path and file names for local and central log files with<br />

the following system profile parameters:<br />

• rslg/local/file: Filenameforthelocallog(Default:SLOG)<br />

• rslg/central/file: Filenamefortheactivecentrallog(Default:SLOGJ);<br />

does not apply for Microsoft Windows NT and AS/400 platforms<br />

By default, the log files for the local system log are stored in the following<br />

directory: /usr/sap///log. The central system log is<br />

stored in /usr/sap//SYS/global<br />

You can also schedule system logging as a background job. There are two<br />

ABAP programs provided to do this:<br />

• RSLG0000: To create the local system log<br />

• RSLG0001: To create the central system log (not on Microsoft<br />

Windows NT and AS/400 platforms)<br />

At this point, you can demonstrate transaction SM21. Display details<br />

for a message in the system log and jump from SM21 to the profiles: In<br />

transaction SM21, choose Environment → Display <strong>SAP</strong>PARAM.<br />

Dump Analysis<br />

ABAP programs are checked statically when they are created and<br />

dynamically when they are running. Error states, which are not statically<br />

predictable and only occur at runtime are dynamically identified by the<br />

ABAP runtime environment. States of this type lead to exceptions. If an<br />

exception is not handled or cannot be handled, a runtime error occurs.<br />

If a runtime error occurs, the ABAP runtime environment terminates<br />

the execution of the program, generates a short dump and branches to<br />

a special screen for analyzing the short dump. You can also find short<br />

dumps in transaction ST22 or by choosing the menu path Tools → ABAP<br />

Workbench → Test → Dump Analysis<br />

538 © 2003 <strong>SAP</strong> AG. All rights reserved. 2003/Q3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!