<?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: Issue with Interactive ALV using SALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775018#M1584845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the subroutine where actually the code doesn't work 2nd time when we come back from secondary screen.&lt;/P&gt;&lt;P&gt;Form select_all.&lt;/P&gt;&lt;P&gt; LOOP AT i_tab ASSIGNING &amp;lt;lf_data&amp;gt;.&lt;/P&gt;&lt;P&gt;      IF &amp;lt;lf_data&amp;gt;-check IS INITIAL.&lt;/P&gt;&lt;P&gt;        &amp;lt;lf_data&amp;gt;-check = 'X'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    i_salvtable-&amp;gt;refresh( ).  -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; This code calls the secondary screen instead of primary screen&lt;/P&gt;&lt;P&gt;End form .&lt;/P&gt;&lt;P&gt;It could be an issue with screen control too.. please advice.&lt;/P&gt;&lt;P&gt;METHOD on_user_command.&lt;/P&gt;&lt;P&gt;  WHEN 'OINV'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Show Outstanding Invoices&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        PERFORM outstand_inv. -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; fill alv tabel for secondary list&lt;/P&gt;&lt;P&gt;         Call screen 100.----&amp;gt; displays secondary list&lt;/P&gt;&lt;P&gt; ENDMETHOD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2011 17:01:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-18T17:01:14Z</dc:date>
    <item>
      <title>Issue with Interactive ALV using SALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775016#M1584843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;I have an issue with an Interactive ALV report using SALV class. The program needs to display an alv report after seelction-criteria is entered. User should be able to use 'select all' and 'deselect all' and refresh the list.  Button click on primary alv should display another alv. I developed a program using SALV class. The report works fine except in one case...'Selectall' button works fine first time in primary alv list. Probelm comes after 2nd list is displayed and control goes to primary screen on BACK button click.This time the 'select all' button click on primary list displays the same 2nd ALV list instead of primary list. It happens same with 'Deselect all' too.&lt;/P&gt;&lt;P&gt;I am thinking its an issue wiht re-initializing...not sure. Please advice what could be wrong.&lt;/P&gt;&lt;P&gt;Below is the code for the SELECT ALL. I am also copying the entire code . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;removed by moderator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Apr 16, 2011 9:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 22:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775016#M1584843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-15T22:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Interactive ALV using SALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775017#M1584844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to edit and reformat your post using the proper tags so that the code is more readable...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 23:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775017#M1584844</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2011-04-15T23:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Interactive ALV using SALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775018#M1584845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the subroutine where actually the code doesn't work 2nd time when we come back from secondary screen.&lt;/P&gt;&lt;P&gt;Form select_all.&lt;/P&gt;&lt;P&gt; LOOP AT i_tab ASSIGNING &amp;lt;lf_data&amp;gt;.&lt;/P&gt;&lt;P&gt;      IF &amp;lt;lf_data&amp;gt;-check IS INITIAL.&lt;/P&gt;&lt;P&gt;        &amp;lt;lf_data&amp;gt;-check = 'X'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    i_salvtable-&amp;gt;refresh( ).  -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; This code calls the secondary screen instead of primary screen&lt;/P&gt;&lt;P&gt;End form .&lt;/P&gt;&lt;P&gt;It could be an issue with screen control too.. please advice.&lt;/P&gt;&lt;P&gt;METHOD on_user_command.&lt;/P&gt;&lt;P&gt;  WHEN 'OINV'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Show Outstanding Invoices&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        PERFORM outstand_inv. -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; fill alv tabel for secondary list&lt;/P&gt;&lt;P&gt;         Call screen 100.----&amp;gt; displays secondary list&lt;/P&gt;&lt;P&gt; ENDMETHOD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 17:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775018#M1584845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-18T17:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Interactive ALV using SALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775019#M1584846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't really say much without seeing the rest of the code, but as a wild guess, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of &lt;STRONG&gt;i_salvtable-&amp;gt;refresh( )&lt;/STRONG&gt;, use &lt;STRONG&gt;i_salvtable-&amp;gt;refresh( refresh_mode = if_salv_c_refresh=&amp;gt;full ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;See if this makes a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 17:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-interactive-alv-using-salv/m-p/7775019#M1584846</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2011-04-18T17:42:31Z</dc:date>
    </item>
  </channel>
</rss>

