Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Merge

Former Member
0 Kudos

Hi All,

I am working on Mail Merge and following is the scenario...

Step1: Open the Mail Merge Template

Step2: Merge the fields

Step3: Save the document using Archive Links

This is achieved. However, we need the document to be made protected/read-only for the security reasons.

Any inputs will be appreciated.

Following classes are used to achieve this:

I_OI_CONTAINER_CONTROL

I_OI_DOCUMENT_PROXY

I_OI_MAIL_MERGE

Cheers,

Kunjal

3 REPLIES 3

Former Member
0 Kudos

Solved it myself.

Used methods of the same class of downloading the binary file data and re-uploading the same in protected mode.

However, Password protection is not possible.

albert_israel2
Explorer
0 Kudos

Hi Kunjal,

I am having a problem with the mail merge class. The mail merge is working as long as I have on entry in the data_table. When I use more than one entry, and preview the document, it doesn't seem to work. I have tried with both merge_one method and merge_range method. Any thoughts? Can you post your sample code?

Thanks.

Albert

0 Kudos

I found the sap demo program SAPRDEMO_MAILMERGE_INTERFACE.

Thanks.

Albert