2005 Mar 10 10:03 AM
ABAPers,
Does anyone knows how to find the spool id given object key ?
For example, I printed a billing document 9000. It created spool id 8088.
I wish the find the spool id given the billing document 9000 using code offcourse.
Objects' messages are kept in table NAST, spool in table TSP01.
I couldn't find the connection.
Thanks,
Shai E.
ABAPers,
Does anyone knows how to find the spool id given object key ?
For example, I printed a billing document 9000. It created spool id 8088.
I wish the find the spool id given the billing document 9000 using code offcourse.
Objects' messages are kept in table NAST, spool in table TSP01.
I couldn't find the connection.
Thanks,
Shai E.
2005 Mar 10 6:38 PM
Hi,
I do not think there will be a link from nast to spool. A crude workaround would be to match the userid and timestamp between these tables to check if there is a spool o/p corresponding to a NAST record.
If you just want to check all the spool outputs for an object-key, I do not think that would be possible. Nast keeps the objectkey as it creates the actual ouptput from this key at runtime using ABAP routines, while spool already has a physical o/p data and doesn't need any linkage to any business data anymore.
This is just my understanding, please take it with some caution
cheers,
Ajay
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |