<?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_CONTROL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-control/m-p/3609518#M869447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved the problem by my own...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) create your own CL_GUI_HTML_CONTROL class&lt;/P&gt;&lt;P&gt;(2) create a new method which calls the private function to execute a javascript function in the html template&lt;/P&gt;&lt;P&gt;(3) add an javascript function to the html template which executes "submit();"&lt;/P&gt;&lt;P&gt;(4) call the javascript function via the control method&lt;/P&gt;&lt;P&gt;(5) call the dispatch method of the html control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Andreas Sertl on Jun 28, 2008 6:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jun 2008 16:52:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-28T16:52:52Z</dc:date>
    <item>
      <title>CL_GUI_HTML_CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-control/m-p/3609517#M869446</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 have problems with the CL_GUI_HTML_CONTROL, especially with the method: DISPATCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the method to trigger the SAPEVENT, but i get the exception "CNTL_ERROR" (mesage CNDP 006); the trigger is part&lt;/P&gt;&lt;P&gt;of an PAI function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL METHOD cs_scr0010-html_viewer-&amp;gt;dispatch
    EXPORTING
      cargo         = ''
      eventid       = cl_gui_html_viewer=&amp;gt;m_id_sapevent
      is_shellevent = co_false
    EXCEPTIONS
      cntl_error    = 1
      OTHERS        = 2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the event to get the value of an input box which is embedded in the html document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is necessary to use this method; other methods to initialize the control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 00:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-control/m-p/3609517#M869446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T00:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_HTML_CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-control/m-p/3609518#M869447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved the problem by my own...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) create your own CL_GUI_HTML_CONTROL class&lt;/P&gt;&lt;P&gt;(2) create a new method which calls the private function to execute a javascript function in the html template&lt;/P&gt;&lt;P&gt;(3) add an javascript function to the html template which executes "submit();"&lt;/P&gt;&lt;P&gt;(4) call the javascript function via the control method&lt;/P&gt;&lt;P&gt;(5) call the dispatch method of the html control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Andreas Sertl on Jun 28, 2008 6:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 16:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-control/m-p/3609518#M869447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T16:52:52Z</dc:date>
    </item>
  </channel>
</rss>

