Skip to Content
author's profile photo Former Member
Former Member

Merging MS Word with Smartform output

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...


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 29, 2004 at 07: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


    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.