<?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: BCS Email and Commit Work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166667#M1516594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commit should automatically happen after the  SAP transaction is completed.&lt;/P&gt;&lt;P&gt;You should never use Commit within the standard code as it will lead to inconsistencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Aug 2010 13:21:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-02T13:21:32Z</dc:date>
    <item>
      <title>BCS Email and Commit Work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166666#M1516593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a small email class that is basically a wrapper around the BCS document classes.  Everything works fine when used in normal programs.  Then, I tried to update some code that was behind a smartform for our order confirmations.  When I tried to test this, I got a dump because of the Commit Work after the send.  The error I got was that I was doing a commit work during an update task, which SAP doesn't like.  Apparently the commit work is needed for the BCS send method.  Does anyone have any ideas I can get around this?  Any idea would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 13:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166666#M1516593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-02T13:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: BCS Email and Commit Work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166667#M1516594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commit should automatically happen after the  SAP transaction is completed.&lt;/P&gt;&lt;P&gt;You should never use Commit within the standard code as it will lead to inconsistencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 13:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166667#M1516594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-02T13:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: BCS Email and Commit Work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166668#M1516595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the commit work and try.&lt;/P&gt;&lt;P&gt;Did you check it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 13:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166668#M1516595</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-08-02T13:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: BCS Email and Commit Work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166669#M1516596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What i understand is that your code is getting executed in an Update Work Process &amp;amp; as you've guessed SAP doesn't allow COMMIT WORK to be used inside an Update Task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Gaurav is trying to suggest is may be there are some Implicit Commits later on which might trigger your email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without further inputs it's difficult to analyse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 13:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166669#M1516596</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-08-02T13:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: BCS Email and Commit Work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166670#M1516597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I remove the commit work, there is no error, but I never receive an email in the other programs.  In the order confirmation smartform, I get a POSTING_ILLEGAL_STATEMENT dump on a call screen.  When testing, I'm opening up and order, then I go to EXTRAS &amp;gt; OUTPUT &amp;gt; HEADER &amp;gt; EDIT and try to repeat the order confirmation statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 13:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-email-and-commit-work/m-p/7166670#M1516597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-02T13:34:04Z</dc:date>
    </item>
  </channel>
</rss>

