How to avoid the PRINT WINDOW comes with the option of print preview.
Please let me know how to avoid the PRINT Window in SAP-SCRIPT which comes with the options like Output device, print immd. etc. I would like to have Printer as defaut 'LOCL'. User wants that as he/she runs the form it should not show this particular window moving direct to the output.
In FM open_form, there is a parameter 'dialog' . by default it will be 'X" which means a pop screen will trigger. if u dont pass this parameter, then pop window wont trigger.set the default printer in ur ITCPO structure settings.so once user clicks on print, directly print will happen.