‎2010 Jul 28 7:11 PM
Hi All,
I am trying to download XML data present in application server to presentation server....However it is not successful...help!
Reading XML data from application server using OPEN DATASET IN BIANRY MODE statement into a variable lv_string of type string.
Later I append the data to an internal table.
Then when I try to download data using GUI_DOWNLOAD function module passing the above internal table.....it fails....it creates an empty file
May be I am missing some step in between....
Pls note I am using 4.6c
‎2010 Jul 28 7:34 PM
Hello,
Try Passing file type = BIN to the FM GUI_DOWNLOAD.
Thanks.
Ramya.
‎2010 Jul 28 7:34 PM
Hello,
Try Passing file type = BIN to the FM GUI_DOWNLOAD.
Thanks.
Ramya.
‎2010 Jul 28 7:38 PM
I am already passing type as 'BIN'....
Can you tell me whether the following statements are correct....
TYPES: BEGIN OF ty_xml,
data type xstring,
END of ty_xml.
DATA: lt_xml_table TYPE STANDARD TABLE OF ty_xml.
DATA: lv_String TYPE xstring.
READ DATASET lv_path INTO lv_String.
APPEND lv_String to lt_xml_table.
This is what I am currently using.....
‎2010 Jul 28 8:09 PM
Please try this.
TYPES: BEGIN OF ty_xml,
data type xstring,
END of ty_xml.
DATA: lt_xml_table TYPE STANDARD TABLE OF ty_xml with header line.
DATA: lv_String TYPE xstring,lv_path type string.
READ DATASET lv_path INTO lv_String.
lt_xml_table-data = lv_String.
APPEND lt_xml_table to lt_xml_table.
‎2010 Aug 10 3:34 PM