Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Dynamic parameters can be used in notification customizing, notification trigger definition and task transaction definition. To check, whether given field value can be entered as dynamic parameter, please refer to Performance Assistant (F1 help) for the field in SAP-GUI. For example:

image-20240404-100926.pngImage Removedimage-20240918-105957.pngImage Added

Definition

Dynamic Parameter type

Dynamic parameters can be used in multiple ways. Here is the detailed description of all types of usage.

...

Constant value

Character-like constants (string literals) must be entered in quotes.

Numeric-like constants can be entered directly, using internal format.

Date and time can be provided as a string, using internal format.

Usage syntax:

Code Block
<attribute>

Examples:

  • Strings:

o   'A001'

o   'Long description'

  • Numbers:

o   123

o   99.78

o   -5

  • Date:

o   '20230123'

  • Time:

o   '081500'

Reference to global variable

Dynamic parameter can refer to any global variable. It means any variable, that is accessible globally from the ABAP scope in the Communication Framework runtime. It can be for example:

  • Reference to system field (ABAP SYST structure).

o   Predefined variable provided by the Communication Framework (refer to documentation for list of all available variables).

  • Reference to any static attribute of any global class.

o   In that case class name is specified as attribute and class attribute is specified as subattribute.

Usage syntax:

Code Block
<attribute>[-<subattribute1>[-<subattribute2>…]]

Examples:

  • System fields:

o   sy-uname

o   sy-tcode

o   sy-datum

  • Predefined variables:

o   task_priority-low

o   true

o   false

  • Static attributes of any global class:

o   cl_abap_char_utilities-cr_lf

Reference to predefined objects of the framework

xxxx

All references in dynamic parameter are case-insensitive, except of string literals. It means that $ctx‑reference_no works the same as $CTX‑REFERENCE_NO. But $tsk‑$property('VIN') is not the same as $tsk‑$property('Vin') although internal implementation of the corresponding function (like built-in function property for Task instance) can ignore case for input parameters.

...