<?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: About commit and rollback in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094077#M435764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have cotrolled by checking the test run flag. I solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lincon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2007 16:00:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-03T16:00:34Z</dc:date>
    <item>
      <title>About commit and rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094073#M435760</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;I am writing one program to post two FI documents simultaneously.Either post all or nothing.Fo rthat i have created Z one function module in update task and calling the function module two time in update task. After that i am writing the commit work.If second one contains error then it is posting first document but giveing updation termination for the second one. But i dont want to post any of the document if anyone contains error. Please suggest me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Lincon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 14:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094073#M435760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T14:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: About commit and rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094074#M435761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lincon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you posting the FI documents? Using a BAPI or ?!? In case you are using a BAPI, then please check in the import parameters for an option like NO_COMMIT, if it exists, please pass 'X' to it. What it will ensure is the DB update wont happen until you call BAPI_TRANSACTION_COMMIT, on second thoughts, if you are using a BAPI, it wont write to DB until you call the above FM. Hence do let me know whether u are using BAPI's and if not try finding a suitable BAPI from transaction BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 14:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094074#M435761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T14:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: About commit and rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094075#M435762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No i am using the function module AC_DOCUMENT_DIRCT_INPUT for posting the FI document. Actually i am calling this function module in the Z function module in update task.I am calling the function module in the Z report two times and after that i am doing the commit work.So if error is there in second one it is posting first one and Termination for second one. So can i rollback the work after the commit ar any way to do it.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lincon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 14:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094075#M435762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: About commit and rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094076#M435763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lincon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is call both FMs in TESTRUN (I_TESTRUN = 'X') mode and only if both are successful then call them in actual mode. Hence in this way you can prevent a false update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 15:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094076#M435763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T15:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: About commit and rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094077#M435764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have cotrolled by checking the test run flag. I solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lincon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 16:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-commit-and-rollback/m-p/2094077#M435764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T16:00:34Z</dc:date>
    </item>
  </channel>
</rss>

