<?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: When would the program return back in this statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971449#M1491334</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;The session from the caller and the rsbdcsub is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In really, the systems "don´t wait", because it´s executing the rsbdcsub, returning to the caller after it ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leandro Mengue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jun 2010 18:21:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-03T18:21:12Z</dc:date>
    <item>
      <title>When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971448#M1491333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUBMIT rsbdcsub  &lt;/P&gt;&lt;P&gt;WITH mappe = m_name&lt;/P&gt;&lt;P&gt;WITH von = sy-datum&lt;/P&gt;&lt;P&gt;WITH bis = sy-datum&lt;/P&gt;&lt;P&gt;WITH z_verab = 'X'&lt;/P&gt;&lt;P&gt;WITH logall = 'X'&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am having little confusion on how this will work. From the ABAP help, I understand that Once program access is completed, program execution for the calling program continues after the SUBMIT statement. in this case, RSBDCSUB submits the session that was created. so will the system wait until the session gets executed completly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 18:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971448#M1491333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-03T18:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971449#M1491334</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;The session from the caller and the rsbdcsub is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In really, the systems "don´t wait", because it´s executing the rsbdcsub, returning to the caller after it ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leandro Mengue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 18:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971449#M1491334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-03T18:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971450#M1491335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 18:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971450#M1491335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-03T18:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971451#M1491336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No , it does not wait. &lt;/P&gt;&lt;P&gt;The RETURN statement has nothing to do with this. It just determined about the creation of called program in new session .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 10:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971451#M1491336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T10:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971452#M1491337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to acheive this: I want to know how to trigger an new report after the completion of processing the BDC session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts plz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 19:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971452#M1491337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T19:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971453#M1491338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This link will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link:[http://www.sapfans.com/sapfans/forum/devel/messages/30331.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like , calling the fm in a do statement and if it reaches 'F' exit the loop and proceed, if its E or A or anything else, exit from the program...hope you got the idea....or you can use a independent program to check the status..make sure the loops doesnt goes to infinity ..this is just a hint &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The logic is to check the status of the submitted session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 19:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971453#M1491338</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-06-04T19:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971454#M1491339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Keshav.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if the function module returns non zero...that means my bdc session is not completed.so I cannot run my 2nd program. This means I am wasting one run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So all that I want is not to wait or check....I just wish to trigger job B when job A is completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 19:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971454#M1491339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T19:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: When would the program return back in this statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971455#M1491340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - This is now a different question and one that has been asked many times before. Please search the forum - thread locked&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unlocked so OP can close.&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jun 4, 2010 3:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 19:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-would-the-program-return-back-in-this-statement/m-p/6971455#M1491340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T19:23:19Z</dc:date>
    </item>
  </channel>
</rss>

