Skip to Content
0
Former Member
Mar 24, 2008 at 12:31 AM

CL_GUI_HTML_CONTROL

47 Views

Hi all,

i have problems with the CL_GUI_HTML_CONTROL, especially with the method: DISPATCH

I use the method to trigger the SAPEVENT, but i get the exception "CNTL_ERROR" (mesage CNDP 006); the trigger is part

of an PAI function.

  CALL METHOD cs_scr0010-html_viewer->dispatch
    EXPORTING
      cargo         = ''
      eventid       = cl_gui_html_viewer=>m_id_sapevent
      is_shellevent = co_false
    EXCEPTIONS
      cntl_error    = 1
      OTHERS        = 2.

I need the event to get the value of an input box which is embedded in the html document.

What is necessary to use this method; other methods to initialize the control?

Regard,

Andreas