<?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 at ZXCO1U01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731535#M1673665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just call the code in update task WITHOUT COMMIT.&lt;/P&gt;&lt;P&gt;The transction should be doing the commit for you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2012 07:15:30 GMT</pubDate>
    <dc:creator>Private_Member_49934</dc:creator>
    <dc:date>2012-04-18T07:15:30Z</dc:date>
    <item>
      <title>Commit at ZXCO1U01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731534#M1673664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write code at exit ZXCO1U01 for sending an email notification when an Process order is saved. The problem is that, i cannot write commit at this exit, because it raises an exception for perform on commit. The code i use for sending the email is below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;CALL &lt;SPAN class="L1S52"&gt;METHOD&lt;/SPAN&gt; SEND_REQUEST-&amp;gt;SEND(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_WITH_ERROR_SCREEN = CA_X&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECEIVING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESULT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SENT_TO_ALL ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;COMMIT&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;WORK&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create a function, and do this in update task, but the update terminated also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone gine me a sample code to make this happend ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 07:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731534#M1673664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-18T07:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Commit at ZXCO1U01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731535#M1673665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just call the code in update task WITHOUT COMMIT.&lt;/P&gt;&lt;P&gt;The transction should be doing the commit for you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 07:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731535#M1673665</guid>
      <dc:creator>Private_Member_49934</dc:creator>
      <dc:date>2012-04-18T07:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Commit at ZXCO1U01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731536#M1673666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, dont put any commit in transaction customer-exits or BAdI as well as &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_UPDATE.htmhttp://"&gt;in update task&lt;/A&gt;. Try to execute in a FM &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_BACKGROUND_TASK.htm"&gt;in background task&lt;/A&gt; which will execute after update tasks (successful). There you are in another luw and are allowed to use any tools, like call transaction or commit-work. ( Also check via SM58 for error management as you use SM13 for update task errors)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 07:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731536#M1673666</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-04-18T07:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Commit at ZXCO1U01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731537#M1673667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for answer, but without commit no update is happening..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 07:26:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731537#M1673667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-18T07:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Commit at ZXCO1U01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731538#M1673668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 10:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-zxco1u01/m-p/8731538#M1673668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-18T10:02:44Z</dc:date>
    </item>
  </channel>
</rss>

