Skip to Content
author's profile photo
Former Member

Job log is being displayed only after the job is finished running.

Hi All,

We are running a job in SM37.We have given information messages to it.But the messages are not being shown in the job log during the job run. Only if we either cancel the job or the job finishes, it is displaying all the messages in the log at a time..Because of this we are not able to track how much the the job has completed during the job run...But we would require this ..

Kindly suggest on this.

Thanks and Regards,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 09:16 PM


    If you need to write a program which reads the job,

    you might use read from TBTCJOB or use function module BP_JOBLOG_READ

    as described at

    however, I'm not sure if you would be able to read the job log while the job is running.

    If you must have status of job,

    you can:

    1. Change the program which is running,

    and to her messages of the status,

    for example, if the program should update 1,000 worker,

    after every 100 updates of workers the program would log the following message:

    Finished 10%,

    Finished 20%,

    and etc.

    2. You might watch the progress of the program,

    according to the DB activity (in sm50, number of rows read, update and etc...).

    This off curse, is not the recommended way to trace jobs...

    Good luck!

    Add comment
    10|10000 characters needed characters exceeded