<?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: Event for edit fields in Object ALV grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953478#M65689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again !! I tried to refresh the table with the relate command but the system return me this error :&lt;/P&gt;&lt;P&gt;"the field xxx is not in the abap dictionary"&lt;/P&gt;&lt;P&gt;????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2005 08:11:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-11T08:11:37Z</dc:date>
    <item>
      <title>Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953473#M65684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've building an ALV Grid in a SubDynpro of Tabstrip...&lt;/P&gt;&lt;P&gt;Any fields are edit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like refresh my internal table at data changed of ALV object but if not assign a field at F4 event this result  &lt;/P&gt;&lt;P&gt;not refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everybody,&lt;/P&gt;&lt;P&gt;Antonello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 09:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953473#M65684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T09:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953474#M65685</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 don't understand your message :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to force refresh of your ALV Grid (edit mode) you could use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    move '&amp;amp;REFRESH' to v_ucomm.
    call method obj_grid-&amp;gt;set_function_code
         changing c_ucomm = v_ucomm.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To refresh the display :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call method obj_grid-&amp;gt;refresh_table_display.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 2:14 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 09:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953474#M65685</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2005-07-08T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953475#M65686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got probably the same problem ,&lt;/P&gt;&lt;P&gt;The quetion is.. which is the method to make effective changes to the column that is editable on my grid, I can change the value but the value on my internal table is the same one before the changes...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 10:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953475#M65686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953476#M65687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think its a problem of the frontend (GRID) not being in sync with the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call this method in the PAI and you should be able to see the updated values in the grid as well as the internal table.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grid_object-&amp;gt;CHECK_CHANGED_DATA.&lt;/P&gt;&lt;P&gt;This will synchronize the grid and the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 11:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953476#M65687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T11:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953477#M65688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the '&amp;amp;REFRESH' .. That the command call by the button refresh. That will save the data you have modify into the screen to the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's explain in the &lt;A href="http://help.sap.com" target="test_blank"&gt;http://help.sap.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 12:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953477#M65688</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2005-07-08T12:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953478#M65689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again !! I tried to refresh the table with the relate command but the system return me this error :&lt;/P&gt;&lt;P&gt;"the field xxx is not in the abap dictionary"&lt;/P&gt;&lt;P&gt;????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 08:11:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953478#M65689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T08:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953479#M65690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of the tutorial &amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an%20easy%20reference%20for%20alv%20grid%20control.pdf"&amp;gt;"An Easy Reference for ALV Grid Control"&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar &amp;lt;a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d"&amp;gt;bc&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link fixed by: Alvaro Tejada Galindo on Jan 8, 2009 2:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 08:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953479#M65690</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2005-07-11T08:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953480#M65691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved , the problem was that I declared the alv's field "like" the one of the internal table and not like the one of the db, now works... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 08:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953480#M65691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T08:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953481#M65692</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 have the same problem as you , the error message says , the field is not defined in the data dictionary . I then declared the internal tale field : LIKE LIPS-LFIMG . Still the problem persists. Do I have to make any changes to the field catalog aswell. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 04:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953481#M65692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T04:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953482#M65693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Krish.  I know that this is a very old message, but thought I would reply just in case someone else was having this same problem.  I was receiving the same error and my particular error was due to the REF_FIELD &amp;amp; REF_TABLE having values in them within my FIELDCAT table.  I removed the values for the fields that I made editable and it now works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 17:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953482#M65693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T17:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953483#M65694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonello Didonna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this code, its working:-&lt;/P&gt;&lt;P&gt;After the user edits any records and performs an action then place this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say when user presses a button with function code &lt;STRONG&gt;'EXECUTE'&lt;/STRONG&gt;, and all the changes from the output screen in ALV reflects back to internal table.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
* handle the code execution based on the function code encountered
CASE sy-ucomm.

* when the function code is EXECUTE then process the selected records
  WHEN 'EXECUTE'.

* to reflect the data changed into internal table
    DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new

    IF ref_grid IS INITIAL.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = ref_grid.
    ENDIF.

    IF NOT ref_grid IS INITIAL.
      CALL METHOD ref_grid-&amp;gt;check_changed_data.
    ENDIF.

    " now your internal table data is changed as in ALV output
    " append your code

  WHEN OTHERS.
    " your code

ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Tarun Gambhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 04:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953483#M65694</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-01-09T04:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Event for edit fields in Object ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953484#M65695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OMG Ravi, I love your answer.  It was exactly what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 12:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-for-edit-fields-in-object-alv-grid/m-p/953484#M65695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-09T12:54:10Z</dc:date>
    </item>
  </channel>
</rss>

