Skip to Content
avatar image
Former Member

Which batch job created spool request?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 19, 2009 at 09:35 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Feb 20, 2009 at 02:35 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded