SAP ST TT CALL-METHOD WRITERREADER



Get Example source ABAP code based on a different SAP table
  



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

ABAP_SYNTAX
< tt:call-method class='class'$|var='oref'
$[s-$|d-$]name='meth'
...
writer='p_writer'
reader='p_reader'>
...
< /tt:call-method>

What does it do?
In the statistic method or instance method called from an ST program, the attributes writer and reader can be used to access the current XML stream where the serialization or deserialization is currently 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 writer stream. In deserialization, the parameter of type p_reader is passed a reference to the current reader stream. In the method meth, these parameters can be used to work with the XML stream.