<?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: Job is creating with multiple users in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898156#M1962066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at your BAdI implementation, are the data stored in some shared area (E.g. export to database) not locked and not immediately refreshed, or some wrong LOOP in the code. Also does your implementation read data not provided by the interface to schedule job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain the&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;We are updating the batch with first GR date &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 13:42:24 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2016-09-16T13:42:24Z</dc:date>
    <item>
      <title>Job is creating with multiple users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898151#M1962061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a strange issue with background jobs in existed logic. We are updating the batch with first GR date and below is the program flow. The job is event triggered job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIGO -&amp;gt; Method POST_DOCUMENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call FM JOB_OPEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit the program (In which we are calling the BAPI to update first GR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;event_id = 'Event name'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FM = 'JOB_CLOSE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FM 'ZFM' in Update task(start delay) (In which the logic is written to raise the event with BP_EVENT_RAISE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I debugged, it is executing only once but the job is creating with multiple users at the same time.But the userid is not hardcoded anywhere and the userids are not related to MM users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone faced similar issue ? Any thoughts please share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 10:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898151#M1962061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-15T10:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Job is creating with multiple users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898152#M1962062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If some jobs are scheduled with same event, wont the first event raised release every job?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 15:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898152#M1962062</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-09-15T15:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Job is creating with multiple users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898153#M1962063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same job is triggering multiple times with different users&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 09:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898153#M1962063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-16T09:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Job is creating with multiple users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898154#M1962064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;JOB_CLOSE creates exactly one job (at most) and a job is executed only once (don't forget the full id of the job is jobname + jobcount.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Transaction SM37: look at 'Job details', look for 'Schedule job' and 'Last change' time/date/by fields.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Transaction: SM63, look at event history, the number of jobs triggered will be displayed&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 11:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898154#M1962064</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-09-16T11:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Job is creating with multiple users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898155#M1962065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow by testing I came to know that how many times the batch is processed through MIGO by any of the user those many times the job is creating with their names along with current user's job in current MIGO process. Couldn't get the technical root cause of this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 11:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898155#M1962065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-16T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Job is creating with multiple users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898156#M1962066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at your BAdI implementation, are the data stored in some shared area (E.g. export to database) not locked and not immediately refreshed, or some wrong LOOP in the code. Also does your implementation read data not provided by the interface to schedule job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain the&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;We are updating the batch with first GR date &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898156#M1962066</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-09-16T13:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Job is creating with multiple users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898157#M1962067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We checked all these checks but everything is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are updating the batch date with first GR date using BAPI_BATCH_CHANGE which is written inside the program(which is calling through submit)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-is-creating-with-multiple-users/m-p/11898157#M1962067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-16T13:56:16Z</dc:date>
    </item>
  </channel>
</rss>

