on 01-20-2011 7:53 AM
hi experts
I used the following code to download a file to local
CALL METHOD cl_wd_runtime_services=>attach_file_to_response
EXPORTING
i_filename = l_wrk_filenm
i_content = lv_result
i_mime_type = 'DAT'
.
but my problem is that if I pass a english name to i_filename , everything is fine, if I pass a japanses name to it, it seems the system can not recognize the file type....
any hint?
tks and regards
BTW, could anyone tell me how can my program know if the user canceled the dialogue box or saved the file or open directly?
tkx
Edited by: sun wanlei on Jan 20, 2011 8:53 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
u should find a function module which changes the language back to english b4 transporting it to the method.....
this is the best way to solve ur prob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.