2007 Aug 24 1:42 PM
Hi:
Can someone help me with a sample program that will open an existing ms word file (on local pc ..c:\temp\testtemplate.doc) and modify/supply the value of a field.
I already have the program that will open and print the word document from a custom abap program. The MS word has a field defined in on of the paragraphs and I am looking for help in how to pass data to that field.
It is possible for me to have the template changed and use a macro or table cell if that is more appropriate.
I would greatly appreciate and reward. Thanks.
-Giri
2007 Aug 24 1:49 PM
Hi,
Try tcode DWDM.
Regards, Dieter
Search in this forum for OLE and MS-WORD lot of
Thread.
Regards, Dieter
Message was edited by:
Dieter Gröhn
2007 Aug 24 3:15 PM
Hi, I have the program that does mostly what I needed. Open a local .doc file, print it.
I have also saw code that will insert the text I needed. However, I want to insert that text at a particular line (example 5th line on the 1st page).
Can someone help. thanks.
-Giri