<?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: Reg: HTML Content display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238567#M1210609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Amuktha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having your answer as one of the option with me.Thanks for your reply and i an awarding points for you even.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But My doubt is if we take following text in a text document and change the extension of file to HTML,we can open it in the browser. Then if we view the source then it shows following content it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Pune
Benagaluru
Delhi
Chennai
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the other case,if we have following content in text do and if we open it in browser and view source it will be different. I think that makes the difference&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;   &amp;lt;title&amp;gt;Sample&amp;lt;/title&amp;gt;   &amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;basefont size=1&amp;gt;
&amp;lt;table border&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;Raveendra&amp;lt;th&amp;gt;                    &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;poothineedi&amp;lt;th&amp;gt;                  &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;EDS an HP company&amp;lt;th&amp;gt;    &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;Vizag&amp;lt;th&amp;gt;                           &amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please clarify..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ravee on Feb 27, 2009 6:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2009 12:42:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-27T12:42:01Z</dc:date>
    <item>
      <title>Reg: HTML Content display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238564#M1210606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a requirement of displaying a HTML content(which is in internal table) in a text editor. Generally HTML content will have tags as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;   &amp;lt;title&amp;gt;Sample&amp;lt;/title&amp;gt;  &amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;basefont size=1&amp;gt;
&amp;lt;table border&amp;gt;
&amp;lt;tr&amp;gt;   &amp;lt;th&amp;gt;Bengaluru&amp;lt;th&amp;gt;  &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;   &amp;lt;th&amp;gt;Pune&amp;lt;th&amp;gt;         &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;   &amp;lt;th&amp;gt;Delhi&amp;lt;th&amp;gt;         &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;   &amp;lt;th&amp;gt;Goa&amp;lt;th&amp;gt;          &amp;lt;/table&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have to display this content in text editor with out these tags as if it is shown when we open this document in browser. Awaiting replies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravee..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 12:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238564#M1210606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T12:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: HTML Content display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238565#M1210607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rave,&lt;/P&gt;&lt;P&gt;  Try using this logic.&lt;/P&gt;&lt;P&gt;1. Read each line.&lt;/P&gt;&lt;P&gt;2. Consider offset for each line.&lt;/P&gt;&lt;P&gt;3.Increment each character and where you find '&amp;lt;' or '&amp;gt;' or '/' like that you can delete them before appending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Regards,&lt;/P&gt;&lt;P&gt;Amuktha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 12:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238565#M1210607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T12:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: HTML Content display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238566#M1210608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; cl_gui_html_viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this piece of code given by rich in below mentioned thread u can modify it for ur use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Load the HTML
  lo_html-&amp;gt;load_data(
    exporting
      type         = `application`
      subtype      = `pdf`
    IMPORTING
      assigned_url         = lv_url
    CHANGING
      data_table           = lt_data
    EXCEPTIONS
      dp_invalid_parameter = 1
      dp_error_general     = 2
      cntl_error           = 3
      OTHERS               = 4 ).
 
* Show it
  lo_html-&amp;gt;show_url( url = lv_url  in_place = 'X' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7017971"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Feb 27, 2009 6:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 12:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238566#M1210608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T12:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: HTML Content display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238567#M1210609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Amuktha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having your answer as one of the option with me.Thanks for your reply and i an awarding points for you even.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But My doubt is if we take following text in a text document and change the extension of file to HTML,we can open it in the browser. Then if we view the source then it shows following content it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Pune
Benagaluru
Delhi
Chennai
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the other case,if we have following content in text do and if we open it in browser and view source it will be different. I think that makes the difference&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;   &amp;lt;title&amp;gt;Sample&amp;lt;/title&amp;gt;   &amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;basefont size=1&amp;gt;
&amp;lt;table border&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;Raveendra&amp;lt;th&amp;gt;                    &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;poothineedi&amp;lt;th&amp;gt;                  &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;EDS an HP company&amp;lt;th&amp;gt;    &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;Vizag&amp;lt;th&amp;gt;                           &amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please clarify..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ravee on Feb 27, 2009 6:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 12:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238567#M1210609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T12:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: HTML Content display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238568#M1210610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the commands in between &amp;lt;&amp;gt; are html tags and they help to format the output, so if u want to see only output without the tags use html container as mentioned in my previous post. it will be as if u are seeing it in ur browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 12:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238568#M1210610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T12:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: HTML Content display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238569#M1210611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 12:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-html-content-display/m-p/5238569#M1210611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T12:54:39Z</dc:date>
    </item>
  </channel>
</rss>

