<?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: Multiple users executing the same program at same time and multiple equipment's getting created in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640826#M27258</link>
    <description>&lt;P&gt;Hi! &lt;/P&gt;
  &lt;P&gt;Do you use lock objects in the processing? If you use INDX table, you can also lock it by FM ENQUEUE_ESINDX so this will prevent other users from processing the entry.&lt;/P&gt;
  &lt;P&gt;Hope it's helpful&lt;/P&gt;</description>
    <pubDate>Mon, 19 Mar 2018 10:35:38 GMT</pubDate>
    <dc:creator>former_member400468</dc:creator>
    <dc:date>2018-03-19T10:35:38Z</dc:date>
    <item>
      <title>Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640824#M27256</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;The program accepts a excel file and creates equipment.My issue is when multiple users execute the program at the same time,it creates multiple equipment's for the same record combination.&lt;/P&gt;
  &lt;P&gt;Let's say file has 2 records and 2 users are running the program at same time.&lt;/P&gt;
  &lt;P&gt;Now program will create 2 equipment's for 1st record and 2 equipment's for 2nd record.A total of 4 equipment's are getting created instead of 2.&lt;/P&gt;
  &lt;P&gt;I do not want this to happen and do not want to lock the program. I still want to allow multiple users to run the program at the same time and if first record is already processed by one user it should be skipped in another processing and should continue with other record.Please help me in solving this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 10:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640824#M27256</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-03-19T10:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640825#M27257</link>
      <description>&lt;P&gt;Can some one throw some light on using 'INDX' table during run time to check whether record is processed in another session or not?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 10:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640825#M27257</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-03-19T10:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640826#M27258</link>
      <description>&lt;P&gt;Hi! &lt;/P&gt;
  &lt;P&gt;Do you use lock objects in the processing? If you use INDX table, you can also lock it by FM ENQUEUE_ESINDX so this will prevent other users from processing the entry.&lt;/P&gt;
  &lt;P&gt;Hope it's helpful&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 10:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640826#M27258</guid>
      <dc:creator>former_member400468</dc:creator>
      <dc:date>2018-03-19T10:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640827#M27259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I haven't used any lock objects.Could you please let me know, how can I make use of 'INDX' table?&lt;/P&gt;
  &lt;P&gt;My plan is to check whether entry exists in INDX table and if exists skip the record but not sure on what basis should I check the records from INDX table.What values to be passed in the key fields in order to check a particular record exists in INDX table?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 11:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640827#M27259</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-03-19T11:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640828#M27260</link>
      <description>&lt;P&gt;Your plan is effectively replicating what enqueue does for you. Create your own lock object with approprirate keys so the same equipment cannot be created twice.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 11:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640828#M27260</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-03-19T11:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640829#M27261</link>
      <description>&lt;P&gt;What happens if user one runs the program and then user two runs the program? You'll still get 2 equipments for the first record and 2 equipments for the second, won't you?&lt;/P&gt;
  &lt;P&gt;Why are two users loading the same excel at the same time anyway.&lt;/P&gt;
  &lt;P&gt;Your scenario is somewhat strange.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 11:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640829#M27261</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-03-19T11:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640830#M27262</link>
      <description>&lt;P&gt;I think you'd be well advised to read up again on the SAP locking concept and lock objects.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 11:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640830#M27262</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-03-19T11:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640831#M27263</link>
      <description>&lt;P&gt;2 equipment's are created for the first record only when both the users start execution at same time. Yes,scenario is strange.This situation is not frequent though but when this situation arises program should be in a position to process as explained.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 11:49:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640831#M27263</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-03-19T11:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640832#M27264</link>
      <description>&lt;P&gt;Hi Pavan, &lt;/P&gt;
  &lt;P&gt;I assume from your query that you are Migrating the data and creating equipment in bulk. &lt;/P&gt;
  &lt;P&gt;As you said it created 2 different equipment if run in parallel ,I assume you are using the internal number range. &lt;/P&gt;
  &lt;P&gt;To fix it , you can create a Z table that can hold the record of identification from excel file. if that record is present then any other program with same set of record won't process it. &lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Himanshu&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 09:50:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640832#M27264</guid>
      <dc:creator>former_member564522</dc:creator>
      <dc:date>2018-03-21T09:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640833#M27265</link>
      <description>&lt;P&gt;There is an issue with this solution as well Himanshu.&lt;/P&gt;
  &lt;P&gt;What if the same program running in parallel sessions try to insert the same record in the table at same time?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 05:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640833#M27265</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-03-27T05:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640834#M27266</link>
      <description>&lt;P&gt;There is no Z-table needed. Follow Matthew's advice and familiarise yourself with locking. This is one of the fundamental concepts of data processing since databases were invented.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 08:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640834#M27266</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-03-27T08:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640835#M27267</link>
      <description>&lt;P&gt;Hi Sai, &lt;/P&gt;
  &lt;P&gt;For that the key field would be your identification number . As it is key field you cannot insert two value at the same time. This way it won't create an issue.&lt;/P&gt;
  &lt;P&gt;Creating a table will also help you identify the total record that has been proceed successfully and you may not need to rectify or create new delta file to rerun.&lt;/P&gt;
  &lt;P&gt;if you are using External number then obviously you don't need any solution .&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 09:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640835#M27267</guid>
      <dc:creator>former_member564522</dc:creator>
      <dc:date>2018-03-27T09:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640836#M27268</link>
      <description>&lt;P&gt;Hi Himanshu,&lt;/P&gt;
  &lt;P&gt;Thank you for your thoughts.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 06:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640836#M27268</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-04-05T06:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640837#M27269</link>
      <description>&lt;P&gt;Hi Matthew,&lt;/P&gt;
  &lt;P&gt;Thank you and locking works.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 06:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640837#M27269</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-04-05T06:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users executing the same program at same time and multiple equipment's getting created</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640838#M27270</link>
      <description>&lt;P&gt;Yes Mike.Locking works.Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 06:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-users-executing-the-same-program-at-same-time-and-multiple/m-p/640838#M27270</guid>
      <dc:creator>jonna_pavan</dc:creator>
      <dc:date>2018-04-05T06:33:19Z</dc:date>
    </item>
  </channel>
</rss>

