sapdev logo background
sapdev logo sapdev logo
Comments

SAP ST TT CALL-METHOD WRITERREADER documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

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

Syntax
<(><<)>tt:call-method class="class"|var="oref"
[s-|d-]name="meth"
...
writer="p_writer"
reader="p_reader">
...
/tt:call-method

Effect
In the static method or instance method called from an ST program, the attributes writer and reader can be used to access the XML stream where the serialization or deserialization is taking place.
The called method meth must have an optional parameter with the reference type IF_SXML_WRITER or IF_SXML_READER , depending on the direction of transformation. The name of this parameter can be specified after the writer or reader attributes. In serialization, the p_writer parameter is passed a reference to the current write stream; in deserialization, the parameter of type
p_reader is passed a reference to the current read stream. In the method meth , these parameters can be used to work with the
XML stream.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




ST_TT_CALL-METHOD_STATIC
ST_TT_CAST




comments powered by Disqus