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: 

Add Text to outbound mail in action processing / form as PDF

Former Member
0 Kudos

Hi Experts!

We want to add some (static) text into outbound mails, that are sent during action processing of our smartforms. Here´s what where were standing so far:

- We are using actions within transaction processing to send a service report to customers

- We have created a smartform and defined action profiles for our transaction type

- We have configured the output format for SAPScript and Smartforms to PDF in SMTP node of SCOT

- We can successfully send e-mails from our activity containing the smartform as a .pdf attachment

However, the body of the mail message is empty, which is not what we need. We would like to add some (static) text, like "Dear Customer! This is your service report, etc..." to the body of the message.

Has anybody ever done anything similiar within or at least close to the standard? We want to avoid having to code everything by ourselves, i.e. using SO_NEW_DOCUMENT_ATT_SEND_API1 or similar FM´s.

Points will be rewarded for useful answers!!

Thanks a lot & Regards

Christoph

1 REPLY 1

Former Member
0 Kudos

Hi all!

We fixed the issue ourselves- just in case somebody wondered how we did it:

We have implemented the suggestions given in OSS 935670 in our processing class/method for SmartForm Mail and SmartForm Fax.

Regards

Chris