Hi,
how Can I resolve downloading xml file from http server (internet) and built istream -> parse xml file. I build istream from itab but i would like whole process solve in abap code because i just use function ws_upload. If i try use
create_istream_uri( 'http://www.edi.com/file.xml' ) it doesnt work. Till now I must download xml file from this url manualy a then use this function and parse it, .....
*CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = lv_file_url
filetype = 'BIN'
IMPORTING
filelength = xml_table_size
TABLES
data_tab = xml_table
EXCEPTIONS
OTHERS = 11.
ixml = cl_ixml=>create( ).
streamfactory = ixml->create_stream_factory( ).
*istream = streamfactory->create_istream_itable( table = xml_table
size = xml_table_size ).
Thanks, zd.