<?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: Dialog Programming using ALV OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784518#M1465099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.
    CALL METHOD CL_GUI_CFW=&amp;gt;DISPATCH.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that this updates internal table cache when an event is triggered outside of the tree itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 21:10:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-13T21:10:58Z</dc:date>
    <item>
      <title>Dialog Programming using ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784517#M1465098</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 am developing a module pool program which contains two tabs . One tab conatins the ALV Grid and the other contains the ALV tree. In the selection screen I have a Builder, Community and LOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHen I execute the transaction for the first time correct data is populating int the ALV Tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when we just COME BACK and give new selection the tree is showing the previous selection data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have cleared the Tree , COnatiner in the PAI event .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used the Frontend_update method as well for the front end data update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While debugging the corresponding internal tables are populated with the update data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV tree is not refreshing right from the second run of the program with new selection inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 16:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784517#M1465098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-08T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming using ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784518#M1465099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.
    CALL METHOD CL_GUI_CFW=&amp;gt;DISPATCH.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that this updates internal table cache when an event is triggered outside of the tree itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 21:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784518#M1465099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T21:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming using ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784519#M1465100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Have you tried&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;
&amp;gt;     CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.
&amp;gt;     CALL METHOD CL_GUI_CFW=&amp;gt;DISPATCH.
&amp;gt; &lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I have found that this updates internal table cache when an event is triggered outside of the tree itself.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Call method REFRESH_TABLE_DISPLAY of class CL_GUI_ALV_GRID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;S.Sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 05:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784519#M1465100</guid>
      <dc:creator>Sivakumar_Subramaniam</dc:creator>
      <dc:date>2010-04-14T05:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming using ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784520#M1465101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Have you tried&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;
&amp;gt;     CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.
&amp;gt;     CALL METHOD CL_GUI_CFW=&amp;gt;DISPATCH.
&amp;gt; &lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I have found that this updates internal table cache when an event is triggered outside of the tree itself.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Call method REFRESH_TABLE_DISPLAY of class CL_GUI_ALV_GRID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;S.Sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 05:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784520#M1465101</guid>
      <dc:creator>Sivakumar_Subramaniam</dc:creator>
      <dc:date>2010-04-14T05:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming using ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784521#M1465102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abdul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In last triggered PAI event &lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;       c_container-&amp;gt;free( ). &lt;/P&gt;&lt;P&gt;        r_grid-&amp;gt;free( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It will refresh the container and the grid then the fresh data will display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 07:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784521#M1465102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming using ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784522#M1465103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hy have the same problem...still not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that the form...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form show_alv changing pt_fieldcat type lvc_t_fcat.

  data : lt_exclude  type  ui_functions.

  if  g_custom_container  is   initial .
    create object g_custom_container
      exporting
        container_name = g_container.

    create object grid
      exporting
        i_parent = g_custom_container.
    perform  toolbar  changing  lt_exclude.
    perform  build_fieldcat  changing  pt_fieldcat.
    gs_layout-stylefname =  'CELLTAB' .

    if   not  itb_zt1050[]  is   initial .
      call method grid-&amp;gt;set_table_for_first_display
        exporting
          it_toolbar_excluding = lt_exclude
          is_layout            = gs_layout
        changing
          it_fieldcatalog      = pt_fieldcat
          it_outtab            = itb_zt1050[].
      call method grid-&amp;gt;set_ready_for_input
        exporting
          i_ready_for_input = 1.
*gestione toolbar e pai
        create object g_event_receiver.
        set   handler  g_event_receiver-&amp;gt;handle_user_command  for  grid.
        set   handler  g_event_receiver-&amp;gt;handle_toolbar  for  grid.
  .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the user_command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module user_command_0200 input.
  save_ok = ok_code.
  clear ok_code.
  case save_ok.
    when 'BACK'.
      call method grid-&amp;gt;free.
      call method g_custom_container-&amp;gt;free.
      call method cl_gui_cfw=&amp;gt;flush.
      set screen 0.
      leave  to screen '0100'.
    when 'SAVE'.
      perform save_data.
*      LEAVE TO SCREEN '0100'.
*      CALL METHOD cl_gui_cfw=&amp;gt;dispatch.
*      CALL METHOD grid-&amp;gt;check_changed_data.
    when 'EXIT'.
      leave program.
    when others.
  endcase.
endmodule.                 " USER_COMMAND_0200  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 May 2010 00:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-using-alv-oops/m-p/6784522#M1465103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-08T00:05:38Z</dc:date>
    </item>
  </channel>
</rss>

