Show TOC

Field Values in LogpointsLocate this document in the navigation structure

Using this logpoint parameter, you can specify a list of ABAP data objects, except literals, that are valid at the current source code position at runtime. The particular ABAP data objects in the list have to be separated by a SPACE or comma.

According to the FIELDS addition of the (static) LOG-POINT statement in ABAP, the Field Values in dynamic logpoints are used in log results. One or multiple Field Values in dynamic logpoints are written for each aggregated log entry.

A log entry is only updated for a logpoint event with identical Key Definition. Otherwise, if the Key Definition of the log event differs from the previous one, a new log entry is created.

More on this: Processing Logpoints at Runtime

In contrast to the Key Definition, you can also specify internal tables and deep structures as data objects for Field Values. In addition, you can add special built-in functions to the results list. Each built-in function has a specific return value that is added to the log results.

Restriction You cannot use literals or any kind of references (TYPE REF TO <object> or TYPE REF TO DATA) as Field Values for logpoints.
Remember In case of aggregated log entries the log result contains the values of the last log event.
Examples:

	sy-uname sy-host 
	
	name, street, city zip_code
	
	stack( ), itab