<?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: External batch number assignment with multiple user sessions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163806#M1821504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXIT_SAPLV01Z_002 is used to rename the batch which sap generates.&lt;/P&gt;&lt;P&gt;There is a&amp;nbsp; logic to get the first characters&amp;nbsp; then 20 is the sequence number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 08:52:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-03-27T08:52:04Z</dc:date>
    <item>
      <title>External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163802#M1821500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using EXIT_SAPLV01Z_002 exit to assign an external batch number in sequence for PO in Cor2.&lt;/P&gt;&lt;P&gt;This is triggered during the "create batch" button and also during the "release".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now suppose the next batch number to be assigned is ABCD20.&lt;/P&gt;&lt;P&gt;if i open two orders simultaneously in cor2 , both generates ABCD20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desired output is: if two orders are opened and batch is generated simultaneously, then one should generate ABCD20 and other ABCD30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not necessary that the batch will be saved to the order at this moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using import export of internal tables.but it is not working properly.&lt;/P&gt;&lt;P&gt; If i assign ABCD20 to PO1 and ABCD30 to PO2 in internal table, it always will generate ABCD30 for PO2, even if it is opened alone in cor2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 07:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163802#M1821500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T07:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163803#M1821501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried using lock objects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards -&lt;/P&gt;&lt;P&gt;Makarand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163803#M1821501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T08:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163804#M1821502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you assigning the external number bacth assignment..? How is this number ABCD20 generated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163804#M1821502</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-03-27T08:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163805#M1821503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry not a very comprehensive answer as I haven't used this exit myself, but have you tried&amp;nbsp; EXIT_SAPLV01Z_001 as it looks to me more correct for assigning batch number?&lt;/P&gt;&lt;P&gt;Or maybe a combination, you can maybe supress the one number if it is selected by second user in 001? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163805#M1821503</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-03-27T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163806#M1821504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXIT_SAPLV01Z_002 is used to rename the batch which sap generates.&lt;/P&gt;&lt;P&gt;There is a&amp;nbsp; logic to get the first characters&amp;nbsp; then 20 is the sequence number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163806#M1821504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T08:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163807#M1821505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The exit i am using is correct. It works as expected. only I am not able to decide the next sequence of the batch for&amp;nbsp; order when there are multiple sessions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163807#M1821505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T08:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163808#M1821506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you decide the sequence..?&amp;nbsp; Are you reading it from database..? Please provide the logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163808#M1821506</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-03-27T09:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163809#M1821507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i check the last sequence for ABCD in mcha table.&lt;/P&gt;&lt;P&gt;if 10 is laready there i do a +10 which gives 20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:11:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163809#M1821507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T09:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163810#M1821508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okie...Do one thing you should actually create a custom table with a lock object and update it with current number then it can work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163810#M1821508</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-03-27T09:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163811#M1821509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;STRONG style="font-size: 11px; color: #333333;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="698564" data-username="krishnapriya.nair2" href="https://answers.sap.com/people/krishnapriya.nair2" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;krishnapriya nair&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;check the attached sample code ...hope it helps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 11:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163811#M1821509</guid>
      <dc:creator>former_member193512</dc:creator>
      <dc:date>2014-03-27T11:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: External batch number assignment with multiple user sessions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163812#M1821510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used import export of internal table and FM ENQUEUE_READ to check the lock of other orders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 06:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-batch-number-assignment-with-multiple-user-sessions/m-p/10163812#M1821510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-28T06:54:45Z</dc:date>
    </item>
  </channel>
</rss>

