<?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 GRID OO data change problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210343#M1716268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer. The Edit Event solved our problem with the data input.&lt;/P&gt;&lt;P&gt;There are 2 other problems we have with the alv grid 00 perhaps you or someone ohter here&lt;/P&gt;&lt;P&gt;can gve me an advice for them too.&lt;/P&gt;&lt;P&gt;First is there any possibilty to notice when a user makes a layout change?&lt;/P&gt;&lt;P&gt;I can read an Layout that is assignded to the alv but same steps require that we notice&lt;/P&gt;&lt;P&gt;any change when the user makes them.&lt;/P&gt;&lt;P&gt;The data Change event and the Data Change finished seem not to be triggered by this.&lt;/P&gt;&lt;P&gt;Is there a way?&lt;/P&gt;&lt;P&gt;Finally the user has some filters declared / assigned to an Layout he assigned to the alv.&lt;/P&gt;&lt;P&gt;Our problem is that when he changes the data and these filters are not triggered during the refresh dipslay. &lt;/P&gt;&lt;P&gt;Anyone on idea what we have to do that the filters are triggered during refresh?&lt;/P&gt;&lt;P&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;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Jan 2013 11:41:02 GMT</pubDate>
    <dc:creator>dirk_wieczorek</dc:creator>
    <dc:date>2013-01-20T11:41:02Z</dc:date>
    <item>
      <title>ALV GRID OO data change problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210340#M1716265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use an editable alv grid oo in a customer project.&lt;/P&gt;&lt;P&gt; We have the problem thaht the customer enters a value in one cell and then without enter or leaving the cell pushes save.&lt;/P&gt;&lt;P&gt; In the save routine we trigger the check data changed event and we have the the enter event triggered. But the data in inserted in to the cell&lt;/P&gt;&lt;P&gt;is not available in and after the data changed it gets lost.&lt;/P&gt;&lt;P&gt;If the user leves the cell with tab or enters a second one check data changed works but not when he enters a value and starts the save&lt;/P&gt;&lt;P&gt;routine.&lt;/P&gt;&lt;P&gt;Is there a way to get this values?&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;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 22:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210340#M1716265</guid>
      <dc:creator>dirk_wieczorek</dc:creator>
      <dc:date>2013-01-18T22:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID OO data change problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210341#M1716266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I do not know ur exact code &amp;amp; problem.&lt;/P&gt;&lt;P&gt;But what genrally have to do in this case is,&lt;/P&gt;&lt;P&gt;Is well explained in this thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://scn.sap.com/thread/1067549" title="https://scn.sap.com/thread/1067549"&gt;https://scn.sap.com/thread/1067549&lt;/A&gt;&lt;/P&gt;&lt;P&gt;there is some standard program in sap also ,in se38,search with bcalv* or salv*.&lt;/P&gt;&lt;P&gt;there are some standard program in SAP HELP.,WIKI.&lt;/P&gt;&lt;P&gt;see that also like&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Editable+ALV+through+OOPS" title="http://wiki.sdn.sap.com/wiki/display/ABAP/Editable+ALV+through+OOPS"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Editable+ALV+through+OOPS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gourav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2013 04:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210341#M1716266</guid>
      <dc:creator>gouravkumar64</dc:creator>
      <dc:date>2013-01-19T04:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID OO data change problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210342#M1716267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dirk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use the below events to check the data changes without use of TAB or Enter key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;*--metohd to detect if data was changed in oops alv&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;CALL METHOD OBJ_ALV2-&amp;gt;CHECK_CHANGED_DATA&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;IMPORTING&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;E_VALID =&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;CHANGING&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;C_REFRESH = 'X'&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Also use REGISATER_EDIT_EVENT before REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Sample code for REGISTER_EDIT_EVENT is given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;*--event to detect if data gets edited&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;CALL METHOD OBJ_ALV2-&amp;gt;REGISTER_EDIT_EVENT&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;EXPORTING&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;I_EVENT_ID = CL_GUI_ALV_GRID=&amp;gt;MC_EVT_MODIFIED&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;EXCEPTIONS&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;ERROR = 1&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;OTHERS = 2.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;IF SY-SUBRC 0.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2013 05:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210342#M1716267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-19T05:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID OO data change problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210343#M1716268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer. The Edit Event solved our problem with the data input.&lt;/P&gt;&lt;P&gt;There are 2 other problems we have with the alv grid 00 perhaps you or someone ohter here&lt;/P&gt;&lt;P&gt;can gve me an advice for them too.&lt;/P&gt;&lt;P&gt;First is there any possibilty to notice when a user makes a layout change?&lt;/P&gt;&lt;P&gt;I can read an Layout that is assignded to the alv but same steps require that we notice&lt;/P&gt;&lt;P&gt;any change when the user makes them.&lt;/P&gt;&lt;P&gt;The data Change event and the Data Change finished seem not to be triggered by this.&lt;/P&gt;&lt;P&gt;Is there a way?&lt;/P&gt;&lt;P&gt;Finally the user has some filters declared / assigned to an Layout he assigned to the alv.&lt;/P&gt;&lt;P&gt;Our problem is that when he changes the data and these filters are not triggered during the refresh dipslay. &lt;/P&gt;&lt;P&gt;Anyone on idea what we have to do that the filters are triggered during refresh?&lt;/P&gt;&lt;P&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;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 11:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-oo-data-change-problem/m-p/9210343#M1716268</guid>
      <dc:creator>dirk_wieczorek</dc:creator>
      <dc:date>2013-01-20T11:41:02Z</dc:date>
    </item>
  </channel>
</rss>

