‎2006 Aug 23 3:22 PM
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.
‎2006 Aug 23 3:31 PM
‎2006 Aug 23 3:28 PM
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
‎2006 Aug 23 3:28 PM
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
‎2006 Aug 23 3:31 PM