Start of Content Area

Object documentation Access to ABAP Objects from ST Programs  Locate the document in its SAP Library structure

 

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

 

Calling Static Methods

Calling Instance Methods

Creating an Object

 

 

Data roots, parameters, and variables can be bound to the interface parameters.

 

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.

 

 

 

 

 

 

 

 

 

End of Content Area