SAP ST USING



Get Example source ABAP code based on a different SAP table
  


• using ABAP_ST_ELEMENT

ABAP_ST - using, Preconditions

ABAP_SYNTAX
... using='...' ...

What does it do?
The following preconditions can be specified for the content of the attribute using of an element tt:cond : PreconditionMeaning exist(node)Met if an ABAP data object is bound to the node. type-...(node)Met if an ABAP data object of type ... is bound to the node
Each built-in ABAP type has a precondition type-... where the data type is specified in uppercase letters (see examples). The operand node can be a data node, which must be specified in a special form.
A single precondition can be specified as a comma-separated list of multiple of the above preconditions. A precondition like this is met is met if all preconditions 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_USING1 is respected in serializations only if the ABAP data object bound to ROOT is of type c.
TRNS DEMO_ST_USING1
Instead of type-C(ref('ROOT')), type-C(ROOT) is of course also possible here.
ABAP_EXAMPLE_END

ABAP_EXAMPLE_VX5
The element X that is defined in DEMO_ST_USING2 is not ignored in serializations only if the ABAP data object bound to ROOT1 is of type int8 and the ABAP data object bound to ROOT2 is of type d.
TRNS DEMO_ST_USING2
ABAP_EXAMPLE_END