<?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: Document Not Sent Exception when sending mails in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570467#M1755393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhinab,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; - Are the sender and recipient address wwll maintained?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;yes they are maintained appropriately..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; - Is SCOT well configured, I mean is there a route from the sender to the recipient domain?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ya i checked that also. they do have the routes. even checked by sending mails from Business Workplace and they work. But using the function modules, i am not able to get the mails also in the Business Workplace and when checked via debugger, got the exception in the fm DOCUMENT NOT SENT with sy-subrc = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 08:19:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-20T08:19:38Z</dc:date>
    <item>
      <title>Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570462#M1755388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to send the mail in the Production server using the function module &lt;STRONG&gt;"SO_DOCUMENT_SEND_API1" or "SO_NEW_DOCUMENT_ATT_SEND_API1" &lt;/STRONG&gt;and get the Exception &lt;STRONG&gt;"DOCUMENT NOT SENT".&lt;/STRONG&gt; But it works in Dev and Quality. When searched in SCN for the solution, i found few suggestion like COMMIT WORK, SCOT, SOST.&lt;/P&gt;&lt;P&gt;I have already set the Commit work in the FM. I am able to send test mails from SBWP. So i guess there is no problem with the SCOT settings also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that you might suggest to use CL_BCS class for sending mails as SAP suggests but this is already developed using FM and need your suggestions to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ayyamperumal &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 06:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570462#M1755388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-20T06:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570463#M1755389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Its possible that the FM is being called with no data in receivers table. Make sure that the receiver IDs are given while calling the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 07:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570463#M1755389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-20T07:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570464#M1755390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Perumal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. share your code to under stand your problem..&amp;nbsp; other wise please check this link&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://wiki.sdn.sap.com/wiki/display/Snippets/Send+external+email+from+within+ABAP+program" title="http://wiki.sdn.sap.com/wiki/display/Snippets/Send+external+email+from+within+ABAP+program"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Send+external+email+from+within+ABAP+program&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 07:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570464#M1755390</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-06-20T07:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570465#M1755391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; - Are the sender and recipient address wwll maintained?&lt;/P&gt;&lt;P&gt; - Is SCOT well configured, I mean is there a route from the sender to the recipient domain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Abhinab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 07:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570465#M1755391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-20T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570466#M1755392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Athreya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response. Even this i checked in the debugger before posting the thread itself but missed to mention it. The recipients are filled and the same FM works in Dev and Quality for the same recipients but not in the Production..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570466#M1755392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-20T08:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570467#M1755393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhinab,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; - Are the sender and recipient address wwll maintained?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;yes they are maintained appropriately..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; - Is SCOT well configured, I mean is there a route from the sender to the recipient domain?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ya i checked that also. they do have the routes. even checked by sending mails from Business Workplace and they work. But using the function modules, i am not able to get the mails also in the Business Workplace and when checked via debugger, got the exception in the fm DOCUMENT NOT SENT with sy-subrc = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570467#M1755393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-20T08:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570468#M1755394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ayyam&lt;/P&gt;&lt;P&gt;there is an example report in sap note 190669 here you can see how to call this fm correct&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jozsef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 10:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570468#M1755394</guid>
      <dc:creator>jozsef_hegyi</dc:creator>
      <dc:date>2013-06-20T10:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570469#M1755395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jozsef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing the SAP Note. Actually i have used the Char data type (SOLI) instead of RAW (SOLIX) as referred in the note. May be i will try changing them and let you know the result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i also wanted to know the reason that, why this problem occurs only in the Production System and not in the Dev and Quality??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 03:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570469#M1755395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-21T03:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Document Not Sent Exception when sending mails</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570470#M1755396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ayyam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can be because sp differences between the systems, or number-range problem. In this case please try the report RSBCS_NUMBER_RANGE. But at first please chekc if the report from the note is working or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jozsef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 07:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-not-sent-exception-when-sending-mails/m-p/9570470#M1755396</guid>
      <dc:creator>jozsef_hegyi</dc:creator>
      <dc:date>2013-06-21T07:18:58Z</dc:date>
    </item>
  </channel>
</rss>

