<?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: Problems with BAPI_TRANSACTION_COMMIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704703#M308790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of BAPI_TRANSACTION_COMMIT just use commit...it will stay in the code itself and u can execute the below code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2006 15:17:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-21T15:17:49Z</dc:date>
    <item>
      <title>Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704701#M308788</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;We have a Program calling custom transaction in wihich a BAPI for Quotation Creating is called and after the BAPI call we are executing BAPI_TRANSACTION_COMMIT and after this we have some more calculations to do with the created Quote in that Custom Transaction. But the Problem is as soon as the FM BAPI_TRANSACTION_COMMIT is executed, it is coming out of that Custom transaction to the Calling Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using ECC6 System...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Help... Points Guranteed....:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreedhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 15:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704701#M308788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T15:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704702#M308789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally that shouldn't happen, did you debug to see why was it doing that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, as a work around, why don't you move the COMMIT to the end of the called program.&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>Tue, 21 Nov 2006 15:16:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704702#M308789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T15:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704703#M308790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of BAPI_TRANSACTION_COMMIT just use commit...it will stay in the code itself and u can execute the below code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 15:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704703#M308790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T15:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704704#M308791</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;try using this give a value for wait in the importing parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(WAIT) LIKE  BAPITA-WAIT OPTIONAL&lt;/P&gt;&lt;P&gt;*"       EXPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 15:20:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704704#M308791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T15:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704705#M308792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During Call Transaction, set the parameter RACOMMIT to X.&lt;/P&gt;&lt;P&gt;Then use OPTIONS FROM params during call transaction. See sample code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;params-racommit  = 'X'.&lt;/P&gt;&lt;P&gt;params-defsize  = 'X'.&lt;/P&gt;&lt;P&gt;params-dismode  =  'N'.&lt;/P&gt;&lt;P&gt;params-updmode  = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction &amp;lt;tcode&amp;gt;&lt;/P&gt;&lt;P&gt;                   using bdcdata&lt;/P&gt;&lt;P&gt;                   options from params&lt;/P&gt;&lt;P&gt;                   messages into messtab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 15:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704705#M308792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704706#M308793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is to Ramesh will the regular commit work when a BAPI is called?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 15:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704706#M308793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T15:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704707#M308794</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;Direct commit work will be same as BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the code inside Bapi_transaction_commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if wait eq space.&lt;/P&gt;&lt;P&gt;  commit work.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  commit work and wait.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;    call function 'BALW_BAPIRETURN_GET2'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              type       = 'E'&lt;/P&gt;&lt;P&gt;              cl         = 'S&amp;amp;'&lt;/P&gt;&lt;P&gt;              number     = '150'&lt;/P&gt;&lt;P&gt;         importing&lt;/P&gt;&lt;P&gt;              return     = return.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;call function 'BUFFER_REFRESH_ALL'.&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;RAVI:--&amp;gt; I think Sreedhar wants to edit the created quotation details once it created, by giving the commit work in the last not possible to edit the created Quotation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sreedhar:--&amp;gt; you try with created a wrapper function module for the bapi call and call in the separate LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 15:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704707#M308794</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2006-11-21T15:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704708#M308795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think the problem is the control comes back to the calling program from the called transaction as soon as a commit work is executed in the called transaction. In order to avoid this, the RACOMMIT parameter needs to set to 'X' during calling the transaction from the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 16:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-transaction-commit/m-p/1704708#M308795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T16:00:52Z</dc:date>
    </item>
  </channel>
</rss>

