‎2008 Sep 03 6:17 AM
Dear Friends
I'm working with smartform and i wanna do small adjustment
when user display the print screen ( i mean display page) he can go back with BACK button or can print with PRINT button
so if he tack print i want to do another part, that is save that print as a PDF format (I mean tack a print and save PDF also)
*i have PDF creating part
if you can suggest, how to close smartform and return to main program after Print (without BACK button) i can handle*
Please help me to close this matter.
‎2008 Sep 03 6:26 AM
Hi Nelson,
did you look for an userexit after you hit the printbutton? If there is one, you may be able to create the PDF-output. At this stage in the process you should be in standard SAP, so, userexit/badi/enhancement point are the options.
Cheers,
Stefan
‎2008 Sep 03 6:31 AM
Thanks Stefan
but how can i find related userexit or some thing like that.
‎2008 Sep 03 6:53 AM
‎2008 Sep 03 7:06 AM
Hi,
I can suggest you a work around for this....
In your driver program before calling the smart form show a popup asking whether the user want to get the output in PDF or Smartform, based on the user input, call Smartform or PDF processing...
Hope this helps you...
Regards
Karthik D
‎2008 Sep 03 7:23 AM
>
> Dear Friends
>
> Please try to solve this matter.
Please Read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]...
‎2008 Sep 03 11:32 AM
Karthik
its possible i know it but i want to automate it, if user click print button only i want to save pdf.
Thanks in Advance
‎2008 Sep 05 12:09 PM
for this question still not answered
but i would like to close this thread.
Thanks you all