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

how to know the spool requests generated from my program?

Former Member
0 Likes
524

hi

I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all

Sathish. R

hi

I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all

Sathish. R

2 REPLIES 2
Read only

Former Member
0 Likes
460

Hi ,

The system field sy-spono contains the spool numbers .

If you have such requirement, you can create one custom table with fields :

spool no, program , date , time

whenever you run ur program update this table ,

with system fields . spono , sy-repid , sy-datum and sy-uzeit .

Thaks .

Read only

Former Member
0 Likes
460

Hi,

Try Using FM : RSPO_FIND_SPOOL_REQUESTS - It gives u the program Name

RSPO_GET_ATTRIBUTES_SPOOLJOB

Regards,

Siddhi