‎2008 Apr 18 9:56 AM
Hi all,
I m looking for the link table between a spool request and the corresponding job and abap program.
I want to select all spool requests generated via een job via een abap program.
Some suggestions?
Thanks in advance,
‎2008 Apr 18 10:41 AM
‎2008 Apr 18 10:05 AM
Hi,
Spool request is a document for which a print function has been selected. However, it has not yet been output to a printer or another device. The output data for the print document is stored partly formatted in a data store until an output request is created, that is, until it is sent to a particular output device.
The spool system uses a spool request to store the print data temporarily and to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.
Spool requests can be viewed via tcode SP01, the number will be there, programatiically it is sometimes populated in the system field SY-SPONO.
It will take input parameters through the selection screen variants and process the code normally as foreground when we are writing the output to list it will generate the spool.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.
‎2008 Apr 18 10:16 AM
Hi Chandra,
Thanks for the info.
But i m looking foe the link (table name) between a spool request and the job or the corresponding abap program.
If i have a spool request number (transaction sp01) how i can i found the abap program name ? Via wich table ?
I have to build a program that the spool request of a certain abap program process.
Thanks.
‎2008 Apr 18 10:21 AM
Hi,
You can view your spools using transaction SP01.
TSP01 is the table to get spool request number
and the spool request number will be TSP01-RQIDENT
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10899248&messageID=4234127
https://forums.sdn.sap.com/click.jspa?searchID=10899248&messageID=4549731
Regards
Kiran Sure
‎2008 Apr 18 10:30 AM
Hi all,
Spool requests are stored on table tsp01.
The question is : how i can find the corresponding program name of a spool request ? with abap .
This is why i m looking for the technical table name of the link table between request number and abap program.
I hope that my question is clear enough
Thanks.
‎2008 Apr 18 10:46 AM
Hi,
Ur looking the program which will convert spool to pdf?Then see the Program RSTXPDFT4.
Regards
Kiran Sure
‎2008 Apr 18 10:27 AM
‎2008 Apr 18 10:41 AM
‎2008 Apr 18 10:47 AM
In addition to my answer in above given forum, you will find program name in TBTCP-PROGNAME.
Hence flow will be as follow.
Get spool number from TSP01.
use TBTCP-TBTCP-LISTIDENT will contain spool number (only if spool is created by job). Corresponding program name will be indicate by TBTCP-PROGNAME.
Regards,
Mohaiyuddin