11-05-2012 8:56 AM
Hi Experts,
I need two Push buttons on print preview screen of smartform
1. One is to convert the smartform to pdf and
2. Another Push button for Printing
Is there any way to bring those buttons on print preview screen of smartform?
Thanks and regards,
Suman
11-05-2012 9:36 AM
Hello Suman ,
You need this requirement for a Custom report outputted through Smartforms or for a Standard Tcode.
If this is for Custom Zreport , then u need to create a GUI status for your report, where you can add required buttons and Set USER_COMMAND for the buttons .
11-05-2012 9:39 AM
Hiii,
Instead of putting one extra button on standard print preview you can control that from your driver program see below screenshot
and if you want to make change in standard print preview than see below thread and read my comment of implicit enhancement ( include - LSTXBWFCC ) you will get idea -
11-05-2012 11:42 AM
Hi Ashish,
Thanks for your suggestion.
If I am right you are suggetsing me to disable the print preview dialog box and in its place create a pop-up that will come after executing the program.
and I have seen your thread but I need two buttons on the standard screen for that I need to modify the standard pf-status. Is there any to do it without modifying the standard one.
11-05-2012 12:16 PM
Hiii,
Yes you are right you have to modify or put zcopy of pf status in seprate z program which should be called via implicit enhancement in your required program (eg. - SET PF-STATUS status [OF PROGRAM prog] [EXCLUDING fcode] it is risky )but i am not suggesting you to disable button i want give simple idea and Screenshot of my previous thread came when driver program ( Zcopy of standard one ) of my standard transaction va22 va23 run that's why i told Instead of putting one extra button on standard print preview make changes out logic inside your driver program , in which tcode you want to put this option ??
11-08-2012 9:59 AM
Hi Ashish,
I have to bring those buttons on the application toolbar of print preview. It is a custom Tcode of a report executing the smartform.
Could you describe briefly How can I disable the standard application toolbar and add my custom toolbar.
Thanks in advance,
Suman