Skip to Content
author's profile photo Former Member
Former Member

Catching job abort/system stop in batch report

Is there any way in a report running in background to catch a job abort request for the report's job or that the system is being stopped? This would allow for an elegant exit. Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 25, 2004 at 11:57 AM

    Hi Ralph,,

    TA SM37

    -> Job - Capture: active job

    or TA SM 50

    -> Program/session - Program - Debugging

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 25, 2004 at 08:59 PM

    Hi Ralph

    You may make use of the function module <b>'SHOW_JOBSTATE'</b> (or something sounds like that).

    *--Serdar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2004 at 11:42 AM

    Thanks, but apparantly I didn't make myself clear enough. I wish to know, if I can check for a job abort or system shutdown event in the background program itself, let's say in its main loop. The report is designed to run like a daemon in background.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.