Downloading Xml file to application server
Hi All ,
I am converting a internal table into XML fomat using FM 'SAP_CONVERT_TO_XML_FORMAT' and then download it to application serever .
The code to download is
OPEN DATASET p_fpath IN binary mode FOR OUTPUT .
LOOP AT XMLTAB INTO ls_XMLTAB.
TRANSFER ls_XMLTAB TO lv_filename.
The file is downloaded on application with some junk characters in the end . when i open in explorer there an error in bottom of file is the error.
Any input will be great , Thanks
Thanks And Regards