<?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/6350966#M1398885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Dec 2009 12:05:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-10T12:05:53Z</dc:date>
    <item>
      <title>SUBMIT and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/6350964#M1398883</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;Is this possible that SUBMIT and Return statement&lt;/P&gt;&lt;P&gt;returns sy-subrc as 0, although the program submitted has not completed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, submit statement is submitting a session name to program RSBDCSUB (to execute the session in background).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 11:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/6350964#M1398883</guid>
      <dc:creator>manubhutani</dc:creator>
      <dc:date>2009-12-10T11:40:12Z</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/6350965#M1398884</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;Submit and return will return the sy-subrc.In u r case the session is submitted successfully.So thats why it is returning sy-subrc  = 0.  If u want the session status is process sucessfully or not then check the table APQI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrards,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 11:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/6350965#M1398884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T11:54:04Z</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/6350966#M1398885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 12:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/6350966#M1398885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T12:05:53Z</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/6350967#M1398886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to handle the exception. You do this by using try catch...endtry block. Call the submit statement within it.&lt;/P&gt;&lt;P&gt;Might be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 12:06:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/6350967#M1398886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T12:06:00Z</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/6350968#M1398887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do it through function module &lt;STRONG&gt;SUBMIT_REPORT&lt;/STRONG&gt; and catch the sy-subrc values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i understood you question wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc = 0 because it has submitted the program and returned back successfully,&lt;/P&gt;&lt;P&gt;if you want to check the status of submittes jb then use fm &lt;STRONG&gt;BDL_READ_JOB_STATUS&lt;/STRONG&gt; or &lt;STRONG&gt;BP_JOB_STATUS_GET&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ksd on Dec 10, 2009 6:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 13:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/6350968#M1398887</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-10T13:19:41Z</dc:date>
    </item>
  </channel>
</rss>

