‎2006 Aug 08 9:30 AM
Hi,
I have a custom requirement wherein I used a custom PRINT button to print outputlist to printer, when I press PRINT button it takes me to the spool display screen and later when I press back it prints. Can anyone let me know as how to avoid this spool display screen and continue printing?
Regards,
Jagath
‎2006 Aug 08 9:45 AM
Hi Jagathguru,
can you explane a little bit more.
Do you have an own ABAP with own Print-Button.
Do you use an FM for Printing?
Regards, Dieter
‎2006 Aug 08 9:49 AM
‎2006 Aug 08 9:54 AM
Hi Dieter,
I have a ABAP Dialog program where in I have a text box with an ALV under it. Now the custom button is placed below these two and when I print using the standard FM 'PRINT_REPORT' the ALV list with the text box details are send to printer, but before that the spool which is getting created is displayed. Now I have to avoid this screen being displayed and cotinue printing.
Am I explained you properly?
Jagath
‎2006 Aug 08 9:57 AM
hi,
Set importing parameter of FM No_Dialog to 'X'.
Regards,
Sailaja.
‎2006 Aug 08 10:03 AM
have already tried with setting the no_dialog flag, but in the end the spool gets displayed..
‎2006 Aug 08 10:09 AM
Hi,
Once you set the NO DIALOG parameter to `X`, when you execute the report, you would be getting a pop-up where you provide the printer details. Uncheck the Print preview check box.
Best regards,
Prashant
‎2006 Aug 08 10:23 AM
Hi,
Print preview details are not shown while printing, the screen which gets displayed is the spool request screen.
Jagath
‎2006 Aug 08 11:20 AM
Hi Jagathguru,
i have tried the FM. I think there is no way.
But why don't you use statement: NEW-PAGE PRINT ON ...
Regards, Dieter