<?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: Exporting and Importing from Memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941246#M63230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it on 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2005 13:30:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-13T13:30:12Z</dc:date>
    <item>
      <title>Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941238#M63222</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;Hi this is abt Exporting Reports to Memory and Listing from Memory, I got excellent answers for my last post. For Standard Reports, i am able to do it, it works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my Program FAILS for ALV based Reports, It is unable to EXPORT It to Memory, what should be my approach to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to Figure out the Structure of the Selection Screen of a REPORT, Any database Stucture which stores Selection screen information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to also know the Structure of OUTPUT of a REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas are appreciated and rewarded....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 19:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941238#M63222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T19:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941239#M63223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get selection screen information using the function module RS_REFRESH_FROM_SELECTOPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting the output structure is not easy. Search in this forum with the text "output structure". You will see lot of discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are these ALV reports, your custom reports or standard ones? Which ALV(GRID or LIST or OO)? You need to have a logic in your program to check if the program is run in background and if so, then you call REUSE_ALV_LIST_DISPLAY otherwise call the current ALV. Grid display requires GUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 19:41:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941239#M63223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T19:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941240#M63224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am talking abt the Standard SAP ALV reports in the SAP System, I am not worried abt the Custom Reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to execute it using "SUBMIT PROGRAM ==&amp;gt; EXPORT TO MEMORY ==&amp;gt; lIST FROM MEMORY ==&amp;gt; COnverting it to Acsii values and returning it"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to work for Ordinary Reports, but not of ALV type.Unable to export to Memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas please,&lt;/P&gt;&lt;P&gt;-RAVI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 21:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941240#M63224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T21:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941241#M63225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi - I ran the following simple report:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest LINE-SIZE 132 MESSAGE-ID zc.

DATA: BEGIN OF listobject OCCURS 0.
        INCLUDE STRUCTURE abaplist.
DATA: END OF listobject.

SUBMIT zfvr036
  USING SELECTION-SET 'PERIODIC'
  EXPORTING LIST TO MEMORY
  AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'
     TABLES
          listobject = listobject
     EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.

CALL FUNCTION 'WRITE_LIST'
     TABLES
          listobject = listobject
     EXCEPTIONS
          empty_list = 1
          OTHERS     = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It produced output without the gui status active, so I think EXPORTING LIST TO MEMORY does work for ALV. The program I submitted used REUSE_ALV_LIST_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the submitted program to use REUSE_ALV_GRID_DISPLAY and it also worked - this time with the GUI more or lsess intact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 21:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941241#M63225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T21:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941242#M63226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run a my program (called by submit) that uses a ALV list and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is code:&lt;/P&gt;&lt;P&gt;DATA: LISTOBJECT TYPE STANDARD TABLE OF ABAPLIST,&lt;/P&gt;&lt;P&gt;      LISTASCI(3000) OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call program with ALV&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SUBMIT ZFAGRD11&lt;/P&gt;&lt;P&gt;        WITH P_BUKRS = 'MATE'&lt;/P&gt;&lt;P&gt;        EXPORTING LIST TO MEMORY  AND RETURN.&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;Import list from memory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          LISTOBJECT = LISTOBJECT&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;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert list to ASCII&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LIST_INDEX               = -1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WITH_LINE_BREAK          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    LISTASCI                 = LISTASCI&lt;/P&gt;&lt;P&gt;    LISTOBJECT               = LISTOBJECT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EMPTY_LIST               = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LIST_INDEX_INVALID       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                   = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In internal table LISTASCI I see right list: which your problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 21:32:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941242#M63226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T21:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941243#M63227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did SUBMIT a couple of programs which used ALV GRID but they abended. The one with ALV LIST worked. So what are doing differently or is it the version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 22:41:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941243#M63227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T22:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941244#M63228</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;Export to memory will only work with normal List or ALV list , not with ALV grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2005 03:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941244#M63228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-13T03:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941245#M63229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you submit a ALV gird exporting list to memory, it wont abort, it would simply show the gird in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if its in batch, it may abort&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2005 07:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941245#M63229</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-09-13T07:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941246#M63230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it on 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2005 13:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941246#M63230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-13T13:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and Importing from Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941247#M63231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Std SAP report of type ALV GRID, i am not able to Export it to memory, the List just Pops out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way , i can read Export such Reports to memory and list them back to my Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 21:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-and-importing-from-memory/m-p/941247#M63231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T21:05:24Z</dc:date>
    </item>
  </channel>
</rss>

