<?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 another program in first program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866295#M929220</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;&lt;/P&gt;&lt;P&gt;clear: d_JOB_COUNT.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        JOBNAME  = d_JOBNAME&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        JOBCOUNT = d_JOB_COUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    submit ZFI_AGEWISE_PERFORMANCE&lt;/P&gt;&lt;P&gt;    VIA JOB d_JOBNAME&lt;/P&gt;&lt;P&gt;    NUMBER  d_JOB_COUNT&lt;/P&gt;&lt;P&gt;    with IKUNNR   IN r_id&lt;/P&gt;&lt;P&gt;    with s_vertn  in S_VERTN&lt;/P&gt;&lt;P&gt;    with s_hkont  IN S_HKONT&lt;/P&gt;&lt;P&gt;    with IBUDAT   eq IBUDAT&lt;/P&gt;&lt;P&gt;    with P_BUKRS  eq P_BUKRS&lt;/P&gt;&lt;P&gt;    with s_umskz  in s_umskz&lt;/P&gt;&lt;P&gt;*with R1 = R1&lt;/P&gt;&lt;P&gt;    WITH R2 = R2&lt;/P&gt;&lt;P&gt;*with r3 = R3&lt;/P&gt;&lt;P&gt;    WITH P_SESS = P_SESS&lt;/P&gt;&lt;P&gt;    AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        JOBNAME      = d_JOBNAME&lt;/P&gt;&lt;P&gt;        JOBCOUNT     = d_JOB_COUNT&lt;/P&gt;&lt;P&gt;        STRTIMMED    = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2008 03:54:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-14T03:54:21Z</dc:date>
    <item>
      <title>call another program in first program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866292#M929217</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;i need to perform to call another report in my current report. so how am i going to do so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how report work:&lt;/P&gt;&lt;P&gt;the report are going to run as background job. once the report run, it will send out the report in text file to user. and then i want it to trigger report 2. report 2 work the same, it will send another text file to user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the parameter for both the report is on current date only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how am i going to code in my first report program, to call the second report program, and to execute it? &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ben leen lee on May 14, 2008 3:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 01:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866292#M929217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T01:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: call another program in first program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866293#M929218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SUBMIT for the same. Do F1 on SUBMIT to know how to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 02:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866293#M929218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T02:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: call another program in first program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866294#M929219</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 ZFI_AGEWISE_PERFORMANCE&lt;/P&gt;&lt;P&gt;    VIA JOB d_JOBNAME&lt;/P&gt;&lt;P&gt;    NUMBER  d_JOB_COUNT&lt;/P&gt;&lt;P&gt;    with IKUNNR   IN r_id&lt;/P&gt;&lt;P&gt;    with s_vertn  in S_VERTN&lt;/P&gt;&lt;P&gt;    with s_hkont  IN S_HKONT&lt;/P&gt;&lt;P&gt;    with IBUDAT   eq IBUDAT&lt;/P&gt;&lt;P&gt;    with P_BUKRS  eq P_BUKRS&lt;/P&gt;&lt;P&gt;    with s_umskz  in s_umskz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 03:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866294#M929219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T03:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: call another program in first program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866295#M929220</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;&lt;/P&gt;&lt;P&gt;clear: d_JOB_COUNT.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        JOBNAME  = d_JOBNAME&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        JOBCOUNT = d_JOB_COUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    submit ZFI_AGEWISE_PERFORMANCE&lt;/P&gt;&lt;P&gt;    VIA JOB d_JOBNAME&lt;/P&gt;&lt;P&gt;    NUMBER  d_JOB_COUNT&lt;/P&gt;&lt;P&gt;    with IKUNNR   IN r_id&lt;/P&gt;&lt;P&gt;    with s_vertn  in S_VERTN&lt;/P&gt;&lt;P&gt;    with s_hkont  IN S_HKONT&lt;/P&gt;&lt;P&gt;    with IBUDAT   eq IBUDAT&lt;/P&gt;&lt;P&gt;    with P_BUKRS  eq P_BUKRS&lt;/P&gt;&lt;P&gt;    with s_umskz  in s_umskz&lt;/P&gt;&lt;P&gt;*with R1 = R1&lt;/P&gt;&lt;P&gt;    WITH R2 = R2&lt;/P&gt;&lt;P&gt;*with r3 = R3&lt;/P&gt;&lt;P&gt;    WITH P_SESS = P_SESS&lt;/P&gt;&lt;P&gt;    AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        JOBNAME      = d_JOBNAME&lt;/P&gt;&lt;P&gt;        JOBCOUNT     = d_JOB_COUNT&lt;/P&gt;&lt;P&gt;        STRTIMMED    = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 03:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866295#M929220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T03:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: call another program in first program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866296#M929221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bro,&lt;/P&gt;&lt;P&gt;         u can use SUBMIT &amp;lt;PRG NAME&amp;gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 04:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866296#M929221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T04:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: call another program in first program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866297#M929222</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;There are two ways of scheduling Background job...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One is through SM36 and the other is using JOB_OPEN &amp;amp; JOB_CLOSE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in SM36 , you can give the start condition for the JOB2 if JOB1 is success , Select the Check box Under the Start Condition -&amp;gt; After Job &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, you can do it using JOB_OPEN and if the JOB1 is success , you can call the JOB2 , even after you check the status of the JOB1 from its rexpective table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 05:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-program-in-first-program/m-p/3866297#M929222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T05:16:58Z</dc:date>
    </item>
  </channel>
</rss>

