I have created an XML DOM tree and it is saved in an internal table of type
BEGIN OF xml_line,
data(256) TYPE x,
END OF xml_line.
I need to store this in the application server. The code that I'm using to copy the contents are as follows:
OPEN DATASET w_xml_out_file FOR OUTPUT
IN BINARY MODE.
IF sy-subrc EQ 0.
LOOP AT t_xml_table INTO f_xml_table.
TRANSFER f_xml_table TO w_xml_out_file.
CLOSE DATASET w_xml_out_file.
I downloaded this file from the application server onto my presentation server and checked its contents.
The problem is that all the data is not present in this output XML file. It is taking only some data.
When I use the same table to generate an output file directly on the presentation server, it does not have any problems.
Any help on the above issues is appreciated.