‎2009 Jul 15 8:18 AM
hello
I need one help, my requirement is :
my Z program have selecting selection screen and based on the input entered in screen,
samrtform is callied...till this is it done. now they want to see in smartform in print prview
and if it is ok than it is send as email attachment to user.
kindly tell me how that print prview and email work simultaneously.
it is going as attachmet but not coming in print preview.
kindly suggest.
‎2009 Jul 15 8:28 AM
‎2009 Jul 15 8:28 AM
‎2009 Jul 15 8:34 AM
Please refer the below thread....it says how to preview the smartform when called...........
How can I make the Smart Forms to display a print preview by default without displaying the popup for print parameters?
https://wiki.sdn.sap.com/wiki/display/ABAP/Smart+Forms?showChildren=false
What you can do is, keep a button in the application tollbar...which says to Email...
Once the button is clicked, the email should go....
Please refer the below thread for sending the smartform as attachment..
https://wiki.sdn.sap.com/wiki/display/Snippets/SmartformtoMailasPDF+attachment
https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertSmartformtoPDFformat
Hope it helps!
‎2011 May 10 8:59 AM