<?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: commit required in BAPI / RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764218#M1116922</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;Where ever you will use the function module after that just write the commit statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function module there is no facility like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 15:29:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T15:29:44Z</dc:date>
    <item>
      <title>commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764217#M1116921</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;Can any one tell me where can I set a custom RFC as commit required?&lt;/P&gt;&lt;P&gt;And in BAPIs, where is it done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to call a RFC from a external system, but I want to control the commit, but the RFC always performs the commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 15:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764217#M1116921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764218#M1116922</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;Where ever you will use the function module after that just write the commit statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function module there is no facility like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 15:29:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764218#M1116922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T15:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764219#M1116923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM BAPI_TRANSACTION_COMMIT to commit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 15:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764219#M1116923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T15:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764220#M1116924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the BAPI are you using? In some of the RFC, there will an option as a parameter for commit functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise we need to use this FM BAPI_TRANSACTION_COMMIT for commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ASOK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 16:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764220#M1116924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T16:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764221#M1116925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Can any one tell me where can I set a custom RFC as commit required?&lt;/P&gt;&lt;P&gt;&amp;gt; And in BAPIs, where is it done?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I want to call a RFC from a external system, but I want to control the commit, but the RFC always performs the commit.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Can any one help me?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Miguel&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If the remote function controls the commit, then there is nothing you can do except to change the function module to send back a return code rather than do the commit - which you shouldn't do if the function module is SAP standard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 16:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764221#M1116925</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-11-14T16:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764222#M1116926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fact is that even if I use the rollback FM, the changes are still commited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exemple is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP I have a ZRFC that simply inserts a record in a DB table and does not make un implicit commit.&lt;/P&gt;&lt;P&gt;It simply insert and ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I'm calling that ZRFC FM using the .NET connector. After the ZRFC call I do the rollback. But the insert is done any way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Scenario.&lt;/P&gt;&lt;P&gt;In SE37 I call the same ZRFC and it inserts.&lt;/P&gt;&lt;P&gt;If, in SE37, I execute the FM BAPI_SALESORDER_CREATEFROMDAT2, It ends succesfully but the inserts are not done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where/how can I say for my ZRFC not to do the commit, like the BAPI_SALESORDER_CREATEFROMDAT2 FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible? Is only for BAPIs and not for simply RFC? If So, where is it on the BAPIs, because I can't find it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 18:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764222#M1116926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T18:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764223#M1116927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This might help. [Click here|http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4e3a79e11d1950f0000e82de14a/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 19:39:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764223#M1116927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T19:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764224#M1116928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel, you have to create two function modules, the fisrt (EX. zfm1), in his attributes have to set the &lt;STRONG&gt;processing type&lt;/STRONG&gt; in &lt;STRONG&gt;remote-enabled mode&lt;/STRONG&gt; this is the RFC function. Inside this you have to call the second FM (EX zfm2) in update task. In the attributes of the zfm2 have to set &lt;STRONG&gt;Update Module&lt;/STRONG&gt; and &lt;STRONG&gt;Start inmmed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION zfm1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ZFM2' IN UPDATE TASK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION zfm2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  modify zxxx from yyy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 19:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764224#M1116928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T19:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: commit required in BAPI / RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764225#M1116929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any one know how to call an RFC in update task from an external system?&lt;/P&gt;&lt;P&gt;I'm using the LibRfc32.dll.&lt;/P&gt;&lt;P&gt;What I want is not use 2 FM like Carlos sugested, but call directly the zfm2 from outside SAP.&lt;/P&gt;&lt;P&gt;And then, controll it with the commit or rollback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 10:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-required-in-bapi-rfc/m-p/4764225#M1116929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T10:30:02Z</dc:date>
    </item>
  </channel>
</rss>

