‎2007 Nov 15 12:42 AM
Hello,
I have an alv, and when user prints it, I need to get the spool request number in order to save it in a log table.
How to obtain this spool number when the alv is printed?
Thanks
‎2007 Nov 15 12:44 AM
Hi,
you can find the spool request number from SP01 Transaction. Table TSP01
Reward if it helps,
Satish
Message was edited by:
Satish Panakala
‎2007 Nov 15 12:44 AM
Hi,
you can find the spool request number from SP01 Transaction. Table TSP01
Reward if it helps,
Satish
Message was edited by:
Satish Panakala
‎2007 Nov 15 12:46 AM
But I need to obtain it via ABAP in the program that builds the alv.
‎2007 Nov 15 12:52 AM
‎2007 Nov 15 1:02 AM
‎2007 Nov 15 1:06 AM
Hi
First check if SY-SPONO is useful in ur case .
Otherwise check table TSP01..spool no are stored in this table in field
RQIDENT and RQOWNER contains User ID . RQCRETIME is created time .
U can select these fields using SELECT and read the latest record with RQCRETIME . You can get the latest SPOOL .
Hope this Helps .
Thanks. Praveen