<?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 Issue with FM: LIST_FROM_MEMORY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353926#M7155</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am SUBMITing a custom report (suppose its output comprises of X no of columns) in a function module and sending its output to the memory.&lt;/P&gt;&lt;P&gt;While retrieving it, I am only getting X - 5 columns and the last 5 columns are missing.&lt;/P&gt;&lt;P&gt;How can i get the remaining columns?&lt;/P&gt;&lt;P&gt;Below is the code snippet.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    SUBMIT zlockbox AND RETURN EXPORTING LIST TO MEMORY USING SELECTION-SET 'TEST' LINE-SIZE 1023.


    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    IF sy-subrc &amp;lt;&amp;gt; 0.
* Implement suitable error handling here
    ELSE.
      CALL FUNCTION 'LIST_TO_ASCI'
*        EXPORTING
*          WITH_LINE_BREAK    = 'X'
        TABLES
          listasci           = ascii_tab
          listobject         = list_tab
        EXCEPTIONS
          empty_list         = 1
          list_index_invalid = 2
          OTHERS             = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2017 09:01:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-02-22T09:01:21Z</dc:date>
    <item>
      <title>Issue with FM: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353926#M7155</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am SUBMITing a custom report (suppose its output comprises of X no of columns) in a function module and sending its output to the memory.&lt;/P&gt;&lt;P&gt;While retrieving it, I am only getting X - 5 columns and the last 5 columns are missing.&lt;/P&gt;&lt;P&gt;How can i get the remaining columns?&lt;/P&gt;&lt;P&gt;Below is the code snippet.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    SUBMIT zlockbox AND RETURN EXPORTING LIST TO MEMORY USING SELECTION-SET 'TEST' LINE-SIZE 1023.


    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    IF sy-subrc &amp;lt;&amp;gt; 0.
* Implement suitable error handling here
    ELSE.
      CALL FUNCTION 'LIST_TO_ASCI'
*        EXPORTING
*          WITH_LINE_BREAK    = 'X'
        TABLES
          listasci           = ascii_tab
          listobject         = list_tab
        EXCEPTIONS
          empty_list         = 1
          list_index_invalid = 2
          OTHERS             = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 09:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353926#M7155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-22T09:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353927#M7156</link>
      <description>&lt;P&gt;as far as I know the list line is delimited to 1024 characters. Did you check this?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 09:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353927#M7156</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2017-02-22T09:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353928#M7157</link>
      <description>&lt;P&gt;The X no of of columns put together have a width of much less than that but still this issue. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 09:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353928#M7157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-22T09:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353929#M7158</link>
      <description>&lt;P&gt;Did you define the rows of the target internal table LISTASCI with enough characters? If they are not wide enough, you'll lose characters as you didn't pass WITH_LINE_BREAK (same as abap false)&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353929#M7158</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-02-22T20:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353930#M7159</link>
      <description>&lt;P&gt;as mentioned in the documentation (help) did you try write_list and display_list does those show you full list ?&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;The function module LIST_FROM_MEMORY 
loads the list from the ABAP Memory to an internal table of the row type 
ABAPLIST. &lt;/LI&gt;&lt;LI&gt;The function module WRITE_LIST inserts the 
content of an internal table of the row type ABAPLIST in the current list. 
&lt;/LI&gt;&lt;LI&gt;The function module DISPLAY_LIST displays 
the content of an internal table of the row type ABAPLIST in a separate list 
dynpro. &lt;/LI&gt;&lt;LI&gt;The function module LIST_TO_ASCI converts 
the content of an internal table of the row type ABAPLIST to ASCII 
representation. &lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 22 Feb 2017 22:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353930#M7159</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2017-02-22T22:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM: LIST_FROM_MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353931#M7160</link>
      <description>&lt;P&gt;When you intend to use LIST_FROM_MEMORY, it is always advisable to use FM LIST_FREE_MEMORY before SUBMITting a program. See if that resolves your problem. Hope you have done that?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 22:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-list-from-memory/m-p/353931#M7160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-22T22:59:39Z</dc:date>
    </item>
  </channel>
</rss>

