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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Job in background and multiple spool requests

marcela_martinez
Participant
0 Kudos

Hi everybody,

I'm executing a program in a background job. The program outputs 2 spool requests. When I get to SM37 t-code to see job's result, I can see at "Job Log" option that 2 spool requests were generated. But... when I press "Spool" option from SM37 t-code I only see the last one. In spite of this, when I get at the spool controller through SP01 t-code I can see both of them. Can you help me with this issue? Why from one place I get 1 request and from the other the 2 ones?

Thanks in advance and kind regards,

MMP.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Check out [this thread|https://forums.sdn.sap.com/click.jspa?searchID=16405444&messageID=1181695] which has a discussion on this topic and points out [Note 519059|https://service.sap.com/sap/support/notes/519059]:

8] Question: How are the spool requests assigned?

Answer: The step information is stored in table TBTCP. This has space for exactly one spool request (field LISTIDENT). If a step generates several spool requests during the processing, only one can be stored. In this case the application is responsible for a "spool overview".

Regards,

Jamie

marcela_martinez
Participant
0 Kudos

Thanks very much for the answer! I was looking for a similiar thread but I didn't arrive to it.

We will analyze how to give a nice and useful solution to the user.

Regards,

MMP.