<?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: cl_gui_html_viewer get data_table? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-get-data-table/m-p/8930949#M1692441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out my second question, was just a newbie issue. Any suggestions on how to get and check the stored load_data table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 16:33:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-03T16:33:54Z</dc:date>
    <item>
      <title>cl_gui_html_viewer get data_table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-get-data-table/m-p/8930948#M1692440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relatively new abaper here, so please excuse any noob-ness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a cl_gui_html_viewer that I populate with my own html, load_data it into the viewer, then show_url. All that works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, sometimes I want to to load a new table of html with load_data but first, I want to compare the new html to the currently stored html, if any. If its different, I then want to refresh the viewer with the new html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the data_table of html from the cl_gui_html_viewer and then check it against my new table before I load_data it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, refresh is not updating new html, do I have to do something else? Whatever I do, the cl_gui_html_viewer always displays the first html_table ive loaded into it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for excusing my newbie questions, and thanks in advance for any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 15:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-get-data-table/m-p/8930948#M1692440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T15:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_html_viewer get data_table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-get-data-table/m-p/8930949#M1692441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out my second question, was just a newbie issue. Any suggestions on how to get and check the stored load_data table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 16:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-get-data-table/m-p/8930949#M1692441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T16:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_html_viewer get data_table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-get-data-table/m-p/8930950#M1692442</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 don't think the HTML content is retained at the SAP side. I didn't see any method neither in the HTML viewer class control, nor in the OCX control (saphtml.ocx), to retrieve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you have probably no other choice than keeping in a global variable the last HTML content sent, so that you can compare it with the new HTML content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 20:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-get-data-table/m-p/8930950#M1692442</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2012-07-03T20:11:56Z</dc:date>
    </item>
  </channel>
</rss>

