cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Convert doc files into rtf files using the WWI server

michael_schmalfeldt2
Participant
0 Likes
226

Hi,

I need to convert Microsoft Word doc files into RTF files. As I'm not aware of a standard SAP function module that is able to do this I wanted to "abuse" the WWI server to do this for me. But the server returns a WWI resolve error. Is there any way of getting the WWI to do this conversion? Maybe an entry in the wwi.ini file?

Thanks and regards, Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_bergemann
Active Contributor
0 Likes

Dear Michael

as you may be know: there is an useriext availble in the  context of the WWI.ini. An example of the use of this exit is the generation of a pdf file on WWI server. PLease check EH&S customizing (adaption of WWI.ini) and this FORUM (here you will find the corresponding OSS note to generate pdf files).

Main question: what is your business need? Why do you need the conversion?

In most cases this approach might be simple: WinWord does contain a VBA (.net) option. Therefore by generating a "macro" you can read word documents from a file destination (folder; processing file by file) and process them in Word to store them either in the same folder or in a different folder as RTF files. This VBA (.net) approach is quite easy to use and an experienced VBA (.net) developper can generate the code roughly at least 2 days. But you can try to "record" the load of the Word File the conversion to RTF your self and then only the "mass" update code (read any file etc.) need to be added.

Back to you original question: I do not know any SAP function module etc. which would do the work for you. In "theory" you could prepare a report which reads from file server the Word Documents and start a local WordProcess using this macro approach etc. etc.

If the effort is worth the result need to be decided by you.

This macro approach is used in WWI technique and in output variant EXCEL and is quite helpful (if you understand the main SAP approach).

With best regards

C.B.

PS: regarding OSS note to perform conversion doc to pdf file: refer to e.g. http://scn.sap.com/thread/3200266