12-28-2004 9:57 PM
Hi Guys,
I have a requirement of merging the content of a Microsoft Word file with the output of a custom smartform being executed from a custom driver program. The requirements are as follows:
1. The program should read a word document from user's local machine and/or application server and print it before the smartform output is printed.
2. The content of the word document (read from the user's local machine or appln server) needs to be converted to xml and inserted into beginning of the xml file that is generated by the smartform. The xml file from the smartform is being generated through setting SSFCOMPOP-XSF etc. parameter.
Thanks in advance for your help...
Nilay
12-29-2004 7:09 AM
For Query 1
-
You can write a simple ABAP program, read Microsoft word file, print it, then call the SMARTFORM FM and print it. For this you can check out FM <b>'MS_WORD_OLE_FORMLETTER'</b> or perhaps use OLE option to read Microsoft Word Documents.
For Query 2
-
Check out documentation for CALL TRANSFORMATION and SIMPLE TRANSFORMATION(ST).
For simple transformation, you need to have Netweaver '04 components installed. For CALL TRANSFORMATION, you need SAP 4.7
Regards,
Subramanian V.