<?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: Hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438203#M208690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI anu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is it nesseccary calling the BAPI_TRANSACTION_COMMIT Function module after every BAPI FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, its compulsory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BCOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If we don't call,&lt;/P&gt;&lt;P&gt;   then our changes won't be reflected.&lt;/P&gt;&lt;P&gt;  (ie., our changes won't be commited / written to database)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. This is like this bcos there is LUW (logical unit of work)&lt;/P&gt;&lt;P&gt;   concept in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2006 05:09:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-28T05:09:11Z</dc:date>
    <item>
      <title>Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438201#M208688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it nesseccary calling the BAPI_TRANSACTION_COMMIT Function module after every BAPI FM?Please explain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438201#M208688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438202#M208689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you have to....Better use that instead of commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the reason. &lt;A href="http://www.sap-img.com/fu018.htm" target="test_blank"&gt;http://www.sap-img.com/fu018.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;TM&lt;/P&gt;&lt;P&gt;Please mark points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Mann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438202#M208689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438203#M208690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI anu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is it nesseccary calling the BAPI_TRANSACTION_COMMIT Function module after every BAPI FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, its compulsory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BCOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If we don't call,&lt;/P&gt;&lt;P&gt;   then our changes won't be reflected.&lt;/P&gt;&lt;P&gt;  (ie., our changes won't be commited / written to database)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. This is like this bcos there is LUW (logical unit of work)&lt;/P&gt;&lt;P&gt;   concept in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438203#M208690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438204#M208691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anu,&lt;/P&gt;&lt;P&gt;       Yes for reflecting chages done by BAPI.You need to call the FM BAPI_TRANSACTION_COMMIT .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438204#M208691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438205#M208692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI will not commit any DB changes , so u have to do external LUW to commit DB changes . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is the Adv of using BAPI ,Bcos it will useful or create Simulation of the Transaction.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:13:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438205#M208692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438206#M208693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Individual BAPI's should not commit work to the database. This is part of the definition for BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This allows the calling program to control the Logical Unit of Work (LUW) by calling BAPI_TRANSACTION_COMMIT. You can commit after each BAPI call, or after a sequence of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, your application may involve several BAPIs being called over several dialog steps. If the user aborts before the last step, you should be able to roll back without having to reverse any individual transactions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only if they confirm the last step would you call BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With BAPI_TRANSACTION_COMMIT ..the external systems have a way of deciding on whether to &lt;/P&gt;&lt;P&gt;Commit or to Roll back Changes. &lt;/P&gt;&lt;P&gt;so i guess the diff lies more in the way how u want to call commit ,either from outside or from within ure BAPI. &lt;/P&gt;&lt;P&gt;SAP though recommends using BAPI_Transaction_Commit and not using Commit_work in the BAPI... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is a good summary: &lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8654ac011d1894e0000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8654ac011d1894e0000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438206#M208693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438207#M208694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank U for the Response.But I had one clarification. if I run BAPI FM from SE37 Transaction it will reuturn the messgage right?Suppose I will execute the BAPI FM some Purchase Order creation.In this case can we see the Purchase in database table? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438207#M208694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438208#M208695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes all the tables related to the purchase order will be updated with the new record when you call the BAPI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438208#M208695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438209#M208696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah  u can , but not in se37 ? it will not waste Number series in the Simulation Mode .&lt;/P&gt;&lt;P&gt;&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 05:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/1438209#M208696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T05:59:44Z</dc:date>
    </item>
  </channel>
</rss>

