<?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: Email HTML file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720570#M1672741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;Thank you. I don't have a list object, I have a HTML file itself in a directory. For this, whether I need to parse based on tags to fill internal table and use in i_text? Any function module exist to parse the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Gandhi Subramani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 20:52:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-05-22T20:52:00Z</dc:date>
    <item>
      <title>Email HTML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720566#M1672737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt;I have a HTML file output. I need to email HTML file from SAP ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Custom Program will use standard Function Module - SO_NEW_DOCUMENT_ATT_SEND_API1. In the program, how to append &lt;BR /&gt;internal table for storing binary contents (CONTENTS_HEX). Since already a output HTML file exist, I need a help in filing the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;BR /&gt;Gandhi Subramani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 18:57:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720566#M1672737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-14T18:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Email HTML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720567#M1672738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gandhi Subramani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use CL_BCS as outlined in the other HTML-MAIL thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_ATT_SEND_API1 is no longer supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 16:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720567#M1672738</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2012-05-21T16:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Email HTML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720568#M1672739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clemens,&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to append internal table for storing binary contents (CONTENTS_HEX)? Since already a output HTML file exist, I need a help in filing the internal table. Please let me know whether there is any function module to parse the HTML tags so I can append the internal table (contents for email). If no function module, I have to write code to parse and fill internal table. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;Gandhi Subramani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 19:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720568#M1672739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-21T19:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Email HTML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720569#M1672740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gandhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTML anx XML is defined as pure (ASCII) character file. So what is your binary content?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;nbsp; * if you got a list object, use&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; report_name = prog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lt_html&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; listobject&amp;nbsp; = lt_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp; lt_soli = lt_html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lo_bcs = cl_bcs=&amp;gt;create_persistent( ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lo_document = cl_document_bcs=&amp;gt;create_document(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_type = 'HTM'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_text = lt_soli&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_subject = lv_subject ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 11:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720569#M1672740</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2012-05-22T11:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Email HTML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720570#M1672741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;Thank you. I don't have a list object, I have a HTML file itself in a directory. For this, whether I need to parse based on tags to fill internal table and use in i_text? Any function module exist to parse the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Gandhi Subramani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 20:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-html-file/m-p/8720570#M1672741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-22T20:52:00Z</dc:date>
    </item>
  </channel>
</rss>

