<?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: Problem in exporting to memory   ABAP memory using SUBMIt and RETURN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453038#M214362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry guys &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The right code is&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;ABLES: DD02L,TSP01,RFCDES .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Declaration of internal table&lt;/P&gt;&lt;P&gt;DATA : RECNAM(25) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF TBL_DD02L OCCURS 0,&lt;/P&gt;&lt;P&gt;TABNAME LIKE DD02L-TABNAME,&lt;/P&gt;&lt;P&gt;END OF TBL_DD02L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TBL_MEMORY LIKE ABAPLIST OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;TBL_ASCII(255) TYPE C OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : TBL_DIFF LIKE TBL_ASCII OCCURS 0 WITH HEADER LINE.&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;Select option for Multiple Tables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT-OPTIONS: S_VIEW FOR DD02L-TABNAME&lt;/P&gt;&lt;P&gt;NO INTERVALS DEFAULT 'SFLIGHT' OBLIGATORY.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for RFC.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PARAMETER : RFC_DEST LIKE RFCDES-RFCDEST DEFAULT 'AS_AC1306'&lt;/P&gt;&lt;P&gt;OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for Recipient.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PARAMETER P_RECNAM LIKE recnam DEFAULT SY-UNAME OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT TABNAME FROM DD02L INTO TABLE TBL_DD02L&lt;/P&gt;&lt;P&gt;WHERE TABNAME IN S_VIEW.&lt;/P&gt;&lt;P&gt;IF NOT SY-SUBRC IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE E000(1) WITH 'Table does not exists '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TBL_DD02L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RSCMPADJ WITH VIEW = TBL_DD02L-TABNAME&lt;/P&gt;&lt;P&gt;WITH RFC_DEST = RFC_DEST&lt;/P&gt;&lt;P&gt;WITH SEL = SPACE&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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 = TBL_MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR TBL_ASCII.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH TBL_ASCII.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;LISTASCI = TBL_ASCII&lt;/P&gt;&lt;P&gt;LISTOBJECT = TBL_MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at TBL_ASCII.&lt;/P&gt;&lt;P&gt;Write : / TBL_ASCII.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2006 06:46:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-20T06:46:03Z</dc:date>
    <item>
      <title>Problem in exporting to memory   ABAP memory using SUBMIt and RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453037#M214361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I m using this zreport to compare multiple tables   between two SAP systems by using RFC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling a standard program &amp;#147;&amp;lt;b&amp;gt;RSCMPADJ&amp;lt;/b&amp;gt;&amp;#148;  to get the inconsistency in the table in different tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;SUBMIT  RSCMPADJ  WITH VIEW     = TBL_DD02L-TABNAME&lt;/P&gt;&lt;P&gt;                            WITH RFC_DEST = RFC_DEST&lt;/P&gt;&lt;P&gt;                            WITH SEL      = SPACE&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;P&gt;My problem is : If I try to compare tables which has less data then this program works successfully . eg &amp;lt;b&amp;gt;sflight ,sbook, bseg.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can also fetch from the memory by using &amp;lt;b&amp;gt;'LIST_FROM_MEMORY'&amp;lt;/b&amp;gt; and converts into Ascii by using &amp;lt;b&amp;gt;'LIST_TO_ASCI'&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem when I Use table which has large data . eg &amp;lt;b&amp;gt;HRP1000&amp;lt;/b&amp;gt; . Program shows all the records on the screen before the execution of the report and does not passes into the memory by &amp;lt;b&amp;gt;EXPORTING LIST TO MEMORY&amp;lt;/b&amp;gt; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  So we can not use &amp;lt;b&amp;gt;'LIST_FROM_MEMORY'&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;'LIST_TO_ASCI'&amp;lt;/b&amp;gt; because it is not passing data to the memory . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   At that it is raising one exception&lt;/P&gt;&lt;P&gt;                                                          &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Error analysis                                                  &amp;lt;/b&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;A RAISE statement in the program "SAPLSLST " raised the exception&lt;/P&gt;&lt;P&gt;condition "NOT_FOUND".                                           &lt;/P&gt;&lt;P&gt;Since the exception was not intercepted by a superior program    &lt;/P&gt;&lt;P&gt;in the hierarchy, processing was terminated.                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Short description of exception condition&amp;lt;/b&amp;gt;:                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;No list found in  memory                                         &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;                                                                 &lt;/P&gt;&lt;P&gt;For detailed documentation of the exception condition, use       &lt;/P&gt;&lt;P&gt;Transaction SE37 (Function Library). You can take the called     &lt;/P&gt;&lt;P&gt;function module from the display of active calls.                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;How to correct the error                                            &amp;lt;/b&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;If the error occurred in a non-modified SAP program, you may be      &lt;/P&gt;&lt;P&gt;able to find a solution in the SAP note system.                      &lt;/P&gt;&lt;P&gt;If you have access to the note system yourself, use the following    &lt;/P&gt;&lt;P&gt;search criteria:                                                                                &lt;/P&gt;&lt;P&gt;"RAISE_EXCEPTION"                                                   &lt;/P&gt;&lt;P&gt; "SAPLSLST " or "LSLSTU02 "                                          &lt;/P&gt;&lt;P&gt; "LIST_FROM_MEMORY"                                                  &lt;/P&gt;&lt;P&gt;or                                                                                &lt;/P&gt;&lt;P&gt;"SAPLSLST " "NOT_FOUND"                                                                                &lt;/P&gt;&lt;P&gt;Right now I don't have authorization for OSS notes.            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;b&amp;gt;Suggest me how can we increase memory size of abap memory or SAP memory, Is it possible to increase the size of memory ?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;For your information I am giving the code which u can make use.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Code :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: DD02L,TSP01,RFCDES, ZBAPISPOOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Declaration of internal table&lt;/P&gt;&lt;P&gt;DATA : RECNAM(25) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF TBL_DD02L OCCURS 0,&lt;/P&gt;&lt;P&gt;        TABNAME LIKE DD02L-TABNAME,&lt;/P&gt;&lt;P&gt;      END OF TBL_DD02L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TBL_MEMORY LIKE ABAPLIST OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      TBL_ASCII(255) TYPE C  OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : TBL_DIFF LIKE TBL_ASCII OCCURS 0 WITH HEADER LINE.&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;Select option for Multiple Tables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT-OPTIONS: S_VIEW FOR DD02L-TABNAME&lt;/P&gt;&lt;P&gt;                         NO INTERVALS DEFAULT 'SFLIGHT' OBLIGATORY.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for RFC.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PARAMETER    : RFC_DEST LIKE RFCDES-RFCDEST DEFAULT 'AS_AC1306'&lt;/P&gt;&lt;P&gt;OBLIGATORY.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN SKIP 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for Recipient.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PARAMETER P_RECNAM LIKE ZBAPISPOOL-ZUSER DEFAULT SY-UNAME OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT TABNAME FROM DD02L INTO TABLE TBL_DD02L&lt;/P&gt;&lt;P&gt;                        WHERE TABNAME IN S_VIEW.&lt;/P&gt;&lt;P&gt;  IF NOT SY-SUBRC IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE E000(1) WITH 'Table does not exists '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TBL_DD02L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SUBMIT  RSCMPADJ  WITH VIEW     = TBL_DD02L-TABNAME&lt;/P&gt;&lt;P&gt;                            WITH RFC_DEST = RFC_DEST&lt;/P&gt;&lt;P&gt;                            WITH SEL      = SPACE&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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 = TBL_MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR TBL_ASCII.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    REFRESH TBL_ASCII.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              LISTASCI   = TBL_ASCII&lt;/P&gt;&lt;P&gt;              LISTOBJECT = TBL_MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at TBL_ASCII.&lt;/P&gt;&lt;P&gt; Write : / TBL_ASCII.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 06:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453037#M214361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T06:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting to memory   ABAP memory using SUBMIt and RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453038#M214362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry guys &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The right code is&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;ABLES: DD02L,TSP01,RFCDES .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Declaration of internal table&lt;/P&gt;&lt;P&gt;DATA : RECNAM(25) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF TBL_DD02L OCCURS 0,&lt;/P&gt;&lt;P&gt;TABNAME LIKE DD02L-TABNAME,&lt;/P&gt;&lt;P&gt;END OF TBL_DD02L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TBL_MEMORY LIKE ABAPLIST OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;TBL_ASCII(255) TYPE C OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : TBL_DIFF LIKE TBL_ASCII OCCURS 0 WITH HEADER LINE.&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;Select option for Multiple Tables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT-OPTIONS: S_VIEW FOR DD02L-TABNAME&lt;/P&gt;&lt;P&gt;NO INTERVALS DEFAULT 'SFLIGHT' OBLIGATORY.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for RFC.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PARAMETER : RFC_DEST LIKE RFCDES-RFCDEST DEFAULT 'AS_AC1306'&lt;/P&gt;&lt;P&gt;OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for Recipient.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PARAMETER P_RECNAM LIKE recnam DEFAULT SY-UNAME OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT TABNAME FROM DD02L INTO TABLE TBL_DD02L&lt;/P&gt;&lt;P&gt;WHERE TABNAME IN S_VIEW.&lt;/P&gt;&lt;P&gt;IF NOT SY-SUBRC IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE E000(1) WITH 'Table does not exists '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TBL_DD02L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RSCMPADJ WITH VIEW = TBL_DD02L-TABNAME&lt;/P&gt;&lt;P&gt;WITH RFC_DEST = RFC_DEST&lt;/P&gt;&lt;P&gt;WITH SEL = SPACE&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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 = TBL_MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR TBL_ASCII.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH TBL_ASCII.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;LISTASCI = TBL_ASCII&lt;/P&gt;&lt;P&gt;LISTOBJECT = TBL_MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at TBL_ASCII.&lt;/P&gt;&lt;P&gt;Write : / TBL_ASCII.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 06:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453038#M214362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T06:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting to memory   ABAP memory using SUBMIt and RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453039#M214363</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 tried excecuting ur program with table HRP1000. I could see the list. &lt;/P&gt;&lt;P&gt;Please chk whether the table HRP1000 is present in the&lt;/P&gt;&lt;P&gt;remote system.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kanthimathi Krishnan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 07:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453039#M214363</guid>
      <dc:creator>kanthimathikris</dc:creator>
      <dc:date>2006-07-20T07:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting to memory   ABAP memory using SUBMIt and RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453040#M214364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kanthimathi&lt;/P&gt;&lt;P&gt;It is displaying the the table as output before going into the memory. after executing the program when u get HRP1000 as output just click back or put a break point before the  function module 'LIST_FROM_MEMORY' then u will see it does not fetch table from the memory becoz memory size is low and it displays output straight on the screen.  &lt;/P&gt;&lt;P&gt;Waiting for your suggestion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naval &lt;/P&gt;&lt;P&gt;09871012494&lt;/P&gt;&lt;P&gt;navalgupta2000@yahoo.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 09:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453040#M214364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T09:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting to memory   ABAP memory using SUBMIt and RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453041#M214365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes u r correct; the list is not fetched from the memory!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 11:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453041#M214365</guid>
      <dc:creator>kanthimathikris</dc:creator>
      <dc:date>2006-07-20T11:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting to memory   ABAP memory using SUBMIt and RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453042#M214366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Gupta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the following Document &amp;amp; example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rep. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;1. ... LINE-SIZE col &lt;/P&gt;&lt;P&gt;2. ... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;3. ... TO SAP-SPOOL &lt;/P&gt;&lt;P&gt;4. ... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;5. ... AND RETURN &lt;/P&gt;&lt;P&gt;6. ... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;7. ... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;8. ... Various additions for parameter transfer to rep &lt;/P&gt;&lt;P&gt;9. ... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Calls the report rep . Leaves the active program and starts the new report rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... LINE-SIZE col &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with the line width col . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with lin lines (per page). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4&lt;/P&gt;&lt;P&gt;... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Displays the selection screen for the user. In this case, the selection screen is redisplayed after return from the report list display - the user's entries are retained. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 5&lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal mode . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 6&lt;/P&gt;&lt;P&gt;... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Does not display the output list of the called report, but saves it in SAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT . You can process this list further with the function modules 'WRITE_LIST' , 'DISPLAY_LIST' ... of the function group "SLST" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 7&lt;/P&gt;&lt;P&gt;... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Schedules the specified report in the job specified by the job name job and the job number n . The job runs under the user name user and you can omit the addition USER user . The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT . This addition can only be used with the addition ...AND RETURN . &lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 9&lt;/P&gt;&lt;P&gt;... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Uses variants of the program prog when executing the program rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Important &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs prog and rep must have the same SELECT-OPTIONS and PARAMETER s. Otherwise, variants of the program prog may be destroyed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari . On the other hand, all variant-related actions on the selection screen of rep (Get , Save as variant , Display , Delete ) refer to the variants of prog . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT01&lt;/P&gt;&lt;P&gt;VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;USING SELECTION-SET 'VARIANT1'&lt;/P&gt;&lt;P&gt;USING SELECTION-SETS OF PROGRAM 'REPORT00'&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Runtime errors &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD_PROGRAM_NOT_FOUND : The specified program was not found. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_TYPE : The specified program is not a report. &lt;/P&gt;&lt;P&gt;SUBMIT_IMPORT_ONLY_PARAMETER : Only one value passed to a report parameter. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_SIGN : Invalid value passed to a selection with the addition SIGN . &lt;/P&gt;&lt;P&gt;SUBMIT_IN_ITAB_ILL_STRUCTURE : Table passed to a selection with WITH sel IN itab had an unexpected structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this Example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: listobject like abaplist occurs 1 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;listobject = listobject&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message ID '61' TYPE 'E' NUMBER '731'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with 'LIST_FROM_MEMORY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 11:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-to-memory-abap-memory-using-submit-and-return/m-p/1453042#M214366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T11:13:25Z</dc:date>
    </item>
  </channel>
</rss>

