<?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: SUBMIT .... EXPORTING LIST TO MEMORY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327051#M167392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yjr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. suppose your submit program&lt;/P&gt;&lt;P&gt;    has TWO parameters on screen&lt;/P&gt;&lt;P&gt;   a) A&lt;/P&gt;&lt;P&gt;   b) B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then u can use like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit zam_temp0 and return&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;with a EQ 'ABC'&lt;/P&gt;&lt;P&gt;with b EQ 'DEF'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For 'ABC' u can use your variable name also,&lt;/P&gt;&lt;P&gt;   to pass the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. If your program has select-options,&lt;/P&gt;&lt;P&gt;   then u can use this kind of logic (taken from help)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&lt;/P&gt;&lt;P&gt;REPORT report2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: text(10)   TYPE c, &lt;/P&gt;&lt;P&gt;      rspar_tab  TYPE TABLE OF rsparams, &lt;/P&gt;&lt;P&gt;      rspar_line LIKE LINE OF rspar_tab, &lt;/P&gt;&lt;P&gt;      range_tab  LIKE RANGE OF text, &lt;/P&gt;&lt;P&gt;      range_line LIKE LINE OF range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rspar_line-selname = 'SELCRIT1'. &lt;/P&gt;&lt;P&gt;rspar_line-kind    = 'S'. &lt;/P&gt;&lt;P&gt;rspar_line-sign    = 'I'. &lt;/P&gt;&lt;P&gt;rspar_line-option  = 'EQ'. &lt;/P&gt;&lt;P&gt;rspar_line-low     = 'ABAP'. &lt;/P&gt;&lt;P&gt;APPEND rspar_line TO rspar_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range_line-sign   = 'E'. &lt;/P&gt;&lt;P&gt;range_line-option = 'EQ'. &lt;/P&gt;&lt;P&gt;range_line-low    = 'H'. &lt;/P&gt;&lt;P&gt;APPEND range_line TO range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range_line-sign   = 'E'. &lt;/P&gt;&lt;P&gt;range_line-option = 'EQ'. &lt;/P&gt;&lt;P&gt;range_line-low    = 'K'. &lt;/P&gt;&lt;P&gt;APPEND range_line TO range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report1 USING SELECTION-SCREEN '1100' &lt;/P&gt;&lt;P&gt;               WITH SELECTION-TABLE rspar_tab &lt;/P&gt;&lt;P&gt;               WITH selcrit2 BETWEEN 'H' AND 'K' &lt;/P&gt;&lt;P&gt;               WITH selcrit2 IN range_tab &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2006 06:21:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-23T06:21:38Z</dc:date>
    <item>
      <title>SUBMIT .... EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327045#M167386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could some one tell me how to use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to call a report from User Exit and to this SUBMIT I would like to pass a set of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;YJR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 06:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327045#M167386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T06:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT .... EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327046#M167387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai YJR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY what this does is &lt;/P&gt;&lt;P&gt;It does not display the output list of the called report, but saves it in ABAP 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. In addition, you must not assign a function code to the ENTER key in the current GUI status. The saved list is read from the SAP memory using the function module 'LIST_FROM_MEMORY' and can then be saved to the database using EXPORT, for example. 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;&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;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 06:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327046#M167387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T06:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT .... EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327047#M167388</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;You can pass the selection screen values to the report via the SUBMIT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT &lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;WITH S_OPTION1 IN r_range1&lt;/P&gt;&lt;P&gt;WITH p_para1 = 'X'&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that you can access the values using &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 = l_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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 06:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327047#M167388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T06:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT .... EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327048#M167389</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;Do u need to call a report a report from the memory or Export the values through memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharadwaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 06:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327048#M167389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T06:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT .... EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327049#M167390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go through this  link...&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1562092"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 06:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327049#M167390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T06:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT .... EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327050#M167391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1218431"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 06:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327050#M167391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T06:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT .... EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327051#M167392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yjr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. suppose your submit program&lt;/P&gt;&lt;P&gt;    has TWO parameters on screen&lt;/P&gt;&lt;P&gt;   a) A&lt;/P&gt;&lt;P&gt;   b) B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then u can use like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit zam_temp0 and return&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;with a EQ 'ABC'&lt;/P&gt;&lt;P&gt;with b EQ 'DEF'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For 'ABC' u can use your variable name also,&lt;/P&gt;&lt;P&gt;   to pass the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. If your program has select-options,&lt;/P&gt;&lt;P&gt;   then u can use this kind of logic (taken from help)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&lt;/P&gt;&lt;P&gt;REPORT report2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: text(10)   TYPE c, &lt;/P&gt;&lt;P&gt;      rspar_tab  TYPE TABLE OF rsparams, &lt;/P&gt;&lt;P&gt;      rspar_line LIKE LINE OF rspar_tab, &lt;/P&gt;&lt;P&gt;      range_tab  LIKE RANGE OF text, &lt;/P&gt;&lt;P&gt;      range_line LIKE LINE OF range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rspar_line-selname = 'SELCRIT1'. &lt;/P&gt;&lt;P&gt;rspar_line-kind    = 'S'. &lt;/P&gt;&lt;P&gt;rspar_line-sign    = 'I'. &lt;/P&gt;&lt;P&gt;rspar_line-option  = 'EQ'. &lt;/P&gt;&lt;P&gt;rspar_line-low     = 'ABAP'. &lt;/P&gt;&lt;P&gt;APPEND rspar_line TO rspar_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range_line-sign   = 'E'. &lt;/P&gt;&lt;P&gt;range_line-option = 'EQ'. &lt;/P&gt;&lt;P&gt;range_line-low    = 'H'. &lt;/P&gt;&lt;P&gt;APPEND range_line TO range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range_line-sign   = 'E'. &lt;/P&gt;&lt;P&gt;range_line-option = 'EQ'. &lt;/P&gt;&lt;P&gt;range_line-low    = 'K'. &lt;/P&gt;&lt;P&gt;APPEND range_line TO range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report1 USING SELECTION-SCREEN '1100' &lt;/P&gt;&lt;P&gt;               WITH SELECTION-TABLE rspar_tab &lt;/P&gt;&lt;P&gt;               WITH selcrit2 BETWEEN 'H' AND 'K' &lt;/P&gt;&lt;P&gt;               WITH selcrit2 IN range_tab &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 06:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory/m-p/1327051#M167392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T06:21:38Z</dc:date>
    </item>
  </channel>
</rss>

