on 07-09-2010 7:50 AM
Hello,
i am trying to send the content of an internel table via mime-download from ITS to open Excel on WebGui.
I am doing this in an Unicode-System.
In fact, the content is shown in Excel, but not correctly.
The chars like 'ÖÜÄ' etc. are not shown correctly.
What do i have to do to avoid this.
Has someone an idea for me?
My coding is something like: mime-download itab tablesize 'application/vnd.ms-excel' .
I suspect that mime-download is unicode-unable?
Regards
Hi Taner,
Are you using the methods from class cl_gui_frontend_services to have this export? You can try using method CLIPBOARD_EXPORT, which contains a call to the ITS_CLIPBOARD_EXPORT function.
You should avoid using any FM to have this export done; the recommended way to have upload/download functionality in your custom program (via WEBGUI) is using the methods from the a.m. class.
I hope this helps.
Best regards,
Cristiano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Cristiano,
no i am not using the class cl_gui_frontend_services, because this does not open excel directly and there does not happen
any download to excel with the class-methods from Web-Gui.
The macro mime-download opens Excel directly, fills Excel with needed data from Web-Gui. It works fine.
The only problem i have is, some of the characters are shown wrong. So i thought, it might be an unicode problem.
We are working in unicode system now. At non-unicode system, all characters are shown as well.
Thanx a lot for answers
Regards
Hello Cristiano,
thanx a lot for your response.
It works with the FM 'ALEWEB_DOWNLOAD'.
But you have to give attention to the parameters:
mime_type = 'application/vnd.ms-excel'
DATA_TYPE = 'RAW'
I dont know how to determine the parameter data_len.
I have just taken a long integer, like 9999999999, it works. But here it must be the data size of the internal table.
Have you got any suggestions?
Regards
Hello Cristiano,
thanx a lot for your response.
It works with the FM 'ALEWEB_DOWNLOAD'.
But you have to give attention to the parameters:
data_len = 999999999
mime_type = 'application/vnd.ms-excel'
DATA_TYPE = 'RAW'
I dont know how to determine the parameter data_len.
I have just taken a long integer, like 999999999, it works. But here must be the data size of the internal table.
Have you got any suggestions?
Regards
Edited by: taner öztürkmen on Jul 13, 2010 6:02 PM
Edited by: taner öztürkmen on Jul 13, 2010 6:03 PM
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.