cancel
Showing results for 
Search instead for 
Did you mean: 

Error when open multiple XML documents

Former Member
0 Kudos

When open one generated xml document, below method works.

But when add it in the loop, open several xml at one time, the xml files can not be opened.

Can anyone helps on this> Thanks very much.

cl_wd_runtime_services=>attach_file_to_response(

EXPORTING

i_filename = 'test.xml'

i_content = lv_xfile

i_mime_type = 'application/xml' ).

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

we changed the open_type from XML to Word and this problem solved. perhaps it is a bug in WD?

loop.

cl_wd_runtime_services=>attach_file_to_response(

exporting

i_filename = filename

i_content = lv_xfile

  • i_mime_type = 'application/xml'

i_mime_type = 'application/word' i_in_new_window = 'X' ).

endloop.