<?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: Function Modules TRANSACTION_BEGIN and TRANSACTION_END in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246943#M143837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example that you have detailed, it is my understanding that TRANSACTION_ABORT will only rollback to the latest commit within the LUW. If no commit then the whole transaction is rolled back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure that TRANSACTION_ABOUT would only rollback bapi(2) and the processing of bapi(1) would remain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2007 14:23:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-01T14:23:18Z</dc:date>
    <item>
      <title>Function Modules TRANSACTION_BEGIN and TRANSACTION_END</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246939#M143833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does funcion module (FM) transaction_begin do?&lt;/P&gt;&lt;P&gt;What does funcion module (FM) transaction_end do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use these FM?&lt;/P&gt;&lt;P&gt;With these once can I create a LUW, with bapi commit or rollback also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 13:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246939#M143833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T13:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules TRANSACTION_BEGIN and TRANSACTION_END</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246940#M143834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the transaction number of your LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sequence of use is like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSACTION_BEGIN&lt;/P&gt;&lt;P&gt;do processing of BAPI...&lt;/P&gt;&lt;P&gt;if something wrong&lt;/P&gt;&lt;P&gt;TRANSACTION_abrot&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;TRANSACTION_END&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;Naimesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 13:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246940#M143834</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-04-06T13:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules TRANSACTION_BEGIN and TRANSACTION_END</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246941#M143835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is another way of doing a commit. for e.g..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TRANSACTION_BEGIN' &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_GOODSMVT_CREATE' &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_OBJCL_DELETE' &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_OBJCL_CREATE' &lt;/P&gt;&lt;P&gt;  if sucess &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' &lt;/P&gt;&lt;P&gt;  else &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK' &lt;/P&gt;&lt;P&gt;  endif &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TRANSACTION_END'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 13:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246941#M143835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T13:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules TRANSACTION_BEGIN and TRANSACTION_END</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246942#M143836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I execute these step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSACTION_BEGIN&lt;/P&gt;&lt;P&gt;do processing of BAPI(1)...&lt;/P&gt;&lt;P&gt;do processing commit bapi(1)&lt;/P&gt;&lt;P&gt;do processing of BAPI(2) connected to BAPI(1)&lt;/P&gt;&lt;P&gt;if something wrong&lt;/P&gt;&lt;P&gt;TRANSACTION_abrot&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;TRANSACTION_END&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does the transaction_abort execute the rollack of bapi(1) and bapi(2)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. the commit between bapi(1) and bapi(2) is mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 15:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246942#M143836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T15:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules TRANSACTION_BEGIN and TRANSACTION_END</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246943#M143837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example that you have detailed, it is my understanding that TRANSACTION_ABORT will only rollback to the latest commit within the LUW. If no commit then the whole transaction is rolled back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure that TRANSACTION_ABOUT would only rollback bapi(2) and the processing of bapi(1) would remain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 14:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-transaction-begin-and-transaction-end/m-p/1246943#M143837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T14:23:18Z</dc:date>
    </item>
  </channel>
</rss>

