<?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: RFC Commit Error While Sending Mail in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-commit-error-while-sending-mail/m-p/5028628#M1169797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your exporting parameter of the mail FM? Use commit_work = 'X' and also check out the users GUI version. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      document_data              = docdata&lt;/P&gt;&lt;P&gt;      put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      commit_work                = 'X' "used from rel. 6.10&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      packing_list               = objpack&lt;/P&gt;&lt;P&gt;      object_header              = objhead&lt;/P&gt;&lt;P&gt;      contents_bin               = objbin&lt;/P&gt;&lt;P&gt;      contents_txt               = objtxt&lt;/P&gt;&lt;P&gt;      receivers                  = reclist&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;      document_not_sent          = 2&lt;/P&gt;&lt;P&gt;      document_type_not_exist    = 3&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;      parameter_error            = 5&lt;/P&gt;&lt;P&gt;      x_error                    = 6&lt;/P&gt;&lt;P&gt;      enqueue_error              = 7&lt;/P&gt;&lt;P&gt;      others                     = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2008 16:45:22 GMT</pubDate>
    <dc:creator>former_member191735</dc:creator>
    <dc:date>2008-12-30T16:45:22Z</dc:date>
    <item>
      <title>RFC Commit Error While Sending Mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-commit-error-while-sending-mail/m-p/5028626#M1169795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While sending mail using the FM 'SO_NEW_DOCUMENT_SEND_API1'  system is throwing an error message of " MESSAGE_TYPE_X ".&lt;/P&gt;&lt;P&gt;The error is in the shown line.&lt;/P&gt;&lt;P&gt;FORM chk_precommit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: chk_precommit_ok TYPE c,&lt;/P&gt;&lt;P&gt;        chk_error        type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'PS_FLAG_GET_GLOBAL_FLAGS'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            e_precommit_ok = chk_precommit_ok&lt;/P&gt;&lt;P&gt;            e_error        = chk_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF chk_precommit_ok = space.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Precommit wurde noch nicht aufgerufen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE x030(cnif_pi).----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;  ELSEIF chk_precommit_ok &amp;lt;&amp;gt; 'Y'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Precommit wurde nicht erfolgreich durchlaufen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE x033(cnif_pi).&lt;/P&gt;&lt;P&gt;  elseif not chk_error is initial.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  At least one single BAPI failed&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE x056(cnif_pi).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;commit work was called successfully after the p&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM ps_bapi_init_global_variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " CHK_PRECOMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RFC is working fine for some users but terminates for some other users. The inputs of the FM are coming all correctly and after processing all correctly the system is throwing a short dump.Please help ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 15:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-commit-error-while-sending-mail/m-p/5028626#M1169795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T15:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Commit Error While Sending Mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-commit-error-while-sending-mail/m-p/5028627#M1169796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try writing commit work after the email FM is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dileep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 15:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-commit-error-while-sending-mail/m-p/5028627#M1169796</guid>
      <dc:creator>former_member1007904</dc:creator>
      <dc:date>2008-12-30T15:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Commit Error While Sending Mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-commit-error-while-sending-mail/m-p/5028628#M1169797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your exporting parameter of the mail FM? Use commit_work = 'X' and also check out the users GUI version. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      document_data              = docdata&lt;/P&gt;&lt;P&gt;      put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      commit_work                = 'X' "used from rel. 6.10&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      packing_list               = objpack&lt;/P&gt;&lt;P&gt;      object_header              = objhead&lt;/P&gt;&lt;P&gt;      contents_bin               = objbin&lt;/P&gt;&lt;P&gt;      contents_txt               = objtxt&lt;/P&gt;&lt;P&gt;      receivers                  = reclist&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;      document_not_sent          = 2&lt;/P&gt;&lt;P&gt;      document_type_not_exist    = 3&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;      parameter_error            = 5&lt;/P&gt;&lt;P&gt;      x_error                    = 6&lt;/P&gt;&lt;P&gt;      enqueue_error              = 7&lt;/P&gt;&lt;P&gt;      others                     = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 16:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-commit-error-while-sending-mail/m-p/5028628#M1169797</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2008-12-30T16:45:22Z</dc:date>
    </item>
  </channel>
</rss>

