<?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: Retrieve list structure from LIST_FROM_MEMORY function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269172#M1529869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
 DATA  BEGIN OF rlist OCCURS 0.
          INCLUDE STRUCTURE abaplist.
  DATA  END OF rlist.

CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = rlist.

 IF sy-subrc = 0.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = itab
        listobject         = rlist
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Sep 2010 07:05:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-24T07:05:02Z</dc:date>
    <item>
      <title>Retrieve list structure from LIST_FROM_MEMORY function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269169#M1529866</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;Is there a way that I can retrieve the structure of a list that was imported from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program that uses SUBMIT "program" EXPORTING LIST TO MEMORY and RETURN, then I use the function module LIST_FROM_MEMORY in order to retrieve the list, but is there a way I can determine what the structure of the list is? (field type, field length, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 14:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269169#M1529866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T14:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve list structure from LIST_FROM_MEMORY function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269170#M1529867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it always require a structure to create/export a list?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 15:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269170#M1529867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T15:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve list structure from LIST_FROM_MEMORY function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269171#M1529868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can have a look at the function module : LIST_RESTORE_INFO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function group SLST (via SE80) also contains a lot of other function modules concerning list processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 15:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269171#M1529868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T15:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve list structure from LIST_FROM_MEMORY function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269172#M1529869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
 DATA  BEGIN OF rlist OCCURS 0.
          INCLUDE STRUCTURE abaplist.
  DATA  END OF rlist.

CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = rlist.

 IF sy-subrc = 0.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = itab
        listobject         = rlist
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 07:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-list-structure-from-list-from-memory-function/m-p/7269172#M1529869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T07:05:02Z</dc:date>
    </item>
  </channel>
</rss>

