cancel
Showing results for 
Search instead for 
Did you mean: 

Generate the body of the mail attachement through smart form

Former Member
0 Kudos

Hi Experts,

I associated a smart form with an action profile, which when triggered generates an email with pdf doc as attachement.

I acheived this. But I need to generate the body of the mail as well. How can I do this. This is CRM 7.0 system.

Also, I read through few threads which say that the function modules

CONVERT_OTF & SO_DOCUMENT_SEND_API1 can be used in succession so that the mail can be sent through the code, if not from action profile.

But, when I call the function module generated by the smart form, I am not getting any output in the output parameters 'JOB_OUTPUT_INFO' or 'JOB_OUTPUT_OPTIONS'. when I did a print preview, the smart form displayed the data well.

Did any of you happen to face this. Any ideas/suggestions in this regards would be of great help.

Regards,

Kris.

Accepted Solutions (1)

Accepted Solutions (1)

jaideepsharma
Active Contributor
0 Kudos

Hi,

Call SMARTFORM function module passing GETOTF as 'X' in control parameter. This will return you the OTF in JOB_OUTPUT_INFO-OTFDATA Table.

KR Jaideep,

Former Member
0 Kudos

Thanks Jaideep. It worked.

Answers (0)