<?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: Call abap program within a program asynchronously in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747006#M638669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the batch job will run quite separately - you will just have to make up some smarts to get the results of it back into calling program "A".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2007 04:50:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-14T04:50:04Z</dc:date>
    <item>
      <title>Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2746997#M638660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;  My requirement is to call a program B within a program A asyncronously so that the calling program A continues to run parallely with program B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sanjota&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2007 22:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2746997#M638660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-08T22:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2746998#M638661</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;Use SUBMIT statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
submit b.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/submit.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/submit.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2007 23:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2746998#M638661</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-09-08T23:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2746999#M638662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also look at passing off the work via asynch RFC calls... see:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2007 06:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2746999#M638662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-09T06:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747000#M638663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aRs,&lt;/P&gt;&lt;P&gt;  Thanks for the reply.&lt;/P&gt;&lt;P&gt;  If I use submit program I cannot return back to my program until I give "SUBMIT....AND RETURN" and this statement will wait till the second program executes and then send the control back to the first program.&lt;/P&gt;&lt;P&gt;  My requirement is to start the second program in the middle of the first program and still continue with the first program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 17:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747000#M638663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747001#M638664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;  Unfortunately my requirement is to have a custom program B because this program can also be exceuted independantly out of program A logic.&lt;/P&gt;&lt;P&gt;  I will check how this can work and get back.Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjota&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 17:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747001#M638664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T17:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747002#M638665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the second program "B" doing?... it may be possible to encapsulate its work in a function module so you can share the processing logic.  If you are really interested in getting multiple parallel asynch processes working, have a read through the code for RUTBTPA0 (from around line 780+ &lt;SPAN __jive_macro_name="ECC5"&gt;&lt;/SPAN&gt;) as it describes how you might achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 01:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747002#M638665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T01:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747003#M638666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This a interface report to transfer data from UNIX server into R3 and then into BW.&lt;/P&gt;&lt;P&gt;Program A: This program will read the file,validate the data ,post the data into FI .&lt;/P&gt;&lt;P&gt;Program B : reads the file data,transforms the file to BW and sends it to BW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is when program A successfully validates the file data ,program B should be started from program A to load the file to BW  .I had to have two programs because of the time taken by individual process blocks(i.e one is R3 processing and other is BW processing) due to large volume of file data(I can have couple of millions of records in the file).Again program B can be run independantly from program as a part of a requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking at how I can schedule program B as a batch job from program A asynchronously.This will help me to have a log on program B in the spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will go through the program suggested by you and get back .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help.&lt;/P&gt;&lt;P&gt;Sanjota&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 19:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747003#M638666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T19:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747004#M638667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjota,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to address the requirement would be to Start the program B from program A by creating a Job. This is very simple. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define Job using this FM 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can call the job with your requirements say Program B is report&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can start the job with FM 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its easy to do keep a log of program B as it is defined as a Job. You can display Job log using the FM 'BP_JOBLOG_SHOW'&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 21:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747004#M638667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T21:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747005#M638668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;  Can I still continue with my program A after calling program B as a batch job ? I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 22:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747005#M638668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T22:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747006#M638669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the batch job will run quite separately - you will just have to make up some smarts to get the results of it back into calling program "A".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 04:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747006#M638669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-14T04:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747007#M638670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;I don't want the results to be back in program A. I only want the program B to run separately and I guess this will resolve my problem.&lt;/P&gt;&lt;P&gt;I will implement this code and see how it goes and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjota&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 21:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747007#M638670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-14T21:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Call abap program within a program asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747008#M638671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Batch job concept worked. &lt;/P&gt;&lt;P&gt;Thanks Karthik and Jonathan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjota&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 02:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-program-within-a-program-asynchronously/m-p/2747008#M638671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T02:11:49Z</dc:date>
    </item>
  </channel>
</rss>

