on 11-10-2010 10:43 AM
Hello,
I have a requirement to open the word file on the click of LinkToUrl.
Could anyone please explain the steps of doing that?
Regards,
Jyotsna
Hi,
What are we supposed to give in i_content??
The word file is in MIME folder.Could you plesae elaborate on the steps involved?
Regards,
Jyotsna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this method attach_file_to_response to open a Word document :
I hope u have that file stored somewhere in xstring format. If so , use this :
CALL METHOD cl_wd_runtime_services=>attach_file_to_response
EXPORTING
i_filename = 'saurav.doc'
i_content = lv_xstring " Content should be in XSTRING FORMAT
i_mime_type = 'DOC'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.