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.

The call of methods also allows access to the current XML stream.

Other versions: 7.31 | 7.40 | 7.54


When binding data nodes, it must be remembered that the content of a data root cannot be modified in serializations and only writes can be performed on a data node in deserializations. 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). This restriction can be bypassed by accessing an ABAP data object bound to a data root in the called method.


ST - tt:call-method, Call Static Methods

ST - tt:call-method, Calling Instance Methods

ST - tt:create-object, Create Objects

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