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

background?

Hi all,

if the report is running in background i need to do some validation?

how can i check this?

vkr.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Sep 10, 2007 at 03:35 PM

    Hi,

    You can use SY-BATCH to check background job.

    IF SY-BATCH = 'X'.
     ...                     " Your validation
    ENDIF.
    

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 03:35 PM

    if sy-batch = 'X'.

    *----write validation code

    endif.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 03:39 PM

    at selection-screen.

    if sy-batch eq 'X'.

    doyour validations here

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

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

    Go TO SE38, fill the values in the selection screen,

    Execute in Background..

    Then Go TO SE37 , mark the spool, go to command window and type shbg, press F7 thrice, the ctrl will come to your program , you can validate yourself.

    Regards,

    Baburaj

    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.