cancel
Showing results for 
Search instead for 
Did you mean: 

Print preview + sending smartform through attachment

Former Member
0 Kudos

Hello experts,

I have one smartform whose output is to be sent as email attachment.

THe porblem is that i need to have preveiw also with email funtionality.

When i give GETOTF paramter as 'X',it doesnot show preview and when i m passing it as blank,then it is not triggering a mail.

May we have both functionalities at the same time.

If yes ,how?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anurodh,

1. First call the smartform passing GETOTF as X and NO_DIALOG as X, by doing this you get the the OTF table which you can send as an attachment.

2. next once you are done with your mail send logic, call the smartform again only for preview

even this looks like a redundant one but there is no way out.

hope this helps.

venkatesh.