<?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: Refreshing ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426107#M1549850</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;The solution lies in the subject line of your thread... &lt;/P&gt;&lt;P&gt;In FORM user_command, after deleting lines from the internal table, You need to set rs_selfield-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Birendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Nov 2010 05:22:20 GMT</pubDate>
    <dc:creator>birendra_chatterjee</dc:creator>
    <dc:date>2010-11-15T05:22:20Z</dc:date>
    <item>
      <title>Refreshing ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426105#M1549848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am displaying a alv grid output. With the help of custom button i am deleting some lines. I have written the code for deleting selected lines of internal table in &lt;/P&gt;&lt;P&gt;FORM user_command USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                          rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the deletion happens and execution of above form-endform completes, will the output gets refreshed automatically(Output should come with out deleted lines)?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viswanath A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 05:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426105#M1549848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T05:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426106#M1549849</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;PRE&gt;&lt;CODE&gt;FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are calling above code to delete  seleted data  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might be deleting this record  from say table  it_disp    and displaying table it_disp1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when you are deleting from it_disp  then you should once again &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh it_disp1 table which you are using to display in alv grid &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then move it_disp to it_disp1 again and call function to display  ALV again &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete it_disp where bismt =  passing field  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh it_disp1[] .&lt;/P&gt;&lt;P&gt;clear it_disp1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_disp1[] = it_disp[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform display   .&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;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 05:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426106#M1549849</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2010-11-15T05:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426107#M1549850</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;The solution lies in the subject line of your thread... &lt;/P&gt;&lt;P&gt;In FORM user_command, after deleting lines from the internal table, You need to set rs_selfield-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Birendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 05:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426107#M1549850</guid>
      <dc:creator>birendra_chatterjee</dc:creator>
      <dc:date>2010-11-15T05:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426108#M1549851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viswanath, &lt;/P&gt;&lt;P&gt;&amp;lt;li&amp;gt;Follow this way .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  user_command
*&amp;amp;---------------------------------------------------------------------*
FORM user_command USING r_ucomm     LIKE sy-ucomm
                        rs_selfield TYPE slis_selfield.
  case r_ucomm.
    when 'DELETE'.
      "write code for deletion.
  endcase.
  rs_selfield-refresh = 'X'.
Endform.                    "user_command
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat.O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 06:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426108#M1549851</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2010-11-15T06:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426109#M1549852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using it_disp for displaying ALV. In the form end form i am deleting the lines of it_disp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is not to call the other alv In the same alv, display has to happen with out deleted lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viswanath A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 06:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426109#M1549852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T06:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426110#M1549853</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; Vishwanath  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to Refresh Alv for that    , if you cannot do that    then simple option is refresh previous data and move  new data from which you have deleted  records  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and display the same  .&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;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 06:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426110#M1549853</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2010-11-15T06:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426111#M1549854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkat is correct, just supply refesh command as he said. It'll work 100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fieldcatalogue&amp;gt;-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Munish Garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 07:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv/m-p/7426111#M1549854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T07:19:09Z</dc:date>
    </item>
  </channel>
</rss>

