<?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 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/5812725#M1313514</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 am calling a report from a function module using the statement "submit report1 and return". &lt;/P&gt;&lt;P&gt;Is it possible for the report not to return control to the function module ?&lt;/P&gt;&lt;P&gt;i.e. all statements below code  "submit report1 and return" willl not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then how do i capture errors generated in the report from the function module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2009 09:55:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-07T09:55:05Z</dc:date>
    <item>
      <title>Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/5812725#M1313514</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 am calling a report from a function module using the statement "submit report1 and return". &lt;/P&gt;&lt;P&gt;Is it possible for the report not to return control to the function module ?&lt;/P&gt;&lt;P&gt;i.e. all statements below code  "submit report1 and return" willl not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then how do i capture errors generated in the report from the function module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 09:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/5812725#M1313514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T09:55:05Z</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/5812726#M1313515</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;Yes you simply use &lt;STRONG&gt;SUBMIT report&lt;/STRONG&gt; withouth any addition. It will then not return from calling program.&lt;/P&gt;&lt;P&gt;Where do you want to handle your errors in this case? If calling program ends up, there is no return. You need to take care of errors either in the program or leave the addtion &lt;STRONG&gt;and return&lt;/STRONG&gt; and handle them in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/5812726#M1313515</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-07T10:01:54Z</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/5812727#M1313516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove the returm from submit statement.&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;To capture errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;build the errors into a itab.&lt;/P&gt;&lt;P&gt;then use &lt;/P&gt;&lt;P&gt;EXPORT it_err TO MEMORY ID 'TD'  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the program where u want get the errors use &lt;/P&gt;&lt;P&gt;IMPORT IT_ERR FROM MEMORY ID 'TD'  .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/5812727#M1313516</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-07-07T10:05:29Z</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/5812728#M1313517</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;This is very simple......Dont use RETURN wih the submit......this wont return to the  FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover for handling the errors either handle in the Report itself as you are not returning to the FM or witht he Return handle in either place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:14:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/5812728#M1313517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:14:10Z</dc:date>
    </item>
  </channel>
</rss>

