<?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 AND RETURN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435669#M544801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You have to press the BACK button on the ALV display Menu to comback to the calling program.then only it will come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2007 07:35:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-20T07:35:07Z</dc:date>
    <item>
      <title>SUBMIT AND RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435667#M544799</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;           I am using SUBMIT and return in my program. But the program which is called is using the ALV display. So how to skip this display and return back to my  calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 07:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435667#M544799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T07:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT AND RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435668#M544800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u use SUBMIT and Return , it wont display any output ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;u have to use LIST EXPORT to Memory inaddition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first check the syntax of ur call ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;press F1 on Submit in Se38 editor then u wll come to know .&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;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 07:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435668#M544800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T07:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT AND RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435669#M544801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You have to press the BACK button on the ALV display Menu to comback to the calling program.then only it will come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 07:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435669#M544801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T07:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT AND RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435670#M544802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of displaying a list on the screen, you can store it in ABAP memory using the&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY addition in the SUBMIT statement:&lt;/P&gt;&lt;P&gt;SUBMIT... AND RETURN&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 07:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435670#M544802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T07:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT AND RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435671#M544803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Try the following.&lt;/P&gt;&lt;P&gt;*Submit report and return to current program afterwards &lt;/P&gt;&lt;P&gt; SUBMIT zreport AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Submit report via its own selection screen &lt;/P&gt;&lt;P&gt; SUBMIT zreport VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Submit report using selection screen variant&lt;/P&gt;&lt;P&gt; SUBMIT zreport USING SELECTION-SET 'VARIANT1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Submit report but export resultant list to memory, rather than &lt;/P&gt;&lt;P&gt;*it being displayed on screen&lt;/P&gt;&lt;P&gt; SUBMIT zreport EXPORTING LIST TO MEMORY.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Once report has finished and control has returned to calling &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; program,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Good Luck&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 07:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435671#M544803</guid>
      <dc:creator>ashok_kumar24</dc:creator>
      <dc:date>2007-06-20T07:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT AND RETURN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435672#M544804</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;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Example Code 

DATA  BEGIN OF itab_list OCCURS 0.
        INCLUDE STRUCTURE abaplist.
DATA  END OF itab_list.

DATA: BEGIN OF vlist OCCURS 0,
        filler1(01)   TYPE c,
        field1(06)    TYPE c,
        filler(08)    TYPE c,
        field2(10)    TYPE c,
        filler3(01)   TYPE c,
        field3(10)    TYPE c,
        filler4(01)   TYPE c,
        field4(3)     TYPE c,
        filler5(02)   TYPE c,
        field5(15)    TYPE c,
        filler6(02)   TYPE c,
        field6(30)    TYPE c,
        filler7(43)   TYPE c,
        field7(10)    TYPE c,
      END OF vlist.

SUBMIT zreport EXPORTING LIST TO MEMORY and RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'
  TABLES
    listobject = itab_list
  EXCEPTIONS
    not_found  = 4
    OTHERS     = 8.

CALL FUNCTION 'LIST_TO_ASCI'
  EXPORTING
    list_index         = -1
  TABLES
    listasci           = vlist
    listobject         = itab_list
  EXCEPTIONS
    empty_list         = 1
    list_index_invalid = 2
    OTHERS             = 3.

IF sy-subrc NE '0'.
  WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 07:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2435672#M544804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T07:47:13Z</dc:date>
    </item>
  </channel>
</rss>

