Select language:

Procedure documentationDisplaying Error Log

 

The error logging function provides information about all errors happening during the processing in the SOAP runtime. The system writes an entry in the error log for any Web service error, both for synchronous and asynchronous Web service communication. You can use the error log to:

  • Check the recommended action for an entry, and try to solve the problem or ask for help from the administrators or SAP Active Global Support.

  • Use information such as the names of the interface and the operation, the message ID, and the user ID to perform further analyses in the Message Monitor and the Sequence Monitor.

  • Use the information about an error to activate the tracing function and analyze the error in detail.

Consider that the error log contains entries only for errors that occur during runtime. It does not contain information about activities such as changes to the Web service configuration, deletion or cancellation of Web service messages, or termination of Web service sequences. You can find information about these activities using the SOAP Configuration Management tools. More information: Application Log – (BC-SRV-BAL)

Prerequisites

  • You have activated and configured logging. More information: Configuring Logging

  • Your user is assigned one of the following roles:

    • SAP_BC_WEBSERIVCE_ADMIN_BIZ allows you only to view the error log.

    • SAP_BC_WEBSERIVCE_ADMIN_TEC allows you to view and manage the error log.

    More information: Authorizations

Procedure

  1. Start transaction SRT_UTIL.

  2. Choose Error Log.

    The error log displays by default the entries for the current day for all users.

  3. To find log entries that are not displayed, choose Select Logs and set the search parameters.

  4. You can change the expiration date for a log entry by selecting it and choosing Change Expiry Date (Change Expiry Date).

    The number of days for which the error log keeps the error entries can be configured for each SAP client of an ABAP system.

Result

The system displays error log entries according to the search criteria you specified. The displayed information can help a Web service user or system administrator to solve Web service issues.

Recommended Action

Choose Show recommended action (Show recommended action) in the Long Text column for an error log entry. This way you can obtain information about the error diagnosis, the system response, and recommendations on what a Web service user or administrator can do to solve the problem.

Error Details

By default, the system displays general information such as date and time, client ID, operation ID, user name, consumer proxy or server proxy, error category, component, package, and many other details.

You can choose to display or hide columns as needed. More information: Showing and Hiding Columns

Additional Information

In addition to the general information, you can obtain additional useful information in one of the following ways:

  • Choose Summarize Logs to view a summary of error log entries.

  • You can see the error context for a log entry by selecting the entry in the list and choosing Error Context.

    The error context contains variable data delivered by an SOAP Runtime component, and also information about the current consumer or provider configuration.

  • To view the basic details or the source of a log entry, you need to select the entry in the list and choose Details (Details) or View Source Code (View Source Code), respectively.

  • Choose Download as XML (Download as XML) to download a log entry as a file.

    You can send this file to your colleagues or to SAP Active Global Support when you need to discuss errors.

  • Choose the link in the Consumer/Server Proxy column for an error log entry to receive more information about the corresponding ABAP proxy object. More information: Displaying ABAP Proxy Objects

  • For asynchronous messages, you can choose the link in the Message ID column to display details about the corresponding XML message. More information: Monitor for Processed XML Messages

  • Choose the link in the Sequence ID column for an error log entry to receive more information about the corresponding sequence. More information: Monitoring Sequences

  • Choose the link in the Queue Name column for an error log entry to access the bgRFC monitor, where you can obtain information about the corresponding bgRFC units. More information: bgRFC Monitor

More Information

Transaction SOAMANAGER also provides error and trace logs for the Web service runtime. The tools provided by this transaction are based on a different logging and tracing concept. They are configured, implemented, and viewed independently of the Web service support utilities described here. More information: Displaying Logs and Traces

The Web service support utilities can be integrated in transaction SOAMANAGER in future releases.

Was this page helpful to you?