<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forcing or defaulting program to background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945257#M64016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note, that I'm talking about a SAP standard application where I do not want to make any modifications and another criteria is that the user must still be able to use the standard selection screen for inputting search criteria and other inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2005 10:22:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-20T10:22:48Z</dc:date>
    <item>
      <title>Forcing or defaulting program to background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945255#M64014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question regarding the possibility to force or default a SAP standard application execution to being a background execution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to chose execute in background from the menu in a selection screen (F9) as an altenative to direct processing (F8). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make this the default execution mode without having to do a modification of a SAP standard application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 10:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945255#M64014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-20T10:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing or defaulting program to background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945256#M64015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this,I want to schedule the program to execute in background dynamically.&lt;/P&gt;&lt;P&gt;I have two programs ztest1 and ztest2.&lt;/P&gt;&lt;P&gt;The user will execute program ztest1 and the user wants that&lt;/P&gt;&lt;P&gt;ztest2 program should be automatically scheduled in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use job_open, job_close &amp;amp; submit&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;ZTEST1&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;              CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;                   EXPORTING&lt;/P&gt;&lt;P&gt;                        jobname          = jobname&lt;/P&gt;&lt;P&gt;                   IMPORTING&lt;/P&gt;&lt;P&gt;                        jobcount         = jobcount&lt;/P&gt;&lt;P&gt;                   EXCEPTIONS&lt;/P&gt;&lt;P&gt;                        cant_create_job  = 1&lt;/P&gt;&lt;P&gt;                        invalid_job_data = 2&lt;/P&gt;&lt;P&gt;                        jobname_missing  = 3&lt;/P&gt;&lt;P&gt;                        OTHERS           = 4.&lt;/P&gt;&lt;P&gt;              IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;              ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              SUBMIT ZTEST2 AND RETURN&lt;/P&gt;&lt;P&gt;                                   USER sy-uname VIA JOB jobname&lt;/P&gt;&lt;P&gt;                                                 NUMBER jobcount&lt;/P&gt;&lt;P&gt;                with p_zcycle = pzcycle&lt;/P&gt;&lt;P&gt;                WITH p_area = wa_record-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;                   EXPORTING&lt;/P&gt;&lt;P&gt;                        jobcount             = jobcount&lt;/P&gt;&lt;P&gt;                        jobname              = jobname&lt;/P&gt;&lt;P&gt;                        strtimmed            = 'X'&lt;/P&gt;&lt;P&gt;                   EXCEPTIONS&lt;/P&gt;&lt;P&gt;                        cant_start_immediate = 1&lt;/P&gt;&lt;P&gt;                        invalid_startdate    = 2&lt;/P&gt;&lt;P&gt;                        jobname_missing      = 3&lt;/P&gt;&lt;P&gt;                        job_close_failed     = 4&lt;/P&gt;&lt;P&gt;                        job_nosteps          = 5&lt;/P&gt;&lt;P&gt;                        job_notex            = 6&lt;/P&gt;&lt;P&gt;                        lock_failed          = 7&lt;/P&gt;&lt;P&gt;                        OTHERS               = 8.&lt;/P&gt;&lt;P&gt;              IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;              ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 10:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945256#M64015</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-20T10:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing or defaulting program to background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945257#M64016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note, that I'm talking about a SAP standard application where I do not want to make any modifications and another criteria is that the user must still be able to use the standard selection screen for inputting search criteria and other inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 10:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945257#M64016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-20T10:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing or defaulting program to background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945258#M64017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you're looking for fm &amp;lt;b&amp;gt;K_BATCH_REQUEST&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 11:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945258#M64017</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-20T11:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing or defaulting program to background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945259#M64018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I have not found a solution where I do not need to make any modifications, but I have found a fairly easy approach with a modification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to modify the program in question, the modification is going to be that I'll dynamically modify the GUI status of the standard selection screen, so that the default execute function code is going to be SJOB instead of ONLI. This does require a modification of the program but is very simple and should be easy to handle in an update situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2005 12:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945259#M64018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-21T12:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing or defaulting program to background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945260#M64019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that you have found a solution to this problem, can you mark this thread as answered by choosing the option "Solved it on my own". ? You may also want to reward the answers given if they have been helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2005 12:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-or-defaulting-program-to-background/m-p/945260#M64019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-21T12:37:06Z</dc:date>
    </item>
  </channel>
</rss>

