<?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 data change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754458#M326974</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 tried ur solution bu the problem is that the ref1 doesn't point to the ALV that is displayed and gives a dump..if ref1 could refer to the ALV then it might solve the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2006 12:19:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-08T12:19:32Z</dc:date>
    <item>
      <title>ALV data change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754456#M326972</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 am calling ALV using 'REUSE_ALV_GRID_DISPLAY'.&lt;/P&gt;&lt;P&gt;I have a field which is a check box.&lt;/P&gt;&lt;P&gt;I need to process only those rows that are checked.&lt;/P&gt;&lt;P&gt;but when the control comes back to my code using USERCOMMAND the internal table is not updated with what i have checked on the screen.&lt;/P&gt;&lt;P&gt;how can i change that data.&lt;/P&gt;&lt;P&gt;thnx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 11:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754456#M326972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T11:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV data change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754457#M326973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Hi,

Follow below proceedure

  1. Say your fieldname in internal table is CHECKBOX
 2. Hope you had added that in ur fieldcatalog
 3. In ur layout wa_layout-box_fname = 'CHECKBOX'.
 4. In the User command subroutine of REUSE_ALV_GRID_DISPLAY add this 
 
 FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
                  P_SELFLD TYPE SLIS_SELFIELD.
        
 Case p_ucomm.
    When 'UPDATE'.
      Data ref1 type ref to cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
           _GRID = ref1.
       call method ref1-&amp;gt;check_changed_data
  
 
* here u can loop ur internal table
 endcase.
 
ENDFORM.
 
Please let me know any clarification&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754457#M326973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T12:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALV data change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754458#M326974</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 tried ur solution bu the problem is that the ref1 doesn't point to the ALV that is displayed and gives a dump..if ref1 could refer to the ALV then it might solve the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754458#M326974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T12:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: ALV data change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754459#M326975</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;  there is no need for the ref to point to ALV , it is just a declaration , We had tried it so many times and it worked for ALV GRID DISPLAY or else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use FM REUSE_ALV_GRID_DISPLAY_LVC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754459#M326975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T12:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: ALV data change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754460#M326976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must set EDT_CLL_CB parameter of gt_gridsettings. you can see a example below : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : gt_gridsettings type LVC_S_GLAY.&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;gt_gridsettings-EDT_CLL_CB = 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_INTERFACE_CHECK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BYPASSING_BUFFER                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BUFFER_ACTIVE                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_CALLBACK_PROGRAM                = lv_repid&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'&lt;/P&gt;&lt;P&gt;    I_GRID_SETTINGS                   = gt_gridsettings "pay attention to this line&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Abdurrahim Mazlumoglu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 09:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754460#M326976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T09:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: ALV data change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754461#M326977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;try to push save button after filling  checkboxs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 08:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-change/m-p/1754461#M326977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T08:57:38Z</dc:date>
    </item>
  </channel>
</rss>

