<?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: refresh  a html container from an outside program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-html-container-from-an-outside-program/m-p/5337342#M1229680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks for answering. in your solution you're suggesting I create a toolbar container in the same subscreen. this is not what I meant. what I need is a way to control the subscreen behavior using the events of the program I'm calling it from. ie. the toolbar must not be in the subscreen but in the main screen of the calling program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2009 13:35:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-06T13:35:06Z</dc:date>
    <item>
      <title>refresh  a html container from an outside program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-html-container-from-an-outside-program/m-p/5337340#M1229678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call a subscreen from program1 inside of a screen of program2. inside the subscreen there is an html container displaying a web page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to manually perform a command(say via a button) on this html control from program2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks &lt;/P&gt;&lt;P&gt;stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 21:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-html-container-from-an-outside-program/m-p/5337340#M1229678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-05T21:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: refresh  a html container from an outside program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-html-container-from-an-outside-program/m-p/5337341#M1229679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have called the screen of the other program from your current program, you can perform the different actions you need as shown in the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zdisp_web no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;type-pools: icon.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;class cls_event_handler definition deferred.&lt;/P&gt;&lt;P&gt;parameters: url(100) type c.&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Push button&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  goto_url(20) ,"VALUE 'Go To Url',&lt;/P&gt;&lt;P&gt;  okcode                 like sy-ucomm,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Container for html viewer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  go_html_container       type ref to cl_gui_custom_container,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HTML viewer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  go_htmlviewer           type ref to cl_gui_html_viewer,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Container for toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  go_toolbar_container    type ref to cl_gui_custom_container,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SAP Toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  go_toolbar              type ref to cl_gui_toolbar,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Event handler for toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  go_event_handler        type ref to cls_event_handler,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Variable for URL text field on screen 100&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  g_screen100_url_text(255) type c value 'www.google.com',&lt;/P&gt;&lt;P&gt;  g_screen100_display_url(255) type c,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Table for button group&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gt_button_group            type ttb_button,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Table for registration of events. Note that a TYPE REF&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;to cls_event_handler must be created before you can&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reference types cntl_simple_events and cntl_simple_event.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gt_events                  type cntl_simple_events,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Workspace for table gt_events&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gs_event                   type cntl_simple_event.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  set screen '100'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS cls_event_handler DEFINITION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Handles events for the toolbar an the HTML viewer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class cls_event_handler definition.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  public section.&lt;/P&gt;&lt;P&gt;    methods:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Handles method function_selected  for the toolbar control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      on_function_selected for event function_selected&lt;/P&gt;&lt;P&gt;                                  of cl_gui_toolbar&lt;/P&gt;&lt;P&gt;                           importing fcode,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Handles method navigate_complete for the HTML viewer control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      on_navigate_complete for event navigate_complete&lt;/P&gt;&lt;P&gt;                                  of cl_gui_html_viewer&lt;/P&gt;&lt;P&gt;                           importing url.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endclass.                    "cls_event_handler DEFINITION&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS cls_event_handler IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class cls_event_handler implementation.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Handles method function_selected  for the toolbar control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  method on_function_selected.&lt;/P&gt;&lt;P&gt;    case fcode.&lt;/P&gt;&lt;P&gt;      when 'BACK'.&lt;/P&gt;&lt;P&gt;        message 'BACK' type 'I'.&lt;/P&gt;&lt;P&gt;        call method go_htmlviewer-&amp;gt;go_back&lt;/P&gt;&lt;P&gt;          exceptions&lt;/P&gt;&lt;P&gt;            cntl_error = 1.&lt;/P&gt;&lt;P&gt;      when 'FORWARD'.&lt;/P&gt;&lt;P&gt;        message 'FORWARD' type 'I'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        call method go_htmlviewer-&amp;gt;go_forward&lt;/P&gt;&lt;P&gt;          exceptions&lt;/P&gt;&lt;P&gt;            cntl_error = 1.&lt;/P&gt;&lt;P&gt;      when 'STOP' .&lt;/P&gt;&lt;P&gt;        message 'STOP' type 'I'.&lt;/P&gt;&lt;P&gt;        call method go_htmlviewer-&amp;gt;stop&lt;/P&gt;&lt;P&gt;          exceptions&lt;/P&gt;&lt;P&gt;            cntl_error = 1.&lt;/P&gt;&lt;P&gt;      when 'REFRESH'.&lt;/P&gt;&lt;P&gt;        message 'REFRESH' type 'I'.&lt;/P&gt;&lt;P&gt;        call method go_htmlviewer-&amp;gt;do_refresh&lt;/P&gt;&lt;P&gt;          exceptions&lt;/P&gt;&lt;P&gt;            cntl_error = 1.&lt;/P&gt;&lt;P&gt;      when 'HOME' or 'OKAY'.&lt;/P&gt;&lt;P&gt;        call method go_htmlviewer-&amp;gt;go_home&lt;/P&gt;&lt;P&gt;          exceptions&lt;/P&gt;&lt;P&gt;            cntl_error = 1.&lt;/P&gt;&lt;P&gt;      when 'EXIT' or 'CANCEL' .&lt;/P&gt;&lt;P&gt;        message 'EXIT' type 'I'.&lt;/P&gt;&lt;P&gt;        leave to screen 0.&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;  endmethod.                    "on_function_selected&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Handles method navigate_complete for the HTML viewer control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  method on_navigate_complete.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Display current URL in a textfield on the screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    g_screen100_display_url = url.&lt;/P&gt;&lt;P&gt;  endmethod.                    "on_navigate_complete&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endclass.                    "cls_event_handler IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Module  STATUS_0100  OUTPUT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module status_0100 output.&lt;/P&gt;&lt;P&gt;  set pf-status 'PFSTATUS_100'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  check go_html_container is initial.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create container for HTML viewer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create object go_html_container&lt;/P&gt;&lt;P&gt;      exporting container_name = 'HTML_CONTAINER'&lt;/P&gt;&lt;P&gt;     exceptions cntl_error = 1&lt;/P&gt;&lt;P&gt;                cntl_system_error = 2&lt;/P&gt;&lt;P&gt;                create_error = 3&lt;/P&gt;&lt;P&gt;                lifetime_error = 4&lt;/P&gt;&lt;P&gt;                lifetime_dynpro_dynpro_link = 5.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;    message e208(00)&lt;/P&gt;&lt;P&gt;       with 'The control HTML_CONTAINER could not be created'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create HTML viewer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create object go_htmlviewer&lt;/P&gt;&lt;P&gt;      exporting parent = go_html_container.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create container for toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create object go_toolbar_container&lt;/P&gt;&lt;P&gt;      exporting container_name = 'TOOLBAR_CONTAINER'&lt;/P&gt;&lt;P&gt;     exceptions cntl_error = 1&lt;/P&gt;&lt;P&gt;                cntl_system_error = 2&lt;/P&gt;&lt;P&gt;                create_error = 3&lt;/P&gt;&lt;P&gt;                lifetime_error = 4&lt;/P&gt;&lt;P&gt;                lifetime_dynpro_dynpro_link = 5.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;    message e208(00)&lt;/P&gt;&lt;P&gt;       with 'The control TOOLBAR_CONTAINER could not be created'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create object go_toolbar&lt;/P&gt;&lt;P&gt;      exporting parent = go_toolbar_container.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add buttons to the toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  perform add_button_group.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create event table. The event ID must be found in the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;documentation of the specific control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear gs_event.&lt;/P&gt;&lt;P&gt;  refresh gt_events.&lt;/P&gt;&lt;P&gt;  gs_event-eventid    = go_toolbar-&amp;gt;m_id_function_selected.&lt;/P&gt;&lt;P&gt;  gs_event-appl_event = 'X'.           " This is an application event&lt;/P&gt;&lt;P&gt;  append gs_event to gt_events.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  gs_event-eventid    = go_htmlviewer-&amp;gt;m_id_navigate_complete.&lt;/P&gt;&lt;P&gt;  append gs_event to gt_events.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Use the events table to register events for the control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method go_toolbar-&amp;gt;set_registered_events&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      events = gt_events.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call method go_htmlviewer-&amp;gt;set_registered_events&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      events = gt_events.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create event handlers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create object go_event_handler.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  set handler go_event_handler-&amp;gt;on_function_selected&lt;/P&gt;&lt;P&gt;          for go_toolbar.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  set handler go_event_handler-&amp;gt;on_navigate_complete&lt;/P&gt;&lt;P&gt;          for go_htmlviewer.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  g_screen100_url_text = url.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  perform goto_url.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endmodule.                             " STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Module  USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module user_command_0100 input.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Handles the pushbutton for goto url(pushbutton has been deleted from&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*original code by punnu.&lt;/P&gt;&lt;P&gt;  okcode = sy-ucomm.&lt;/P&gt;&lt;P&gt;  case okcode.&lt;/P&gt;&lt;P&gt;    when 'GOTOURL'.&lt;/P&gt;&lt;P&gt;    when '&amp;amp;IC1' or 'EXEC'.&lt;/P&gt;&lt;P&gt; message 'OPENING SITE' type 'I'.&lt;/P&gt;&lt;P&gt;      perform goto_url.&lt;/P&gt;&lt;P&gt;    when 'BACK'.&lt;/P&gt;&lt;P&gt;      leave to screen '0'.&lt;/P&gt;&lt;P&gt;    when 'CANCEL' or 'EXIT'.&lt;/P&gt;&lt;P&gt;      leave program.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endmodule.                             " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Form  add_button_group&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Adds a button group to the toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form add_button_group.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  define m_add_button.&lt;/P&gt;&lt;P&gt;    call method cl_gui_toolbar=&amp;gt;fill_buttons_data_table&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        fcode      = &amp;amp;1&lt;/P&gt;&lt;P&gt;        icon       = &amp;amp;2&lt;/P&gt;&lt;P&gt;        butn_type  = cntb_btype_button&lt;/P&gt;&lt;P&gt;        text       = &amp;amp;3&lt;/P&gt;&lt;P&gt;        quickinfo  = &amp;amp;4&lt;/P&gt;&lt;P&gt;      changing&lt;/P&gt;&lt;P&gt;        data_table = gt_button_group.&lt;/P&gt;&lt;P&gt;  end-of-definition.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  m_add_button 'BACK'    icon_arrow_left  ''     'Go back'.&lt;/P&gt;&lt;P&gt;  m_add_button 'FORWARD' icon_arrow_right ''     'Go forward'.&lt;/P&gt;&lt;P&gt;  m_add_button 'STOP'    icon_breakpoint  ''     'Stop'.&lt;/P&gt;&lt;P&gt;  m_add_button 'REFRESH' icon_refresh     ''     'Refresh'.&lt;/P&gt;&lt;P&gt;  m_add_button 'HOME'    ''               'Home' 'Home'.&lt;/P&gt;&lt;P&gt;  m_add_button 'EXIT'    icon_close       ''     'Close program'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add button group to toolbar&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method go_toolbar-&amp;gt;add_button_group&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      data_table = gt_button_group.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endform.                               " ADD_BUTTON_GROUP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Form  goto_url&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Calls method SHOW_URL to navigate to an URL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form goto_url.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  check not g_screen100_url_text is initial.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call method go_htmlviewer-&amp;gt;show_url&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      url = g_screen100_url_text.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endform.                               " GOTO_URL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 05:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-html-container-from-an-outside-program/m-p/5337341#M1229679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T05:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: refresh  a html container from an outside program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-html-container-from-an-outside-program/m-p/5337342#M1229680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks for answering. in your solution you're suggesting I create a toolbar container in the same subscreen. this is not what I meant. what I need is a way to control the subscreen behavior using the events of the program I'm calling it from. ie. the toolbar must not be in the subscreen but in the main screen of the calling program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 13:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-html-container-from-an-outside-program/m-p/5337342#M1229680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T13:35:06Z</dc:date>
    </item>
  </channel>
</rss>

