<?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: Calling multiple Report programs with submit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-report-programs-with-submit/m-p/2861362#M671020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemavathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this to happen,either you can check for the value of sy-subrc after the Submit statement for the Program Y has been completed.If it is anything else apart from ZERO,then you can display an Error message or whatever functionality you want to include in that.&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;You must be expecting some return values from Program Y.If in case some variable's value is initial which should not be,then you can stop further processing of your report and stop there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you have any further clarifications,do let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Puneet Jhari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2007 12:16:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-19T12:16:45Z</dc:date>
    <item>
      <title>Calling multiple Report programs with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-report-programs-with-submit/m-p/2861360#M671018</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;I am scheduling a job with job open. Then  i am calling a report program with sumbit and passing the jobname and jobcount as parameters to this report program. Like...&lt;/P&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Program name : WRAP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job_Open&lt;/P&gt;&lt;P&gt;Submit X with p_name = lv_jobname&lt;/P&gt;&lt;P&gt;              with p_count  = lv_jobcount&lt;/P&gt;&lt;P&gt;and return.&lt;/P&gt;&lt;P&gt;Job _close&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Program 'X':&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In program X i have two submit statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit Y with p_run = 'TEST'&lt;/P&gt;&lt;P&gt;via job lv_jobname number lv_jobcount and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit Z with p_date = '20070101'&lt;/P&gt;&lt;P&gt;via job lv_jobname number lv_jobcount and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;According to the above case , i will call the program X ,and in turn X will call the program Y and Z.so that the report output of Y and Z are available to program  WRAP.But incase inside the program X the program Y fails i dont want to continue with next program Z.I want to say this staus to program WRAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i achieve this....&lt;/P&gt;&lt;P&gt;Points will be rewarded!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 11:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-report-programs-with-submit/m-p/2861360#M671018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T11:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calling multiple Report programs with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-report-programs-with-submit/m-p/2861361#M671019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check sy-subrc after the SUBIMIT Y &amp;amp; put in a hard error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 12:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-report-programs-with-submit/m-p/2861361#M671019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T12:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calling multiple Report programs with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-report-programs-with-submit/m-p/2861362#M671020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemavathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this to happen,either you can check for the value of sy-subrc after the Submit statement for the Program Y has been completed.If it is anything else apart from ZERO,then you can display an Error message or whatever functionality you want to include in that.&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;You must be expecting some return values from Program Y.If in case some variable's value is initial which should not be,then you can stop further processing of your report and stop there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you have any further clarifications,do let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Puneet Jhari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 12:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-report-programs-with-submit/m-p/2861362#M671020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T12:16:45Z</dc:date>
    </item>
  </channel>
</rss>

