SAP ST DATA



Get Example source ABAP code based on a different SAP table
  


• data ABAP_ST_ELEMENT

ABAP_ST - data, Assertions

ABAP_SYNTAX
... data='...' ...

What does it do?
The following assertions can be specified for the content of the attribute data of an element tt:cond : AssertionMeaning initial(node)Met if the bound ABAP data object is initial initial(var(variable))Met if the variable is initial. dnode$|var(variable) = value, value = dnode$|var(variable) Met if the value of the connected ABAP data object or the variables corresponds to the value specified in value.
The operands of the assertions can be data nodes, variables, or values.
Data nodes node are specified in a special form.
Variables are specified in the form var(variable), where variable is a variable or a parameter.
Values value are ABAP values in the associated representation.
An assertion can be specified as a comma-separated list of multiple of the above assertions. An assertion of this type is met if all assertions in the list are met. Within the list, every data node may appear only once.

ABAP_EXAMPLE_VX5
The element X that is defined in DEMO_ST_DATA1 is respected in serializations only if the ABAP data object bound to ROOT is 11.
TRNS DEMO_ST_DATA1
The element X that is defined in DEMO_ST_DATA2 is respected in serializations only if the value of the ABAP data object bound to ROOT1 is initial and the value of the ABAP data object bound to ROOT2 is 22.
TRNS DEMO_ST_DATA2
ABAP_EXAMPLE_END