Show TOC

LoggingLocate this document in the navigation structure

Use

You can log the execution of queries with the InfoSet query. This enables you to determine which InfoSet query users have analyzed system data when, and with which selection criteria.

Prerequisites

The log is activated and the query is started in the InfoSet query. This means you use one of the following functions in the InfoSet query:

  • Refresh Data (in the output preview)

  • Output

  • Select (only with HR queries)

The log is not used in other cases, that is, if you start the query as an executable program over a menu entry or by using the maintenance transaction for queries in the SAP Query.

Features

The following information is logged when you execute an InfoSet query:

  • the query area

  • the InfoSet used

  • User

  • the date

  • the time

  • all selection fields including the selection values and selection options

  • all output fields

    Note

    The output is not included in the log.

    With the help of the Business Add-In BAdi AQ_QUERY_PROT, you can attach your own log, where you can create a filter or another folder for the log.

    You can find further information on logging and on the BAdi in the SAP NetWeaver IMG under Start of the navigation path SAP Web AS Next navigation step SAP Query Next navigation step Logging End of the navigation path.

Activities
  • You can activate the log by choosing the relevant function in Customizing of the SAP Query or via the maintenance transaction for InfoSets of the SAP Query (see Activating Logging).

  • When you execute an InfoSet query, the specified data from the system is logged. You evaluate the log by using a query or the Data Browser (see Evaluating Logged Data).

You can delete log data you no longer require by choosing the relevant function in Customizing of the SAP Query or via the maintenance transaction for InfoSets of the SAP Query (see Deleting Logged Data).