Skip to Content
0
Former Member
Feb 04, 2010 at 02:47 PM

Error document.getElementById(...) in function 'SCMS_STRING_TO_XSTRING'

64 Views

I want export informationu2019s in a document Excel, I use the follow code:

CALL FUNCTION 'SCMS_STRING_TO_XSTRING'

EXPORTING

text = texto

IMPORTING

buffer = xtexto.

wdr_task=>client_window->client->attach_file_to_response(

i_filename = 'wdp.xls'

i_content = xtexto

i_mime_type = 'EXCEL'

).

But I have a error:

document.getElementById(...) it is null or don't is object,

Please help me, thank in advance,

Lady