Problem in printing a SAP script output.
I have a program that calls a SAP script and the output is produced. There is a 'print' option in the standard SAP script output layout, which, when clicked, generates a spool. this spool can be executed by going to SP02 and the concerned spool is printed.
the problem is that,there is a requirement that when the 'print' button is clicked, a spool should be generated and automatically printed without having to go to SP02 to print the generated spool. Please let me know if this is possible, if yes how to do it???
i tried to search for a exit in the program which executed the print option (SAPLSTXW) but could not find one.