on 01-11-2008 4:55 PM
Hi,
Many of you would have worked on converting smartform output to PDF format..
Has anyone worked on converting smartform output to Word file. Is yes, Could you plz let me know how to do it.
Thanks,
Vivek
Hi Guys,
I dont think CONVERT_OTF works to create word file..Has any body worked on OLE concept. If yes can u tell me how to do it..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Below is the step by step documentation on OLE programming
Hi Guys,
Thanks a lot for all your replies..Let me check which is useful and get back to you guys..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
Check this link.The code for converting is given there.
CONVERT_OTF will not work as only ASCII and PDF are supported by this function.
What you could do is convert your output to RTF, but you would lose the formatting of the Smartform.
You could also take a look at function PRINT_TEXT_FORMAT_DOC for more ideas, but this prints Standard (SO10) texts.
Or else you can also try to convert the Smartfom to XML .
Then convert XML to a word file.
Regards,
Kashyap Ivaturi
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.
Hi Vivek,
first convert the smart form in to RTF format using the function module CONVERT_TO_RTF and using GUI_DOWNLOAD for download to desktop or else where.
OR
using 'COVERT_OTF' try these steps once
1. From the smartform you have got the function module created by SAP right..
and you are calling this function module in you ABAP program..
2. Now one of the the output parameter of this function module will be output_info.
From this you will get the OTF data for your smartform..
3. Now pass this OTF data to function module CONVERT_OTF and in the
call of this func mod.pass format as 'DOC' (check if we can pass this ) this will
convert our OTF data to DOC format..
4. Now make use of GUI_DOWNLOAD func mod. to download the data to
presentation system...
Regards,
Goutham.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.