rdisp/TRACE* Parameters

Use

You can use the rdisp/TRACE* profile parameters to set the level of detail and the components that write traces.

You can change the parameters dynamically with the exception of rdisp/TRACE_COMPS, thus changing the trace behavior in productive operation.

Integration

You need these parameters for trace logging.

Features

The following table lists the parameters and their meanings.

Parameter

Meaning

Value Range, Example

rdisp/TRACE

You use this parameter to set the trace level for the dev_* developer trace. The following values are permitted:

Whole number between 0 and 3:

0: No trace.

1: Error messages are written to the trace file.

2: Full trace. The trace entries are dependent on the SAP program traced.

3: Like 2 but data blocks are also traced.

rdisp/TRACE_COMPS

Each SAP component has an abbreviation (see Trace Components).

This parameter controls the status of the components as follows.

Component X

  • Is inactive if the code letter is not in the string (no trace at all)

  • Writes the trace only to level 1 (error) if the component is contained in the string only as a lowercase letter

  • Writes the trace with a higher level if the component is contained in the string as an uppercase letter (and rdisp/TRACE is set accordingly)

Character string consisting of letters for the trace components and the strings All or all.

rdisp/TRACE_LOGGING

This parameter activates trace logging.

The parameter values must have the following syntax:

                    
rdisp/TRACE_LOGGING = on, <n> [k m] [global=on off] off
                        

The first part specifies that logging is active. The value here can be either on or off. If logging is active, you can specify the file size in the second part.

rdisp/TRACE_PATTERN_0

rdisp/TRACE_PATTERN_1

rdisp/TRACE_PATTERN_2

rdisp/TRACE_PATTERN_<xx> ( <xx>=0,1,2) defines a search pattern to automatically switch off the SAP trace. This parameter only has an effect if trace logging is activated using rdisp/TRACE_LOGGING rdisp/TRACE_LOGGING. In this case, the trace files are searched for the search pattern before being automatically reset. If the pattern is found, trace logging is deactivated and the trace level is reset to 1. The following trace files are included in the search:

  • All dev_w* work process trace files

  • dev_disp dispatcher trace files

  • dev_rd gateway trace files

  • dev_icm ICM trace file (if available)

  • dev_ms message server trace file (if available)

    The search pattern can contain the special character * for any character string and ? for any character. Use the backslash ( \) to ensure that special characters are treated as ordinary characters.

Character string that can contain the special characters * or ?.

rdisp/TRACE_SEARCH_LIST

You can use this parameter to specify a list of trace file types to be included in the automatic trace search.

More information: Trace Logging

Special character string.

As a value for this parameter, you can enter a list with the following elements (use a comma or a semicolon to separate elements): ALL, DISP, WP, GWRD, MS, ICMAN

rdisp/TRACE_RESOLUTION

You can use this parameter to control the frequency of the timestamp in the trace files. It specifies how often per second a timestamp is to be written. The default value for this parameter is 1, which means that (at least) one second must separate the timestamps. 0 deactivates the writing of timestamps.

With a parameter value > 0, the milliseconds of the timestamp are displayed in the following format:

"Fri Sep 3 14:47:54:433 2004"

Whole number (between 0 and 10)