Show TOC

ABAP Data Objects and Their Notations in Logpoints Locate this document in the navigation structure

To specify the condition, key definition, or resulting field values of a dynamic logpoint, uses the same notations of ABAP data objects (variables, literals) that you would use during debugging at the same source position.

As you already know from using the ABAP Debugger, for displaying variable content you can use the variable name you would use in the ABAP source code at that debugging position or you can use special debugger notiations that are not valid in ABAP source code, for example:

			
 	
 	itab[1]
 	
 	{O:23!CL_BASE_CLASS}-private_attr
 	
	(SAPMSSY0)ORDERS
	
Literals in Logpoints

Literals are used in conditions and in key definitions of dynamic logpoints. Note that literal support is not provided for the field values (results).

As you already know from ABAP syntax, the following types of literals are also valid in logpoints:

Character Literals

Character literals are identified by single quotes:

‘This is a type C literal’

‘123456789’

Note Character literals have ABAP type C.
String Literals

String literals are identified by back quotes:

`This is a string`

`123456789`

Note String literals have ABAP type STRING.
Numeric Literals: Type I and Type P

Numeric literals consist of only number characters, optionally introduced by a ‘-’ character, indicating a negative value:

123456789

-123456789