on 04-17-2009 5:07 AM
Hi Experts,
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.
Soni,
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.
Thanks,
Manjunath MS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Soni
DATA: struct TYPE ITCPO.
struct-tdnoprev = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
OPTIONS = struct
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Pass the ITCPO structure to the OPEN_FORM function module, in that structure you can pass values for print parameters.
check the structure ITCPO in SE11 and fill the required fields
Regards
Bala Krishna
Edited by: Bala Krishna on Apr 17, 2009 9:46 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.