<?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: Problem with ALV refresh_table_display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344117#M1992333</link>
    <description>&lt;P&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(51, 51, 51);" /&gt;This is what I get when  I run refresh_table_display&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1877465-refresh-error.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 14:55:10 GMT</pubDate>
    <dc:creator>former_member729494</dc:creator>
    <dc:date>2021-01-14T14:55:10Z</dc:date>
    <item>
      <title>Problem with ALV refresh_table_display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344115#M1992331</link>
      <description>&lt;P&gt;Dear All, &lt;/P&gt;
  &lt;P&gt;I created a table using cf gui alv grid. I display database records in it. Is is placed in a subscreen, and in PBO module I call my function module display and I do following in it&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  CREATE OBJECT lo_event_handler."I create object for handling when user clicks on add button
  CALL METHOD lo_event_handler-&amp;gt;set_objecttype EXPORTING i_objecttype = iv_objecttype.
  CALL METHOD lo_event_handler-&amp;gt;set_objectkey EXPORTING  i_objectkey = iv_objectkey.
  CALL METHOD lo_event_handler-&amp;gt;set_alvgrid EXPORTING  i_alvgrid = io_alv_grid.

  SET HANDLER : lo_event_handler-&amp;gt;toolbar FOR io_alv_grid.
  SET HANDLER : lo_event_handler-&amp;gt;user_command FOR io_alv_grid.

  PERFORM build_field_catalog CHANGING lt_fieldcat 
  PERFORM build_layout CHANGING ls_layout.
  PERFORM populate_data USING iv_objecttype iv_objectkey CHANGING lt_chat_history et_return  .
* in this I call o_alv_grid-&amp;gt;set_table_for_first_display
  PERFORM display_chat  USING ls_layout io_alv_grid iv_syrepid CHANGING lt_chat_history lt_fieldcat  &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;PRE&gt;&lt;CODE&gt;The problem I dont know how to solve is after the user clicks on the add button, he types text in the dialog windown, I add text to the database in a user_command method of event handler and I call a form - refresh table. In this form it firstly goes to method GET_LINK and it terminates with  "1 = es ist kein Service-Request registriert" and a window with Program errors open, with no further detail. 

FORM refresh table.
 IF NOT o_alv_grid IS INITIAL.
    CALL METHOD o_alv_grid-&amp;gt;refresh_table_display
      EXPORTING
        is_stable = lwa_ref
      EXCEPTIONS
        finished  = 1
        OTHERS    = 2.
    IF sy-subrc = 0 .
      "do nothing
    ENDIF.
  ENDIF.
ENFORM.

&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I have found this &lt;A href="https://answers.sap.com/questions/4119688/to-refresh-the-alv-grid-display.html" target="test_blank"&gt;https://answers.sap.com/questions/4119688/to-refresh-the-alv-grid-display.html&lt;/A&gt; but I dont know what I am doing wrong. &lt;/P&gt;
  &lt;P&gt;I appreciate your help a lot. I can provide further details&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 11:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344115#M1992331</guid>
      <dc:creator>former_member729494</dc:creator>
      <dc:date>2021-01-14T11:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ALV refresh_table_display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344116#M1992332</link>
      <description>&lt;P&gt;Don't type code manually to avoid typos: it's &lt;STRONG&gt;CL_GUI_ALV_GRID&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Please attach a screenshot of "window with Program errors open" because I don't understand what it is.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 13:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344116#M1992332</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-01-14T13:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ALV refresh_table_display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344117#M1992333</link>
      <description>&lt;P&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(51, 51, 51);" /&gt;This is what I get when  I run refresh_table_display&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1877465-refresh-error.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 14:55:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344117#M1992333</guid>
      <dc:creator>former_member729494</dc:creator>
      <dc:date>2021-01-14T14:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ALV refresh_table_display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344118#M1992334</link>
      <description>&lt;P&gt;I doubt that it's a SAP message. I guess this message has been created by an ABAP developer at your company. Better attach the whole code (zip txt), otherwise it's impossible to understand.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 15:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-refresh-table-display/m-p/12344118#M1992334</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-01-14T15:13:23Z</dc:date>
    </item>
  </channel>
</rss>

