Skip to Content
0
Former Member
Jul 02, 2014 at 10:40 AM

abap file with xml code not work with internet-explorer !! why?

108 Views

Hi all,

I have 1 file PIPPO.XML

I have create with ABAP program the same records in other file: PLUTO.XML

I used this internal table:

data: begin of TB_XML occurs 0,

line(255).

data: end of TB_XML.

in abap program I forced the values ​​in the internal table with the move. (same records of PIPPO.XML).

example:

TB_XML-line = '<IdFiscaleIVA>'.

append TB_XML.

TB_XML-line = '<IdPaese>IT</IdPaese>'.

append TB_XML.

TB_XML-line = '<IdCodice>01234567890</IdCodice>'.

append TB_XML.

TB_XML-line = '</IdFiscaleIVA>'.

append TB_XML.

etc etc....

and I have dovnloaded PLUTO.XML with:

CALL FUNCTION 'WS_DOWNLOAD'

EXPORTING

filename = 'C:\PLUTO.XML'

filetype = 'ASC'

TABLES

data_tab = TB_XML.

I used internet explorer:

the 1° file (PIPPO.XML) open in mode XML.....

2° file (PLUTO.XML) not open in mode XML but TXT mode...

WHY?

the records of 1 and 2 file is equal

I have to convert the TB_XML before download?

Please,

Help me, please.

best regards,

Marco.