<?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 Batch program or not batch program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377448#M1041479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a general question. How do I determine where a program was initiated from, whether in a part of a job or on-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation where a program can be part of a job and I want to prevent two concurrent instances of the program running here. Preventing two runs of a job, ie checking for duplicate jobs is easy, however, the same program can be instantiated on-line at the same time as the job and this run of the program should not be stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an attribute somewhere to determine where a program was started?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2008 09:50:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-15T09:50:38Z</dc:date>
    <item>
      <title>Batch program or not batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377448#M1041479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a general question. How do I determine where a program was initiated from, whether in a part of a job or on-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation where a program can be part of a job and I want to prevent two concurrent instances of the program running here. Preventing two runs of a job, ie checking for duplicate jobs is easy, however, the same program can be instantiated on-line at the same time as the job and this run of the program should not be stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an attribute somewhere to determine where a program was started?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377448#M1041479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Batch program or not batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377449#M1041480</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;Try using SY-BATCH to check Background processing of the Program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gaurav J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377449#M1041480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Batch program or not batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377450#M1041481</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;Why dont u use sy-batch system variable to determine program from background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377450#M1041481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Batch program or not batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377451#M1041482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To Differentiate a Online and Batch job , we have a system variable SY-BATCH using that we can find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SY-BATCH = 'X' then it is Batch job. or else Online&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 10:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-program-or-not-batch-program/m-p/4377451#M1041482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T10:35:48Z</dc:date>
    </item>
  </channel>
</rss>

