<?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: Read html page content. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844927#M1885029</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;&lt;/P&gt;&lt;P&gt;Is that HTML presented to the user from a web server ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2015 18:21:26 GMT</pubDate>
    <dc:creator>rosenberg_eitan</dc:creator>
    <dc:date>2015-02-04T18:21:26Z</dc:date>
    <item>
      <title>Read html page content.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844926#M1885028</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 have a require. Let me explain with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;html Page:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/638414" /&gt;&lt;/P&gt;&lt;P&gt;Code Page:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;html&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;body&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;p &lt;SPAN class="html-attribute-name"&gt;id&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;p1&lt;/SPAN&gt;"&amp;gt;&lt;/SPAN&gt;Hello World!&lt;SPAN class="html-tag"&gt;&amp;lt;/p&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;input &lt;SPAN class="html-attribute-name"&gt;type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;text&lt;/SPAN&gt;" &lt;SPAN class="html-attribute-name"&gt;name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;firstname&lt;/SPAN&gt;"&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;input &lt;SPAN class="html-attribute-name"&gt;type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;button&lt;/SPAN&gt;" &lt;SPAN class="html-attribute-name"&gt;value&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;1&lt;/SPAN&gt;" &lt;SPAN class="html-attribute-name"&gt;name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;no&lt;/SPAN&gt;" &lt;SPAN class="html-attribute-name"&gt;onclick&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;moveNumbers()&lt;/SPAN&gt;"&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;function moveNumbers() &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;{ &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;document.getElementById("p1").innerHTML = document.getElementById("p1").value; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;} &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/body&amp;gt;&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="line-number"&gt;&lt;/TD&gt;&lt;TD class="line-content"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/html&amp;gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through interface "IF_HTTP_CLIENT" i am able to read code page,&lt;/P&gt;&lt;P&gt;but my requirement is read "123456" information from html body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is any class or method exist in SAP, please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 17:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844926#M1885028</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-02-04T17:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read html page content.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844927#M1885029</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;&lt;/P&gt;&lt;P&gt;Is that HTML presented to the user from a web server ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 18:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844927#M1885029</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2015-02-04T18:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read html page content.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844928#M1885030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless abap able to call JS function. seems can not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i think this action is very dangerous to any web application. See, a web application running, your code could get the element value which is user typing, without any interaction with this web server, if it`s passwrod?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 02:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844928#M1885030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-05T02:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Read html page content.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844929#M1885031</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;Actually page format is same as i have provided in screen, only using Label at the place of Text Box.&lt;/P&gt;&lt;P&gt;And call some java script functionality and finally chaging the lable text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this all process i have written in onLoad command of html body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it's a service base page, which is configured under SICF-&amp;gt;SAP-&amp;gt;BC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a&amp;nbsp; handler class and through IF_HTTP_CLIENT interface able to read Page code, but i want to read the value which has been set after execution of JavaScript Function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, i am able to exaplain you my scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 06:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844929#M1885031</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-02-05T06:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Read html page content.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844930#M1885032</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;&lt;/P&gt;&lt;P&gt;I am not familiar what can be done with SICF . can you post the page back to SAP ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMHO you need to post the data to a web server .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Java world this can be done using "Java servlet" &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Java_servlet"&gt;http://en.wikipedia.org/wiki/Java_servlet&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the servlet you can use "SAP Java Connector" to call RFC function in SAP to put the data into &lt;/P&gt;&lt;P&gt;SAP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 07:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-html-page-content/m-p/10844930#M1885032</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2015-02-05T07:41:24Z</dc:date>
    </item>
  </channel>
</rss>

