<?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: Function Module to send mail to external email id using SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750789#M325536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for this u have to do setting in Xchange server side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP will send Request to Xchange Server , so from Xchange server Mail will go .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2006 11:55:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-29T11:55:09Z</dc:date>
    <item>
      <title>Function Module to send mail to external email id using SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750786#M325533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to send a mail to external id . For this I have used the FM 'SO_NEW_DOCUMENT_SEND_API1'. Using this FM, I m sending mail to my SAP id as well as my gmail id(say,mail2neha@gmail.com). i have got the SAP mail but i m not getting the mail on my gmail id. When i tried to debug this FM, i got to know that the rec_tab which is used as the internal table to hold the receivers address does not contain my gmail id as the length of external id is more than 12 characters, which is not permissible. So can anyone sugeest me, what is the solution for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is given code that i have used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZNG_TEST .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: maildata type sodocchgi1.&lt;/P&gt;&lt;P&gt;data: mailtxt  type table of solisti1 with header line.&lt;/P&gt;&lt;P&gt;data: mailrec  type table of somlrec90 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear:    maildata, mailtxt,  mailrec.&lt;/P&gt;&lt;P&gt;  refresh:  mailtxt, mailrec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  maildata-obj_name = 'TEST'.&lt;/P&gt;&lt;P&gt;  maildata-obj_descr = 'Test'.&lt;/P&gt;&lt;P&gt;  maildata-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  mailtxt-line = 'This is a test'.&lt;/P&gt;&lt;P&gt;  append mailtxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  mailrec-receiver = 'mail2neha@gmail.com'.&lt;/P&gt;&lt;P&gt;  mailrec-rec_type  = 'U'.&lt;/P&gt;&lt;P&gt;  append mailrec.&lt;/P&gt;&lt;P&gt;  mailrec-receiver = sy-uname.&lt;/P&gt;&lt;P&gt;  mailrec-rec_type  = 'B'.&lt;/P&gt;&lt;P&gt;  append mailrec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            document_data              = maildata&lt;/P&gt;&lt;P&gt;            document_type              = 'RAW'&lt;/P&gt;&lt;P&gt;            put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            object_header              = mailtxt&lt;/P&gt;&lt;P&gt;            object_content             = mailtxt&lt;/P&gt;&lt;P&gt;            receivers                  = mailrec&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;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rsconn01 WITH mode = 'INT'&lt;/P&gt;&lt;P&gt;WITH output = 'X'&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the similar question posted in SDN and it has given some solution related to Tranasction SCOT. but i have no idea how to work with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me what is the possible solution to send mail to my external id?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 11:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750786#M325533</guid>
      <dc:creator>former_member1195866</dc:creator>
      <dc:date>2006-11-29T11:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to send mail to external email id using SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750787#M325534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Checkout this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu016.htm" target="test_blank"&gt;http://www.sap-img.com/fu016.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 11:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750787#M325534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T11:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to send mail to external email id using SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750788#M325535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check below code and try to modify ur code...&lt;/P&gt;&lt;P&gt;Sending External email through SAP &lt;/P&gt;&lt;P&gt;What is the FM for sending the external email through SAP by attaching layout set  to it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the FM for sending external email :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_DOCUMENT_SEND_API1  &lt;/P&gt;&lt;P&gt;SAPoffice: Send new document with attachments via RFC  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_ATT_SEND_API1 &lt;/P&gt;&lt;P&gt;(In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.) &lt;/P&gt;&lt;P&gt;SAPoffice: Send new document with attachments via RFC  &lt;/P&gt;&lt;P&gt;Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_SEND_API1  &lt;/P&gt;&lt;P&gt;SAPoffice: Send new document  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to send a report to an external mail-id? &lt;/P&gt;&lt;P&gt;Try this sample code :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZREPORT_TO_EMAIL NO STANDARD PAGE HEADING LINE-SIZE 200. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0, &lt;/P&gt;&lt;P&gt;PERNR LIKE PA0001-PERNR, &lt;/P&gt;&lt;P&gt;ENAME LIKE PA0001-ENAME, &lt;/P&gt;&lt;P&gt;END OF ITAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE, &lt;/P&gt;&lt;P&gt;receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE, &lt;/P&gt;&lt;P&gt;packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE, &lt;/P&gt;&lt;P&gt;listobject LIKE abaplist OCCURS 10, &lt;/P&gt;&lt;P&gt;compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE, &lt;/P&gt;&lt;P&gt;w_object_hd_change LIKE sood1, &lt;/P&gt;&lt;P&gt;compressed_size LIKE sy-index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PERNR ENAME &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE ITAB &lt;/P&gt;&lt;P&gt;FROM PA0001 &lt;/P&gt;&lt;P&gt;WHERE PERNR &amp;lt; 50. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB. &lt;/P&gt;&lt;P&gt;WRITE :/02 SY-VLINE , ITAB-PERNR, 15 SY-VLINE , ITAB-ENAME, 50 &lt;/P&gt;&lt;P&gt;SY-VLINE. &lt;/P&gt;&lt;P&gt;ENDLOOP. &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;Receivers &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;receiver_list-recextnam = 'EXTERNAL-MAIL-ID@YAHOO.COM'. "--&amp;gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EMAIL ADDRESS &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;RECEIVER_list-RECESC = 'E'. "&amp;lt;- &lt;/P&gt;&lt;P&gt;RECEIVER_list-SNDART = 'INT'."&amp;lt;- &lt;/P&gt;&lt;P&gt;RECEIVER_list-SNDPRI = '1'."&amp;lt;- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND receiver_list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;General data &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;w_object_hd_change-objla = sy-langu. &lt;/P&gt;&lt;P&gt;w_object_hd_change-objnam = 'Object name'. &lt;/P&gt;&lt;P&gt;w_object_hd_change-objsns = 'P'. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Mail subject &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;w_object_hd_change-objdes = 'Message subject'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Mail body &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;APPEND 'Message content' TO message_content. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Attachment &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SAVE_LIST' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;list_index = '0' &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;listobject = listobject. &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TABLE_COMPRESS' &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;compressed_size = compressed_size &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;in = listobject &lt;/P&gt;&lt;P&gt;out = compressed_attachment. &lt;/P&gt;&lt;P&gt;DESCRIBE TABLE compressed_attachment. &lt;/P&gt;&lt;P&gt;CLEAR packing_list. &lt;/P&gt;&lt;P&gt;packing_list-transf_bin = 'X'. &lt;/P&gt;&lt;P&gt;packing_list-head_start = 0. &lt;/P&gt;&lt;P&gt;packing_list-head_num = 0. &lt;/P&gt;&lt;P&gt;packing_list-body_start = 1. &lt;/P&gt;&lt;P&gt;packing_list-body_num = sy-tfill. &lt;/P&gt;&lt;P&gt;packing_list-objtp = 'ALI'. &lt;/P&gt;&lt;P&gt;packing_list-objnam = 'Object name'. &lt;/P&gt;&lt;P&gt;packing_list-objdes = 'Attachment description'. &lt;/P&gt;&lt;P&gt;packing_list-objlen = compressed_size. &lt;/P&gt;&lt;P&gt;APPEND packing_list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_OBJECT_SEND' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;object_hd_change = w_object_hd_change &lt;/P&gt;&lt;P&gt;object_type = 'RAW' &lt;/P&gt;&lt;P&gt;owner = sy-uname &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;objcont = message_content &lt;/P&gt;&lt;P&gt;receivers = receiver_list &lt;/P&gt;&lt;P&gt;packing_list = packing_list &lt;/P&gt;&lt;P&gt;att_cont = compressed_attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 11:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750788#M325535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T11:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to send mail to external email id using SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750789#M325536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for this u have to do setting in Xchange server side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP will send Request to Xchange Server , so from Xchange server Mail will go .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 11:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750789#M325536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T11:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to send mail to external email id using SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750790#M325537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See the modifications to your Program, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZNG_TEST .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: maildata type sodocchgi1.&lt;/P&gt;&lt;P&gt;data: mailtxt type table of solisti1 with header line.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;data: mailrec LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: maildata, mailtxt, mailrec.&lt;/P&gt;&lt;P&gt;refresh: mailtxt, mailrec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maildata-obj_name = 'TEST'.&lt;/P&gt;&lt;P&gt;maildata-obj_descr = 'Test'.&lt;/P&gt;&lt;P&gt;maildata-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mailtxt-line = 'This is a test'.&lt;/P&gt;&lt;P&gt;append mailtxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mailrec-receiver = 'mail2neha@gmail.com'.&lt;/P&gt;&lt;P&gt;mailrec-rec_type = 'U'.&lt;/P&gt;&lt;P&gt;append mailrec.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;clear mailrec.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;mailrec-receiver = sy-uname.&lt;/P&gt;&lt;P&gt;mailrec-rec_type = 'B'.&lt;/P&gt;&lt;P&gt;append mailrec.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;clear mailrec.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;document_data = maildata&lt;/P&gt;&lt;P&gt;document_type = 'RAW'&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;object_header = mailtxt&lt;/P&gt;&lt;P&gt;object_content = mailtxt&lt;/P&gt;&lt;P&gt;receivers = mailrec&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;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rsconn01 WITH mode = 'INT'&lt;/P&gt;&lt;P&gt;WITH output = 'X'&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute now,  the lenght is not limit to 12. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 12:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750790#M325537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T12:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to send mail to external email id using SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750791#M325538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sudhir, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried doing the same thing.. but still i m not getting the mail triggered to my external mail id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 14:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750791#M325538</guid>
      <dc:creator>former_member1195866</dc:creator>
      <dc:date>2006-11-29T14:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to send mail to external email id using SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750792#M325539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It worked for me . I created the recevier list something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Receiver&amp;#146;s List&lt;/P&gt;&lt;P&gt;             Reclist-receiver = 'yamini@rediffmail.com'. &amp;#145; Change Address&lt;/P&gt;&lt;P&gt;             Reclist-rec_type = 'U'.&lt;/P&gt;&lt;P&gt;             Reclist-express = 'X'.&lt;/P&gt;&lt;P&gt;            APPEND reclist.&lt;/P&gt;&lt;P&gt;             Reclist-receiver = 'NEX2OYQ'.   &amp;#145;Change Internal Users&lt;/P&gt;&lt;P&gt;             Reclist-rec_type = 'B'.&lt;/P&gt;&lt;P&gt;             Reclist-express = 'X'.&lt;/P&gt;&lt;P&gt;             APPEND reclist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and passed the value to the FM SO_NEW_DOCUMENT_SEND_API1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_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;          DOCUMENT_TYPE           = 'RAW'&lt;/P&gt;&lt;P&gt;          PUT_IN_OUTBOX             = 'X'&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          OBJECT_CONTENT          = OBJBIN&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;          OPERATION_NO_AUTHORIZATION = 4&lt;/P&gt;&lt;P&gt;          OTHERS                     = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly also check the transaction code SCOT , where it should be configured to send mail to external system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yamini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 14:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-send-mail-to-external-email-id-using-sap/m-p/1750792#M325539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T14:38:07Z</dc:date>
    </item>
  </channel>
</rss>

