<?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: BDC Changes Rollback in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847694#M45567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the thing is, once a transaction completed successfully (even a call transaction), all postings are commited. So how will you rollback already commited records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2005 11:16:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-05-19T11:16:04Z</dc:date>
    <item>
      <title>BDC Changes Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847691#M45564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ALL,&lt;/P&gt;&lt;P&gt;Kindly help me on the basis of following information.&lt;/P&gt;&lt;P&gt;I have to run a BDC1 on SU10 TCode to delimit roles assigned to a user. after that i have to run BDC2 to assign roles to that user. my req is that if one BDC1 passes and BDC2 fails then i have to rollback the changes made by BDC1.&lt;/P&gt;&lt;P&gt;how should i go about it.&lt;/P&gt;&lt;P&gt;if anyone has some code then kindly mail me at amitgkv@rediffmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 10:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847691#M45564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Changes Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847692#M45565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is simply not possible. Exactly the same discussion has happened a few weeks back. you can find that at &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="34221"&gt;&lt;/A&gt; , where it has been explained why it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 11:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847692#M45565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T11:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Changes Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847693#M45566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anand,&lt;/P&gt;&lt;P&gt;i am using call transaction method and not batch input method.&lt;/P&gt;&lt;P&gt;Kindly let me know more about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 11:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847693#M45566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T11:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Changes Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847694#M45567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the thing is, once a transaction completed successfully (even a call transaction), all postings are commited. So how will you rollback already commited records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 11:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847694#M45567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T11:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Changes Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847695#M45568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that you have not bothered to scroll down the thread to see what has been discussed. i'll paste it here for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you're seeking to accomplish is not possible.&lt;/P&gt;&lt;P&gt;And I don't think it makes too much sense. Let us say, you are &lt;/P&gt;&lt;P&gt;using a CALL TRANSACTION, then each CALL TRANSACTION is supposed &lt;/P&gt;&lt;P&gt;to be consistent and complete in itself.....and you cannot span &lt;/P&gt;&lt;P&gt;an LUW across multiple transactions....it is so much against the &lt;/P&gt;&lt;P&gt;concept of an LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give you a slightly non-technical explanation, you must first &lt;/P&gt;&lt;P&gt;ask yourself the question 'Why do we use BATCH INPUT'? Is it not &lt;/P&gt;&lt;P&gt;to just reduce the manual creation of all the documents in their &lt;/P&gt;&lt;P&gt;corresponding transactions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your case, when the first transaction finishes sucessfully, it mean that a COMMIT statement will get triggerred for that transaction. How are you going to roll back it back after a COMMIT ? You would have to &lt;/P&gt;&lt;P&gt;delete / unassign the roles manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So even in this case, you can only do a delete operation. Not a ROLLBACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you really want to stick to this functionality, then the option that &lt;/P&gt;&lt;P&gt;is left for you is to find out if there are any Function Modules available to &lt;/P&gt;&lt;P&gt;do the DELETE operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally, if I were you, I would use the MESSAGES option for the CALL TRANSACTION &lt;/P&gt;&lt;P&gt;statement and display them to the user, so that he would know which transaction &lt;/P&gt;&lt;P&gt;had failed. He can then continue with the remaining ones and manually revert the changes done by the first transaction whose corresponding second transactions ahve failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that is clear. Please do get back if you have further doubts. Else, please &lt;/P&gt;&lt;P&gt;reward points and mark the question as "answered".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;anand mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 11:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-changes-rollback/m-p/847695#M45568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T11:20:01Z</dc:date>
    </item>
  </channel>
</rss>

