Tuesday, September 16, 2008

Trace and log

You can find ABAP runtime analysis in the SAP Easy Access menu by choosing the Tools -> ABAP Workbench->Overview ->Test -> Runtime Analysis.

The application log can be accessed using transaction SLG1, or under the following menu path: Supply Network Collaboration -> Tools -> Application Logs -> Display Application Logs.

http://help.sap.com/saphelp_nw04s/helpdata/en/b5/25804258544b76e10000000a155106/frameset.htm

Background documentation Tools for Monitoring the System and Problem Analysis Locate the document in its SAP Library structure

In the SAP system, you find a set of tools for displaying detailed information on user sessions, work processes, and on the servers in your SAP system.

If you want to work with these tools, choose the path Administration ® System Administration on the initial SAP screen, or run transaction S002. The initial screen for system administration appears. The tools are available under Administration and Monitor.

There are also programs that you can use at operating system level to monitor the message server or the gateway.

Note

The information in this section relates to analyzing the system status. For information about centrally monitoring a system landscape, see the Monitoring section.

Tasks

Perform the following tasks when monitoring your systems and analyzing problems:

Task

Description

Structure linkDisplay an Overview of SAP Application Servers

The Application Server Overview (transaction SM51) shows the application servers logged on at the SAP message server. Only these application servers are active in an SAP system.

You can also administer the application servers, and manage and display the status of the users and work processes in all application servers belonging to the SAP system.

Structure linkMonitoring and Administration of the SAP Message Server

If the messages server stops working, it must be restarted as quickly as possible, to ensure system continues to operate trouble-free.

This link leads to information about how to monitor, test, and administer the message server.

Structure linkDisplay and Control Work Processes

The Process Overview (transaction SM50) displays the current status of the work processes on the application server where you are logged on.

The process overview is intended primarily for information-gathering. For example, you can monitor processes to determine if the number of work processes in your system is adequate, to assess if the instance is working to full capacity, to gather information for trouble-shooting, or for tuning.

Structure linkDisplay and Manage User Sessions

In the User Overview (transaction SM04), you can display, log off, and monitor all the users active in the system who are logged on to this application server.

Structure linkCall Trace Facilities

You can use the trace functions to follow the process of various operations in your SAP system. This allows you to monitor the system and to isolate problems that occur.

You can use the trace functions to trace SQL database accesses, ABAP programs, internal operations in the SAP system, and authorization checks using flow traces (developer traces) generated by SAP processes.

Structure linkUsing the SAP Gateway Monitor in the SAP System

The Gateway Monitor is used for analyzing and administrating the SAP Gateway in the SAP system.

The initial screen of the gateway monitor shows all the active gateway connections on this instance.

Structure linkMonitoring RFC Resources on the Application Server

You can monitor the RFC resources on all application servers and thus find out the load incurred by parallel RFCs on a server.

You can also dynamically change the various quotas on all servers.

Structure linkAnalyzing Errors in the System with the System Log

You can use the log to pinpoint and correct errors occurring in your system and its environment.

Structure linkRecording HTTP Requests and Evaluating the Log

If you are using your SAP system as an HTTP client or server, you can record the HTTP requests and evaluate the log file created. The Internet Communication Manager (ICM) and the SAP message server support HTTP logging.

No comments: