<?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_FROM_MEMORY not_found in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042895#M1610988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but these classes are not available in 4.7c. I'll have to find an old-school workaround..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2011 13:12:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-14T13:12:22Z</dc:date>
    <item>
      <title>LIST_FROM_MEMORY not_found</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042891#M1610984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I got (most of) this code from sdn, but the LIST_FROM_MEMORY always fails with not_found subrc. We're on 4.7c, but surely this should work?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZADRTEMP73                                                  *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZADRTEMP73.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK SEL WITH FRAME TITLE TEXT-SEL.&lt;/P&gt;&lt;P&gt;PARAMETERS P_EXIDV TYPE EXIDV OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK SEL.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF LISTOUT OCCURS 0,&lt;/P&gt;&lt;P&gt;      LINE(1024) TYPE C,&lt;/P&gt;&lt;P&gt;      END OF LISTOUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Submit the report and export list to memory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SUBMIT ZSDBAPI_HU_GETLIST WITH P_EXIDV = P_EXIDV&lt;/P&gt;&lt;P&gt;         EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;         AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get list from memory and convert to ascii&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM RETRIEVE_LIST_FROM_MEMORY TABLES LISTOUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT LISTOUT.&lt;/P&gt;&lt;P&gt;    WRITE:/ LISTOUT.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RETRIEVE_LIST_FROM_MEMORY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;FORM RETRIEVE_LIST_FROM_MEMORY TABLES REPORTLINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: LIST LIKE ABAPLIST OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA: TXTLINES(1024) TYPE C OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR LIST.  REFRESH LIST.&lt;/P&gt;&lt;P&gt;  CLEAR REPORTLINES. REFRESH REPORTLINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LISTOBJECT = LIST&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      NOT_FOUND  = 1&lt;/P&gt;&lt;P&gt;      OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LISTOBJECT         = LIST&lt;/P&gt;&lt;P&gt;      LISTASCI           = TXTLINES&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      EMPTY_LIST         = 1&lt;/P&gt;&lt;P&gt;      LIST_INDEX_INVALID = 2&lt;/P&gt;&lt;P&gt;      OTHERS             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REPORTLINES[] = TXTLINES[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FREE_MEMORY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "retrieve_list_from_memory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 12:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042891#M1610984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T12:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_FROM_MEMORY not_found</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042892#M1610985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;problem must be at ZSDBAPI_HU_GETLIST program.can u give more spesifications about this program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Burak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 12:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042892#M1610985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T12:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_FROM_MEMORY not_found</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042893#M1610986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realise now that this functionality is not what I expected. It only returns what is written with the WRITE statement which is ridiculous in itself. I was looking for something similar to the shared memory, but we're on 4.7c and unfortunately I cannot use that. Also the normal EXPORT and IMPORT MEMORY is not allowed from the OO context where I need it. I was hoping to use it from within a BADI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 12:18:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042893#M1610986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T12:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_FROM_MEMORY not_found</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042894#M1610987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Are you looking for something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/glen.simpson/blog/2011/07/07/gain-programmatic-access-to-data-of-sapgui-alv-reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 13:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042894#M1610987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T13:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: LIST_FROM_MEMORY not_found</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042895#M1610988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but these classes are not available in 4.7c. I'll have to find an old-school workaround..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 13:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-from-memory-not-found/m-p/8042895#M1610988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T13:12:22Z</dc:date>
    </item>
  </channel>
</rss>

