<?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: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841791#M357695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudheer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you fill receiver like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR REC_LIST.&lt;/P&gt;&lt;P&gt;  REC_LIST-RECEIVER = 'username@yahoo.co.in'.        "email address&lt;/P&gt;&lt;P&gt;  REC_LIST-REC_TYPE = 'U'.&lt;/P&gt;&lt;P&gt;  APPEND REC_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2007 12:15:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-29T12:15:14Z</dc:date>
    <item>
      <title>Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841789#M357693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    I am calling the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' inside the program to send mail to ( i.e username@yahoo.co.in) either yahoo or gmail or etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After calling this function module i am getting error message ''Document could not be sent to any recipient'' i.e sy-subrc = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am using same function module with SAPUSER ID as a receiver list its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know why this problem comming to send email to extenal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sending the document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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              = doc_chng&lt;/P&gt;&lt;P&gt;            put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;            COMMIT_WORK                 = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            packing_list               = g_t_packing&lt;/P&gt;&lt;P&gt;            object_header              = g_t_objheader&lt;/P&gt;&lt;P&gt;            contents_txt               = g_t_objtxt&lt;/P&gt;&lt;P&gt;            receivers                  = g_t_receivers &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;            operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;            OTHERS                     = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-subrc.&lt;/P&gt;&lt;P&gt;    WHEN 0.&lt;/P&gt;&lt;P&gt;        WRITE 'The document was sent'.&lt;/P&gt;&lt;P&gt;    WHEN 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE: / 'No authorization for sending to the specified number',&lt;/P&gt;&lt;P&gt;               'of recipients'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 2.&lt;/P&gt;&lt;P&gt;      WRITE: / 'Document could not be sent to any recipient'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 4.&lt;/P&gt;&lt;P&gt;      WRITE: / 'No send authorization'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      WRITE: / 'Error occurred while sending'.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841789#M357693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841790#M357694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES
packing_list = g_t_packing
object_header = g_t_objheader
contents_txt = g_t_objtxt
receivers = g_t_receivers&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where is hte body of the content ?&lt;/P&gt;&lt;P&gt;i think this is missing .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;contents_bin&amp;lt;/b&amp;gt;      =   objbin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check the same &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841790#M357694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841791#M357695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudheer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you fill receiver like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR REC_LIST.&lt;/P&gt;&lt;P&gt;  REC_LIST-RECEIVER = 'username@yahoo.co.in'.        "email address&lt;/P&gt;&lt;P&gt;  REC_LIST-REC_TYPE = 'U'.&lt;/P&gt;&lt;P&gt;  APPEND REC_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:15:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841791#M357695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841792#M357696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viyaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for rely!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with out 'contents_bin = objbin' i am able to send mail to sapusers. the problem only sending mails to outside(non-sap users).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:16:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841792#M357696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841793#M357697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it did same ! But still it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841793#M357697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841794#M357698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then your mail server has to be checked by the basis team .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not configured then it will show in processing mode till the server is checked .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the SCOT settings for the same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be seeing the  mail as delivered in the outbox of SBWP but not to external receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841794#M357698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841795#M357699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be seeing the mail as delivered in the outbox of SBWP but not to external receivers. - Yes Vijay i am to see the mails(Business workplace)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have run the transactio 'SCOT ' and (INT-&amp;gt; SMTP) can you please send me the details of this because here the basis people don't know this. please help me on this. i told the same to basis people but still they dont have the idea how to configure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841795#M357699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Mail Using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841796#M357700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know settings of SCOT i dont have authorization to see that transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 12:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-sending-mail-using-fm-so-new-document-att-send-api1/m-p/1841796#M357700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T12:36:48Z</dc:date>
    </item>
  </channel>
</rss>

