cancel
Showing results for 
Search instead for 
Did you mean: 

Email a SAPScript Form

Former Member
0 Kudos

Hi All,

Is it possible to send a Sapscript form or a smartform form as an email,

We need to be able to email out the form using a function Module.

Even if we are able to send it as an attachment , it should be fine,

Did not find any function Module that would do this.

Appreciate any input.,

Thank you

Lalitha

Accepted Solutions (1)

Accepted Solutions (1)

former_member181995
Active Contributor
0 Kudos

Hi,

use this program RSTXPDF4.

give the spool number which u got of sap script or smartform after firing.....

this program generates the PDF formate of script then u can easily send them by attachment into ur mail...

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Am able to send the Smartform in an email as a PDF attachment,

But I get the print Dialog pop-up, even after setting the NO_DIALOG flag.

How can we prevent this ?

Is there some way of just sending the email, without printing the Smartform ?

Appreciate any input.

Thank you

Lalitha

Former Member
0 Kudos

HI,

then Write As

NO_DIALOG = 'X'.

in print program

Rewards if usefull

Regards

Fareedas

Former Member
0 Kudos

it is possible in both smartforms and scrits

For Scripts

Retrieve the OTF table from the FM CLOSE_FORM then , convert OTF to PDF using FM 'SX_OBJECT_CONVERT_OTF_PDF' then I attach and send mail with 'SO_NEW_DOCUMENT_ATT_SEND_API1'.

For smartform check this link

Former Member
0 Kudos

hi,

We can do that we can send that as an attachment as PDF file.

i have sent the documents in your email-Id .

Regards

Sandipan