<?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 LIST_FROM_MEMORY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory/m-p/8064497#M1612989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any size limit the the length of the out for using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;Program_name&amp;gt; using screen 1000 with &amp;lt;variant&amp;gt; exporting list to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that i use function module LIST_FROM_MEMORY and LIST_TO_ASCI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE PROBLEM IS THE LENGTH OF MY OUTPUT. ONLY LIMITED PART OF MY OUTPUT IS COMING, REST IS GETTING OMITED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW CAN I SOLVE THIS???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 14:57:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-05T14:57:17Z</dc:date>
    <item>
      <title>LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory/m-p/8064497#M1612989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any size limit the the length of the out for using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;Program_name&amp;gt; using screen 1000 with &amp;lt;variant&amp;gt; exporting list to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that i use function module LIST_FROM_MEMORY and LIST_TO_ASCI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE PROBLEM IS THE LENGTH OF MY OUTPUT. ONLY LIMITED PART OF MY OUTPUT IS COMING, REST IS GETTING OMITED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW CAN I SOLVE THIS???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 14:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory/m-p/8064497#M1612989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T14:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory/m-p/8064498#M1612990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's your output length? What's the length of the listasci table parameter of the LIST_TO_ASCI you have used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 15:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory/m-p/8064498#M1612990</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-08-05T15:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory/m-p/8064499#M1612991</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;In the FM &lt;STRONG&gt;LIST_TO_ASCI&lt;/STRONG&gt; ,  make sure the table defined for parameter &lt;STRONG&gt;LISTASCI&lt;/STRONG&gt; is large enough(size of the attributes in the structure) to for the output displayed in the called report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the code snippet below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA : BEGIN OF VLIST OCCURS 0,
        FILLER1 TYPE C,
        FILLER2(04) TYPE C,
        FILLER3 TYPE C,
        FILLER4(18) TYPE C,
        FILLER5 TYPE C,
        FILLER6(23) TYPE C,
        FILLER7 TYPE C,
        FILLER8(23) TYPE C,
        FILLER9 TYPE C,
        FILLER10(3) TYPE C,
        FILLER11 TYPE C,
        FILLER12(23) TYPE C,
        FILLER13 TYPE C,
        FILLER14(23) TYPE C,
        FILLER15 TYPE C,
        FILLER16(3) TYPE C,
        END OF VLIST.

CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        LISTOBJECT = LT_OPENING_CLOSING_STOCK
      EXCEPTIONS
        NOT_FOUND  = 1
        OTHERS     = 2.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.



    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        LIST_INDEX = -1
      TABLES
        LISTASCI   = VLIST
        LISTOBJECT = LT_OPENING_CLOSING_STOCK.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2011 06:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory/m-p/8064499#M1612991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-06T06:34:08Z</dc:date>
    </item>
  </channel>
</rss>

