<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915835#M380934</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;u can&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LOOP AT itab where date IN s_date.
 Move entries from  itab to itab1.
  APPEND  itab1.
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this internal tabel for gui_download.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2007 12:01:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-16T12:01:35Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915834#M380933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to replicate the functionality of 'Export to local file' button provided in ALV grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am having an internal table in which 12 months data is stored and it is like when user enters from Jan to May, in the alv it is displaying only 5 months, ( using if-else condition while preparing field catalog ) but when user downloads the file, the file contains all the 12 months as i am passing complete internal table to the gui_download, but the button on alv display that is 'Export to local file' is downloading correct data, so i want to replicate the functionality of this button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 11:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915834#M380933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T11:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915835#M380934</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;u can&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LOOP AT itab where date IN s_date.
 Move entries from  itab to itab1.
  APPEND  itab1.
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this internal tabel for gui_download.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915835#M380934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915836#M380935</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;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why dont you pass the same table as you passing to ALV to download FM.&lt;/P&gt;&lt;P&gt;Since t the Reuse FM , you are passing table with your selection requiremenet only and not the whole table, so just pass the same table to download.&lt;/P&gt;&lt;P&gt;Now for the save to local file button, it is using the same table which is there in the Reuse FM and not the one with all the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:03:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915836#M380935</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-02-16T12:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915837#M380936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually i have not a real clue on how to achieve this BUT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would just debug the functionality behind the button,&lt;/P&gt;&lt;P&gt;trying to find a user-exit, and then fill the table which is beeing used for the download with your full table which you passed to the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sry for not beeing more precisze but i though bette THAT than no answer &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915837#M380936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915838#M380937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Judith,&lt;/P&gt;&lt;P&gt; The structure of my internal table is having 12 months so even if i use this logic, the doanloaded file will have all the 12 months, which i dont want, and i want to avoid use of dynamic internal tables as it will make the program complex .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915838#M380937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915839#M380938</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;Unless you fill ur internal table according to the input given u will get all 12 months.&lt;/P&gt;&lt;P&gt;You have to make it dynamic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:08:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915839#M380938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915840#M380939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;  I tried to debug it, it is using a method which is a private method of class cl_gui_alv_grid so I am not able to call it in my program, any pointers, how it can be called?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915840#M380939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915841#M380940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm why cant you call it? private means it can be called only from own class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to display an ALV grid you need at least one instance of the class cl_gui_alv_grid. Since you have an instance of that class you can as well call a method of it using the instance, and the instance-component-selector (-&amp;gt;) and then just call the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would define myself a new internal table of same structure, then i would fill the new one IN A LOOP from the old one, but just fill the first 5 month like you want it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use your instance of your ALV, call the method you found out, and give it your new table. this should work i think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915841#M380940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915842#M380941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi florian,&lt;/P&gt;&lt;P&gt;      As u have said, I tried calling the method using the instance but still it gave me error as, this method is private or protected to the class, so i am not able to call method.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    The method which i want to call is 'export_to_local_file' and i am also pasting the part of code,&lt;/P&gt;&lt;P&gt;     CALL METHOD g_grid1-&amp;gt;export_to_local_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you know how to deal with it, please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 05:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1915842#M380941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T05:40:12Z</dc:date>
    </item>
  </channel>
</rss>

