on 02-15-2011 2:53 PM
Hi experts,
My requirement is printing the SAP script form immediately after previewing it. Meaning after previewing the form when i click the
print button i don't want to go to SP01 and then execute the print transaction.
Please advise.
Kind regards,
Anand S
Hi,
Usually there should be a 'Print Immediately' flag in the print dialog pop-up.
For Sapscripts, when an application program calls the function module OPEN_FORM, it can transfer a structure ITCPO to the
parameter OPTIONS. Via ITCPO-TDIMMED, you can select the option 'Print immmediately'.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand S,
I guess when you preview, somehere in your application, the function OPEN_FORM is called. If during the call, the parameter ITCPO-TDIMMED = 'X' is paased, I think then when you click on the print button from the preview screen, the spool will be printed immediately. You can check in the debugger what is the value of the parameter.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.