<?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: Send E-Mail HTM Type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463022#M1554145</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;Are you sending abap list as an attachment if so check whether note &lt;STRONG&gt;211973&lt;/STRONG&gt; will be helpful to you.&lt;/P&gt;&lt;P&gt;Also some more note is there, just check at market place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Jayanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Dec 2010 10:12:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-08T10:12:54Z</dc:date>
    <item>
      <title>Send E-Mail HTM Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463020#M1554143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to send e-mail from SAP via Exch for HTML Type. &lt;/P&gt;&lt;P&gt;I researched and looked at internet for this subject.  Some Experts say "You must insert HTM type to TSOTD table." I tried HTM type insert to it. But It give insert error. "No function can be used with the selected object type"  &lt;/P&gt;&lt;P&gt;Maybe before insert to TSOTD, I must insert to different tables. But I dont know these tables or process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using still SAP 4.6c. I'm using FM SO_NEW_DOCUMENT_SEND_API1.&lt;/P&gt;&lt;P&gt;Mr. Rich Heilman say "HTM mail send possible at 4.6c"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However Now I am sending RAW etc. types email from SAP to Outlook Via Exch. I haven't problem this process. I have only problem "send HTM Type mails". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I do at SAP for send HTM mails ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="82676"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 10:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463020#M1554143</guid>
      <dc:creator>former_member212713</dc:creator>
      <dc:date>2010-12-08T10:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send E-Mail HTM Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463021#M1554144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data :  wa_doc_data TYPE SODOCCHGI1 .&lt;/P&gt;&lt;P&gt;data :  lt_content TYPE STANDARD TABLE OF SOLISTI1,&lt;/P&gt;&lt;P&gt;        wa_content TYPE SOLISTI1.&lt;/P&gt;&lt;P&gt;data : lt_receivers TYPE STANDARD TABLE OF SOMLRECI1,&lt;/P&gt;&lt;P&gt;       wa_receivers TYPE SOMLRECI1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**For filling content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_content-LINE = '&amp;lt;p&amp;gt; &amp;lt;span style="color:green"&amp;gt;different text color&amp;lt;/span&amp;gt; &amp;lt;/p&amp;gt;'.&lt;/P&gt;&lt;P&gt;APPEND wa_content to lt_content.&lt;/P&gt;&lt;P&gt;clear : wa_content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_content-LINE = '&amp;lt;p style="background-color:yellow"&amp;gt; Thirukumaran &amp;lt;/p&amp;gt;'.&lt;/P&gt;&lt;P&gt;APPEND wa_content to lt_content.&lt;/P&gt;&lt;P&gt;clear : wa_content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_content-LINE = '&amp;lt;B&amp;gt;&amp;lt;U&amp;gt;Test Program for Send Mail.&amp;lt;/U&amp;gt;&amp;lt;/B&amp;gt; &amp;lt;BR&amp;gt;' ."'The out put data &amp;amp; &amp;amp; &amp;amp; reRegards Vivek Deshpande'.&lt;/P&gt;&lt;P&gt;APPEND wa_content to lt_content.&lt;/P&gt;&lt;P&gt;clear : wa_content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*for receivers email id.&lt;/P&gt;&lt;P&gt;wa_receivers-receiver = ''.&lt;/P&gt;&lt;P&gt;wa_receivers-rec_type = 'U'.&lt;/P&gt;&lt;P&gt;APPEND wa_receivers to lt_receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_doc_data-OBJ_DESCR = 'This is test mail subject'.&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                    = wa_doc_data&lt;/P&gt;&lt;P&gt;   DOCUMENT_TYPE                    = 'HTM'&lt;/P&gt;&lt;P&gt;   COMMIT_WORK                      = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SENT_TO_ALL                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NEW_OBJECT_ID                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJECT_HEADER                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   OBJECT_CONTENT                   = lt_content&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTENTS_HEX                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJECT_PARA                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJECT_PARB                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    receivers                        = lt_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;   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;          .&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 10:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463021#M1554144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T10:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Send E-Mail HTM Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463022#M1554145</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;Are you sending abap list as an attachment if so check whether note &lt;STRONG&gt;211973&lt;/STRONG&gt; will be helpful to you.&lt;/P&gt;&lt;P&gt;Also some more note is there, just check at market place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Jayanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 10:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463022#M1554145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T10:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Send E-Mail HTM Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463023#M1554146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved my problem. &lt;/P&gt;&lt;P&gt;I have been using FM "SO_NEW_DOCUMENT_SEND_API1". But It's unsuccessfull for send HTM mail. &lt;/P&gt;&lt;P&gt;Now I'm using FM "SO_DOCUMENT_SEND_API1". It's great and result is successfull for send HTM mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't understand Why is FM "SO_NEW_DOCUMENT_SEND_API1" unsuccessfull or What is difference between two FMs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 09:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-e-mail-htm-type/m-p/7463023#M1554146</guid>
      <dc:creator>former_member212713</dc:creator>
      <dc:date>2010-12-09T09:18:11Z</dc:date>
    </item>
  </channel>
</rss>

