<?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 with Objects - repost. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-objects-repost/m-p/2753228#M640473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use a method 'Refersh_table_display' to refresh the onscreen contents of your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method should be in same class that you use for 'set_table_for_first_display' method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Sep 2007 17:33:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-09T17:33:06Z</dc:date>
    <item>
      <title>ALV with Objects - repost.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-objects-repost/m-p/2753227#M640472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an internal table displayed using ALV - OOPS concept. THe internal table has 15 rows in my test program but it can go up depending on user inpout. &lt;/P&gt;&lt;P&gt;I am able to display it . on the screen . One of the fields is editable . It is required that it take input from user and on pressing enter , the value entered in that cell should be subtracted from a total amout displayed in the cell next to it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following code . There are no errors , but nothing happens when I edit it. The screen remains as it is. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be very useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ITAB type ITABT occurs 0.&lt;/P&gt;&lt;P&gt;DATA : itab_w like line of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS LCL_EVENTS_D0100 IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD handle_data_changed.&lt;/P&gt;&lt;P&gt;DATA: ls_good TYPE lvc_s_modi.&lt;/P&gt;&lt;P&gt;DATA : L_PLANETYPE TYPE ITABT-SEL_QUANT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT er_data_changed-&amp;gt;mt_good_cells INTO ls_good.&lt;/P&gt;&lt;P&gt;CASE ls_good-fieldname.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;check if column PLANETYPE of this row was changed&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WHEN 'SEL_QUANT'.&lt;/P&gt;&lt;P&gt;CALL METHOD pr_data_changed-&amp;gt;get_cell_value&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_row_id = ls_good-row_id&lt;/P&gt;&lt;P&gt;i_fieldname = ls_good-fieldname&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;e_value = l_planetype.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB INTO ITAB_W .&lt;/P&gt;&lt;P&gt;read table itab into itab_w WITH KEY FINDEX = LS_GOOD-ROW_ID .&lt;/P&gt;&lt;P&gt;itab_w-f_balquant = itab_w-f_balquant - l_planetype.&lt;/P&gt;&lt;P&gt;modify itab FROM itab_w .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2007 16:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-objects-repost/m-p/2753227#M640472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-09T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV with Objects - repost.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-objects-repost/m-p/2753228#M640473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use a method 'Refersh_table_display' to refresh the onscreen contents of your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method should be in same class that you use for 'set_table_for_first_display' method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2007 17:33:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-objects-repost/m-p/2753228#M640473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-09T17:33:06Z</dc:date>
    </item>
  </channel>
</rss>

