<?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: LIST_MEMEORY...problems in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368189#M181792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I cant use the FM List_to_memory for the ALV.&lt;/P&gt;&lt;P&gt;I need to create a different report program and have to use the submit command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Dnyanesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2006 13:19:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-07T13:19:07Z</dc:date>
    <item>
      <title>LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368181#M181784</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 download the ALV LIST (Not Grid) to the Application server.&lt;/P&gt;&lt;P&gt;so I am using the List_to_memory FM after the 'Resuse_alv_list_display' function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but list_to_memory FM returns an exception saying that the list index is invalid.&lt;/P&gt;&lt;P&gt;I have written list_to_memory FM just under the "ALV display" function.&lt;/P&gt;&lt;P&gt;The moment I click on "back" button the sy-lsind changes to 0 from 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help.&lt;/P&gt;&lt;P&gt;Where should I place the list_to_memory FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dnyanesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368181#M181784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368182#M181785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1562943"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:13:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368182#M181785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368183#M181786</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;If you use list_to_memory, you must have to specify parameters which containes list data. otherwise your will get the error as you got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368183#M181786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368184#M181787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;*-Get the report output from memory
  call function 'LIST_FROM_MEMORY'
    TABLES
      listobject = it_list
    EXCEPTIONS
      not_found  = 1
      others     = 2.

  if sy-subrc = 0.
*-Get the report output from memory in ascii format
    call function 'LIST_TO_ASCI'
      TABLES
        listasci           = it_asc
        listobject         = it_list
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        others             = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how you should go for list from memory.&lt;/P&gt;&lt;P&gt;you have to call the above two fm's&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>Wed, 07 Jun 2006 12:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368184#M181787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368185#M181788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;     Please debug standard sap functionality&lt;/P&gt;&lt;P&gt;     from system save option after list is displayed&lt;/P&gt;&lt;P&gt;     you will some clue.  &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368185#M181788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368186#M181789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram.&lt;/P&gt;&lt;P&gt;Could you please explain me like what parameters exactly I should pass to this function and where exactly should I place this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Dnyanesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368186#M181789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368187#M181790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem is that when I use the FM list_from_memory the listobject table is still initial.&lt;/P&gt;&lt;P&gt;the problem lies with the list_to_memory FM.&lt;/P&gt;&lt;P&gt;I am not able to decide where should I place this FM in the code.&lt;/P&gt;&lt;P&gt;We pass sy-lsind to this FM. when I debug the ssap funcationality I found that as soon as the ALV list is displayed the sy-lsind becomes 1 and when I click the Back button the value changes to 0.&lt;/P&gt;&lt;P&gt;So the List_to_memory FM is not able to execute properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dnyanesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368187#M181790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368188#M181791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dnyanesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main problem here is, you cannot use LIST_FROM_MEMORY for ALV's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write a new piece of code to display ALV list in a seperate program lets say ZPROG2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in the ZPROG1, fetch the data based on your selection and Call that report ZPROG2 using SUBMIT...LIST TO MEMORY by passing corresponding parameters for ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, List is stored in memory rather than displaying on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you can use LIST_FROM_MEORY as your way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368188#M181791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T12:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368189#M181792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I cant use the FM List_to_memory for the ALV.&lt;/P&gt;&lt;P&gt;I need to create a different report program and have to use the submit command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Dnyanesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 13:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368189#M181792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T13:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_MEMEORY...problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368190#M181793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you cannot use it. so its better to follow my process and will get correct results as i have done it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 15:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-memeory-problems/m-p/1368190#M181793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T15:14:53Z</dc:date>
    </item>
  </channel>
</rss>

