cancel
Showing results for 
Search instead for 
Did you mean: 

an case about the file name download to local

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

visit this forum...it can help u

[|]

Former Member
0 Kudos

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