Application Development and Automation 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: 
Read only

About Smartforms

Former Member
0 Likes
446

Hello Friends,

Please tell me how to get subtotal for currency and quantity fields in smartform. And also tell me how to send mail from smartform driver program?

Regards,

Krishna Prasad.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
397

Refer this link for sending mail.

Regards,

Ravi

3 REPLIES 3
Read only

Former Member
0 Likes
397

Hi Krishna,

Yuo can convert the smartform out put to a pdf file and send it as an attachment through mail.

use the following FM's : convert_otf SO_NEW_DOCUMENT_SEND_API1.

regards

jaison

Read only

Former Member
0 Likes
397

You can look at the example SF_EXAMPLE_01 in the system.

You can get the output of the document in PDF format.

Set the GET_OTF flag to X.

Take the OTFTABLE out of the output parameters and use the CONVERT_OTF_2_PDF FUNCTION.

Now use the CL_BCS class or the SODOCUMENTSEND to send the mail.

Regards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam

Read only

Former Member
0 Likes
398

Refer this link for sending mail.

Regards,

Ravi