Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML →  Transformations for XML →  ST - Simple Transformations 

ST - Access to ABAP Objects from ST

Classes and objects in ABAP objects can be accessed as follows in ST programs:

Data roots, parameters, and variables can all be bound to the interface parameters at the same time.

Calling methods also allows access to the current XML stream.

Other versions: 7.31 | 7.40 | 7.54


Note

When you bind data nodes, you must remember that the content of a data root cannot be modified by serialization; only write access is possible to a data root during deserialization. This places a strong restriction on the use of data nodes as actual parameters. Since parameters and attributes for general use cannot be serialized or deserialized (unless they contain an elementary value), methods called from ST programs are mainly suited for editing elementary values (for example, for conversions). You can circumvent this restriction by accessing an ABAP data object bound to a data root in the called method.

Continue

ST - tt:call-method, Call Static Methods

ST - tt:call-method, Calling Instance Methods

ST - tt:create-object, Creating Objects

ST - tt:call-method, writer, reader, XML Stream