cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SCRIPT to MS word(Mail Merge ) Template printing

Former Member
0 Kudos

Hi Experts ,

I have a requirement of printing the script output on the MS word template.

The req is basically for transaction 'LSO_PP40' which uses the MS word mail merge functionality.

There is an Icon in this transaction 'MS word Form Letter' which supports this functionality.

In this transaction whatever is the Script Print layout it can be printed on an MS word

To use this functionality we need to give a MS word template in which the data then gets automatically

populated.

Anybody knows how to design this template ?

There are some standard fields which are present when we create this document/ template.

How to incorporate fields which are not present.

Any ideas ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Can you tell me how you have do this. if you solved this I am having same kind of requirement.

thanks in Advance

Regards,

Gaurav Patwari

HCM ABAP

Former Member
0 Kudos

Please investigate SAP ABAP class i_oi_document_proxy.

with interface get_mail_merge_interface:

http://help.sap.com/saphelp_sm32/helpdata/en/6e/8fc2e3dd0d11d2bdba080009b4534c/content.htm

Store data as attachment you can realize by standard BDS functionality.

Example:

http://www.sap2word.de/abap.html

Hope, it helps

Edited by: Dimy IT dev on Sep 9, 2009 1:49 PM