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

Spool number and program name

Former Member
0 Kudos

Hi All,

Im trying to fetch spool number based on object name(program name).

The table TSP01 has the field RQ2NAME has the program name in it, with some additional characters.

For example, if the program name is ZQRR1234 , its showing it as ZQRR1234_ABC.

Is there any other way to fetch spool numbers other than this? Please let me know.

The other issue is, Spool created for ReportWriter reports, are having a different name in the RQ2NAME field(Totally different from the above case). For example if the report name is Z31L, its showing as GP3ITN115113. Im not sure whether this name will be same in Quality and production system.

Finally please let me know how to fetch spool numbers based on program name in either case.


0 Kudos


SO_WIND_SPOOL_LIST try with this FM

Former Member
0 Kudos


I understand that your program would be run by a background job.

If thats the case, you could use table TBTCP which can give you the program and spool number relation.

Please let me know if this helps!

Active Contributor
0 Kudos

Hello Saravanan,

Please use FM RSPO_OUTPUT_SPOOL_REQUEST to display your spool.

Have a Nice Day,