cancel
Showing results for 
Search instead for 
Did you mean: 

Which batch job created spool request?

Former Member
0 Kudos

Hi

I have a spool request number that I can see the contents for, but I cannot find which job created the spool, from the spool details I can see the creation time and owner created by, the owner is a generic user we use for all batch jobs, I've searched in SM37 around the time the spool was created, but I cannot find the spool in any jobs ? the spool has been created but not printed, so I want to check the job to see if print immediately has been set on the step.

is there anyway through SM37/SP01 etc to see which job created this spool by searching using spool request number ?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can find the step of a job which created the spool-entry.

Go to transaction SE16 and enter table name TBTCP and press enter.

Either you get the possibility to choose fields for selection directly (first time table was entered)

or

You get a selection screen.

Then use menu: Settings --> Fields for selection

Make sure to mark the field LISTIDENT for selection.

Now enter the spool-number in the field LISTIDENT and press the execute button.

Former Member
0 Kudos

hello thomas,

i written below coding.

submit (progname)

with pa_aennr eq 'X' sign 'I'

to sap-spool

new list identification 'X'

without spool dynpro

destination 'LOCL'

immediately ' '

keep in spool ' '

via job l_jobname number l_jobnumber

and return.

and if i go to sm37 , it should show only one spool for job, but i got many spool with same number for one job. could you please helpme out.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Thanks for the response Tomas, thats a useful field to know !

I've spoken to the analysts and the spool file was actually created using output conditions, thats why I could not see the spool generated by a job and was not in table TBTCP.

Thanks.