Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Spool ID <-> message object key

Former Member
0 Likes
620

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.

1 REPLY 1
Read only

Former Member
0 Likes
450

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