<?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 COMMIT_IN_POSTING Dump (SendEmail) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-in-posting-dump-sendemail/m-p/6872523#M1477394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need send Adobe Form as attachment&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="21" type="ul"&gt;&lt;P&gt;this is part of my prog. ******************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;lr_send_request-&amp;gt;send(&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_with_error_screen = 'X'&lt;/P&gt;&lt;P&gt;RECEIVING&lt;/P&gt;&lt;P&gt;result = lv_sent_to_all ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATCH cx_send_req_bcs INTO lr_send_req_bcs.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;***************************************************************&lt;/P&gt;&lt;P&gt;but after execute I get Error(Dump):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;Calling a COMMIT WORK in an update process is not allowed&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;because the function modules triggered in a Logical Unit&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;of Work cannot then be processed correctly.&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use UpdateFunction(call function in update task), but in this case I get Empty PDF File .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Larissa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 May 2010 11:23:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-10T11:23:26Z</dc:date>
    <item>
      <title>COMMIT_IN_POSTING Dump (SendEmail)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-in-posting-dump-sendemail/m-p/6872523#M1477394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need send Adobe Form as attachment&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="21" type="ul"&gt;&lt;P&gt;this is part of my prog. ******************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;lr_send_request-&amp;gt;send(&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_with_error_screen = 'X'&lt;/P&gt;&lt;P&gt;RECEIVING&lt;/P&gt;&lt;P&gt;result = lv_sent_to_all ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATCH cx_send_req_bcs INTO lr_send_req_bcs.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;***************************************************************&lt;/P&gt;&lt;P&gt;but after execute I get Error(Dump):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;Calling a COMMIT WORK in an update process is not allowed&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;because the function modules triggered in a Logical Unit&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;of Work cannot then be processed correctly.&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use UpdateFunction(call function in update task), but in this case I get Empty PDF File .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Larissa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 11:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-in-posting-dump-sendemail/m-p/6872523#M1477394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-10T11:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT_IN_POSTING Dump (SendEmail)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-in-posting-dump-sendemail/m-p/6872524#M1477395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are calling class cl_bcs inside function module, try with remove the commit work and call bapi_transaction_commit after your function module call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 11:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-in-posting-dump-sendemail/m-p/6872524#M1477395</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2010-05-10T11:44:26Z</dc:date>
    </item>
  </channel>
</rss>

