<?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: ALV OO problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124590#M445846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the refresh_table_display and it didn't work.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2007 14:32:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-12T14:32:37Z</dc:date>
    <item>
      <title>ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124586#M445842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using cl_alv_gui to produce ALV output.  I have setup a hotspot, and two buttons to allow the user to drill into two other alv reports with data specific to the hotspot.&lt;/P&gt;&lt;P&gt;When you clik on the hotspot, then on the details button, the alv produces correct results.  When you click back, and another hotspot, then the details button, the alv produces correct results.&lt;/P&gt;&lt;P&gt;With the other button, the first run produces correct results, but clicking back and choosing another hotspot and clicking the button produces the first results (for the wrong hotspot group).&lt;/P&gt;&lt;P&gt;I have identical code in the alv's:&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;      call method go_custom_container-&amp;gt;free&lt;/P&gt;&lt;P&gt;        exceptions&lt;/P&gt;&lt;P&gt;          cntl_error        = 1&lt;/P&gt;&lt;P&gt;          cntl_system_error = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call method go_grid-&amp;gt;free&lt;/P&gt;&lt;P&gt;        exceptions&lt;/P&gt;&lt;P&gt;          cntl_error        = 1&lt;/P&gt;&lt;P&gt;          cntl_system_error = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      create object go_custom_container exporting container_name = 'ALV_CONTAINER_HIST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      create object go_grid exporting i_parent = go_custom_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plus,when I look at the internal table to be displayed, it contains the correct data, but this is not the data displayed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 16:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124586#M445842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T16:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124587#M445843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where do you attach the data to be displayed? Are you using set_table_for_first_display() each times? Give more details please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 17:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124587#M445843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T17:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124588#M445844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL METHOD go_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_save                        = 'A'&lt;/P&gt;&lt;P&gt;      i_default                     = 'X'&lt;/P&gt;&lt;P&gt;      is_layout                     = ls_layout&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_outtab                     = t_hist_output&lt;/P&gt;&lt;P&gt;      it_fieldcatalog               = lt_fieldcat&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_parameter_combination = 1&lt;/P&gt;&lt;P&gt;      program_error                 = 2&lt;/P&gt;&lt;P&gt;      too_many_lines                = 3&lt;/P&gt;&lt;P&gt;      OTHERS                        = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where t_hist_output contains the values I want displayed, but the grid always displays the first displayed entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 17:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124588#M445844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T17:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124589#M445845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use refresh_table_display() after values have been changed in the internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 17:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124589#M445845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T17:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124590#M445846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the refresh_table_display and it didn't work.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 14:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124590#M445846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T14:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124591#M445847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michelle,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always put an IF sentence, before to create object. I think, if you don´t do it, maybe cause of problem as you said...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF go_custom_container IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    create object go_custom_container &lt;/P&gt;&lt;P&gt;              exporting container_name = 'ALV_CONTAINER_HIST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... code ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 15:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124591#M445847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T15:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124592#M445848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this is the problem, because I am freeing both the container and the grid and recreating them before each display...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 15:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124592#M445848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T15:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV OO problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124593#M445849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of these solutions worked, but as soon as I changed the container name, all is well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-oo-problem/m-p/2124593#M445849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:02:09Z</dc:date>
    </item>
  </channel>
</rss>

