2007 Mar 29 1:06 PM
What is the table or function module storing the data of spool no., user, spool status (transaction SP01)? I need to get the data of failed/pending spool.
Thanks,
Ajay Deshmukh.
What is the table or function module storing the data of spool no., user, spool status (transaction SP01)? I need to get the data of failed/pending spool.
Thanks,
Ajay Deshmukh.
2007 Mar 29 1:17 PM
Hi!
Table of the spool requests is TSP01.
You might check out the other TSP* tables also.
Regards
Tamá
2007 Mar 30 9:03 PM
2007 Mar 30 9:05 PM
ELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |