<?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 list button press query! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365798#M180973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your user_command form, do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when &amp;lt;FCODE for first button&amp;gt;.&lt;/P&gt;&lt;P&gt;check_box = 'X'.&lt;/P&gt;&lt;P&gt;when &amp;lt;FCODE for second button&amp;gt;.&lt;/P&gt;&lt;P&gt;check_box = space.&lt;/P&gt;&lt;P&gt;endcase.&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>Mon, 12 Jun 2006 14:25:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-12T14:25:44Z</dc:date>
    <item>
      <title>ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365797#M180972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I displaying alv list with the help of reuse_alv_listdislay..... i had 2 command button on application tool and the list contians a check box and a editable field.... when one command  button is pressed i the check box should get ticked .... untill here is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But when the i press the other command button to detick the check box it is not working ( it is working if it pressed double time). how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365797#M180972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365798#M180973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your user_command form, do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when &amp;lt;FCODE for first button&amp;gt;.&lt;/P&gt;&lt;P&gt;check_box = 'X'.&lt;/P&gt;&lt;P&gt;when &amp;lt;FCODE for second button&amp;gt;.&lt;/P&gt;&lt;P&gt;check_box = space.&lt;/P&gt;&lt;P&gt;endcase.&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>Mon, 12 Jun 2006 14:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365798#M180973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365799#M180974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be u had written the code for the second button by using double click use command like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'. " this is for double click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of &amp;amp;IC1 use the user command for the second button and try out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365799#M180974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365800#M180975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF l_ucomm = 'ASEL'.&lt;/P&gt;&lt;P&gt;   loop at i_final where aufnr &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  arbpl &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  matnr &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;    i_final-release = 'X'.&lt;/P&gt;&lt;P&gt;    modify i_final from i_final.&lt;/P&gt;&lt;P&gt;    clear i_final.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  IF l_ucomm = 'DSEL'.&lt;/P&gt;&lt;P&gt;   loop at i_final where aufnr &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  arbpl &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  matnr &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;    i_final-release = ' '.&lt;/P&gt;&lt;P&gt;    modify i_final from i_final.&lt;/P&gt;&lt;P&gt;    clear i_final.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  this is my coding.... i am finding i_final too filling up with the check_box = 'X'. but that is not reflecting in the list after the press of the button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365800#M180975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365801#M180976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF l_ucomm = 'ASEL'.&lt;/P&gt;&lt;P&gt;   loop at i_final where aufnr &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  arbpl &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  matnr &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;    i_final-release = 'X'.&lt;/P&gt;&lt;P&gt;    modify i_final from i_final.&lt;/P&gt;&lt;P&gt;    clear i_final.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  IF l_ucomm = 'DSEL'.&lt;/P&gt;&lt;P&gt;   loop at i_final where aufnr &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  arbpl &amp;lt;&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                   and  matnr &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;    i_final-release = ' '.&lt;/P&gt;&lt;P&gt;    modify i_final from i_final.&lt;/P&gt;&lt;P&gt;    clear i_final.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  this is my coding.... i am finding i_final too filling up with the check_box = 'X' under debug. but that is not reflecting in the list after the press of the button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365801#M180976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365802#M180977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt; Is your code working for ASEL and not working for DSEL?&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>Mon, 12 Jun 2006 14:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365802#M180977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365803#M180978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes Ravi that is not working for DESEl.... but that works when press the button twice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365803#M180978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365804#M180979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt; Did you try debugging it? Keep a break point as the when 'DSEl' statement.&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>Mon, 12 Jun 2006 14:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365804#M180979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365805#M180980</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;You have to place this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the user_command form.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM USER_COMMAND USING    P_UCOMM    LIKE SY-UCOMM
                           P_SELFIELD TYPE SLIS_SELFIELD.

"your logic here...after that place these two lines
&amp;lt;b&amp;gt;      P_SELFIELD-ROW_STABLE = 'X'.
      P_SELFIELD-REFRESH = 'X'.&amp;lt;/b&amp;gt;

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365805#M180980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T14:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365806#M180981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ty that solved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please let me know what extactly does row_stable and refresh does&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 15:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365806#M180981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list button press query!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365807#M180982</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;&lt;/P&gt;&lt;P&gt;Actually what happened in your case is First time when you click on DESEL button it is space but frontend it is not updated. because you need to refresh explicitly if you change any thing to the list. and Row_stable is used along with refrsh, it is used cases like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you press page down and did some operation, then in triggered some user_command then in user_command you will call refresh , so it will go to top of page )first page. if you want to avoid you have to use row_stable. that means where ever you are before button click, you will be there only even after button click if you use row_stable = 'X'.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 15:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-button-press-query/m-p/1365807#M180982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T15:12:12Z</dc:date>
    </item>
  </channel>
</rss>

