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

Behaviour of SAP program in batch.

Hi,

I need to know if i schedule a program to be run in batch and if the program contains a popup information display requiring input from user something like POPUP_TO_CONFIRM, then in batch how this popup will be handles

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Sep 19, 2007 at 04:04 AM

    The simple answer is - why don't you call the POPUP FM in your program then schedule it to run in background to see how it behaves/how popup is handled by the system instead of posting this here?

    If we told you that system will send a SMS to the cell phone of the person running the program, wake him up in the middle of the night and ask him to fill in the required input in the popup box, would you believe us or first run your program in background to verify our answer is correct or we're having a bit of a fun with you?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 19, 2007 at 04:05 AM

    Hi,

    Any kind of screen pop-ups where Human intervention is required, wont work in Background.

    In case of background job, you can skip the popup by following condition:

    if sy-batch ne 'X'.

    CALL FUNCTION 'POPUP_TO_CONFIRM'

    ,,,,

    endif.

    This will help to display the popup only whn the program is executed in foreground.

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 04:16 AM

    Hi,

    In background job processing, the pop-ups will not work.

    You have to suppress the pop-up if you want the program to be executed in backgound.

    The suppressing can be done by checking the sy-batch value. If it is set then don't call the FM.

    Thanks,

    Mandeep

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 04:17 AM

    Hi,

    Program will process till this popup and then stops processing ahead. You get status job finished in job ovwerview.

    You even get the list output, if you are trying to write anything on list.

    Enjoy SAP.

    Pankaj Singh.

    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.