sapdev logo background
sapdev logo sapdev logo
Comments

SAP ST ABAP OBJECTS documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

ST - Access to ABAP Objects from ST
Classes and objects in ABAP objects can be accessed as follows in ST
programs:
  • tt:call-method , call static methods

  • tt:call-method , call instance methods

  • tt:create-object , create objects

  • 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.
  • tt:call-method ,

  • writer , reader

    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.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    STRUCTURE_STYLE_GUIDL
    ST_ABAP_REPRESENTATION




    comments powered by Disqus