<?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 submit  EXPORTING LIST TO MEMORY and return in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279669#M152479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a requirement to use submit to run ME59N (RM06BB30) Transaction by passing plant and Tracking number &lt;/P&gt;&lt;P&gt;to the selection screen of ME59N, when I use this &lt;/P&gt;&lt;P&gt;SUBMIT RM06BB30 WITH SELECTION-TABLE i_rspar&lt;/P&gt;&lt;P&gt;                  EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;                  AND RETURN.&lt;/P&gt;&lt;P&gt;The output results were not getting exported to memory, since the standard program returns an ALV,&lt;/P&gt;&lt;P&gt;My problem is: when I use the above SUBMIT, the out is displaying immediately after SUBMIT was executed.&lt;/P&gt;&lt;P&gt;It does not came back to called program, If I press BACK button to come back to my screen, I need to move the output of this program into a internal table and display after my program is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me what to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2006 20:57:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-28T20:57:49Z</dc:date>
    <item>
      <title>submit  EXPORTING LIST TO MEMORY and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279669#M152479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a requirement to use submit to run ME59N (RM06BB30) Transaction by passing plant and Tracking number &lt;/P&gt;&lt;P&gt;to the selection screen of ME59N, when I use this &lt;/P&gt;&lt;P&gt;SUBMIT RM06BB30 WITH SELECTION-TABLE i_rspar&lt;/P&gt;&lt;P&gt;                  EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;                  AND RETURN.&lt;/P&gt;&lt;P&gt;The output results were not getting exported to memory, since the standard program returns an ALV,&lt;/P&gt;&lt;P&gt;My problem is: when I use the above SUBMIT, the out is displaying immediately after SUBMIT was executed.&lt;/P&gt;&lt;P&gt;It does not came back to called program, If I press BACK button to come back to my screen, I need to move the output of this program into a internal table and display after my program is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me what to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 20:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279669#M152479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T20:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: submit  EXPORTING LIST TO MEMORY and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279670#M152480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used this option successfully, the only difference I can see between yours and mine is that I passed parameter values and you use a selection table. The program I submitted was a custom one but is an ALV report and it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a code fragment:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;run the FertTerms+ Signup report&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SUBMIT zsdr0007&lt;/P&gt;&lt;P&gt;   EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;   WITH s_kunnr IN r_kunnr&lt;/P&gt;&lt;P&gt;   WITH s_udate IN s_udate&lt;/P&gt;&lt;P&gt;   WITH s_agent EQ us_work-kunn2 SIGN 'I'&lt;/P&gt;&lt;P&gt;   WITH s_dtaws CP '*' SIGN 'I'&lt;/P&gt;&lt;P&gt;   WITH p_varint = '/CONFIRM'&lt;/P&gt;&lt;P&gt;   WITH p_latest = 'X'&lt;/P&gt;&lt;P&gt;   AND  RETURN.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;import the list from memory and store it in table l_listobject&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 = 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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e000&lt;/P&gt;&lt;P&gt;     WITH 'fatal error with LIST_FROM_MEMORY. SY-SUBRC=' sy-subrc.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;free memory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FREE_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;      OTHERS     = 1.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e000&lt;/P&gt;&lt;P&gt;     WITH 'fatal error with LIST_FREE_MEMORY. SY-SUBRC=' sy-subrc.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;it's always necessary to compress the table.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SAPconnect will decompress it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'TABLE_COMPRESS'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      in             = l_listobject&lt;/P&gt;&lt;P&gt;      out            = l_contents_hex&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      compress_error = 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;P&gt;    MESSAGE e000&lt;/P&gt;&lt;P&gt;     WITH 'fatal error with TABLE_COMPRESS. SY-SUBRC=' sy-subrc.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 22:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279670#M152480</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-03-28T22:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: submit  EXPORTING LIST TO MEMORY and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279671#M152481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;There is still the "old" one in the system "ME59".&lt;/P&gt;&lt;P&gt;It's the RM06BB20.&lt;/P&gt;&lt;P&gt;Since it is not deactivated in the system you may be use this report but do some tests to se if it gives you the same results als the ME59N !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some reward points if that helps you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 04:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279671#M152481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T04:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: submit  EXPORTING LIST TO MEMORY and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279672#M152482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;We need to make use of BADI, 'MD_PURREQ_CHANGE'.&lt;/P&gt;&lt;P&gt;Old transaction ME59 can not make use of this BADI,&lt;/P&gt;&lt;P&gt;and ME59n and ME59 has the same functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still this problem is not solved.&lt;/P&gt;&lt;P&gt;Could you please give me any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Frank Rex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 21:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279672#M152482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T21:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: submit  EXPORTING LIST TO MEMORY and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279673#M152483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;Still I did not solved this problem.&lt;/P&gt;&lt;P&gt;I dont know why it is not working could you please give any ideas?&lt;/P&gt;&lt;P&gt;I tried to use Call Transaction also, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME59N'  USING i_bdcdata  MODE 'N' MESSAGES INTO i_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But It is not giving me the proper message in i_message Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Frank Rex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 21:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279673#M152483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T21:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: submit  EXPORTING LIST TO MEMORY and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279674#M152484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;have you tried running your program (the one which submits RM06BB30) as a batch job? If you have been running it online it may always try to show you the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2006 04:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279674#M152484</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-03-30T04:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: submit  EXPORTING LIST TO MEMORY and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279675#M152485</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;i have this problem. &lt;/P&gt;&lt;P&gt;when&lt;/P&gt;&lt;P&gt;i use this FM it's nothing is getting in to listindex....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZSHAN_SUBMIT1.

DATA: begin of pernr_qttrans,
         pernr type pernr-pernr,
         cname type p0002-cname,
         SNAME type P0001-SNAME,
         gdate  type pc2bl-gdate,
         qtext type t556b-ktext,
         qtype  type pc2bl-qtype,
         lvnum  type pc2bl-lvnum,
         untext type t538t-etext,
         quoun  TYPE ptquoded-quoun,
       end of pernr_qttrans.

DATA: itab_qttrans LIKE TABLE OF pernr_qttrans,
       wa_itab_qttrans LIKE pernr_qttrans.

SUBMIT rptqta10
       EXPORTING LIST TO MEMORY
       WITH PNPPERNR-LOW = 102
       AND RETURN.

DATA: listobject1 like table of ABAPLIST,
      l_contents_hex like table of ABAPLIST.


CALL FUNCTION 'LIST_FROM_MEMORY'
  TABLES
    LISTOBJECT       = listobject1
 EXCEPTIONS
   NOT_FOUND        = 1
   OTHERS           = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*message id e000 WITH 'fatal error with LIST_FROM_MEMORY. SY-SUBRC=' sy-subrc.
ENDIF.

write: 'list'.

CALL FUNCTION 'LIST_FREE_MEMORY'
 TABLES
   LISTOBJECT       = listobject1
          .

write: 'free'.

CALL FUNCTION 'TABLE_COMPRESS'
* IMPORTING
*   COMPRESSED_SIZE       =
  TABLES
    IN                    = listobject1
    OUT                   = l_contents_hex
 EXCEPTIONS
   COMPRESS_ERROR        = 1
   OTHERS                = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

write: 'compress'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the itab QTTRANS of RPTQTA10 into this program.&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;Shankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 06:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-exporting-list-to-memory-and-return/m-p/1279675#M152485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T06:43:00Z</dc:date>
    </item>
  </channel>
</rss>

