Please refer the link below.............
Sample Program To Convert Smartform To PDF Document & Mail It To The Concerned As An Attachment.
http://www.abapmadeeasy.com/2011/02/sap-abap-sample-program-to-convert.html
Regards,
Uttam Agrawal
Edited by: uttamagrawal on Feb 22, 2011 9:19 AM