<?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: BAPI Commit &amp; Rollback in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299495#M157954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Susmitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The info you are giving is misleading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The changes done by the user1 and user2 are different. The loigc of COMMIT and ROLLBACK is not applicable here at all as there are different sessions and different LUW's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2006 04:39:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-17T04:39:09Z</dc:date>
    <item>
      <title>BAPI Commit &amp; Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299491#M157950</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;Emp-id 001 is updating a record with key empid=001 USING BAPI UPDATE_EMPLOYEE .&lt;/P&gt;&lt;P&gt;This BAPI has UPDATE Emp-id command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emp-id 002 is updating a record with key empid=002 USING BAPI UPDATE_EMPLOYEE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, Emp-id 002 calls BAPI_TRANSACTION_ROLLBACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So will both the records be rollbacked. Because i want that depending on the record(primary key) it should rollback only that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a scenario of two users executing program simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide any pointers, inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 03:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299491#M157950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T03:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Commit &amp; Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299492#M157951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commits and rollbacks are specific to the session even if the same program is being executed. So, here the changes of emp1 will be committed and that of emp2 will be rolled back. Each session / user will have their own LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 04:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299492#M157951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T04:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Commit &amp; Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299493#M157952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the first user updates the record, call the commit function using 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now after the second user updates, if the rollback is called, only the second change will be rolled back, the first change will not be reverted. That is only those changes till the previous commit will be rolled back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Susmitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 04:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299493#M157952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T04:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Commit &amp; Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299494#M157953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;Commit and Rollback allways refer to the SAME "logical unit of work" (LUW).&lt;/P&gt;&lt;P&gt;Parallel and other LUWs do not have any influence !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rollback can only go back up to the last COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points are welcome if that helped a bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 04:30:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299494#M157953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T04:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Commit &amp; Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299495#M157954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Susmitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The info you are giving is misleading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The changes done by the user1 and user2 are different. The loigc of COMMIT and ROLLBACK is not applicable here at all as there are different sessions and different LUW's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 04:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-rollback/m-p/1299495#M157954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T04:39:09Z</dc:date>
    </item>
  </channel>
</rss>

