<?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: program called by another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284222#M497599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. add a t-code with the second program.&lt;/P&gt;&lt;P&gt;2. In first program use command "call transaction" to call the second program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2007 10:58:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-18T10:58:17Z</dc:date>
    <item>
      <title>program called by another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284218#M497595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do  u call a program from  another program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 10:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284218#M497595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: program called by another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284219#M497596</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;  Make use of &amp;lt;b&amp;gt;submit&amp;lt;/b&amp;gt; statement.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  Submit ZREPORT and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 10:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284219#M497596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T10:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: program called by another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284220#M497597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Refer below two program.  Submit command will solve ur purpose. In the below, first program call the second one.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report  z_82235_test1                           .

types: begin of tab1,
         a(1),
         b(1),
       end of tab1.

types: begin of tab2,
         c(1),
         d(1),
       end of tab2.

data: itab1 type table of tab1,
      wa1 like line of itab1,
      itab2 type table of tab2,
      wa2 like line of itab2.

wa1-a = '1'.
wa1-b = '2'.
append wa1 to itab1.
clear wa1.

wa1-a = '3'.
wa1-b = '4'.
append wa1 to itab1.
clear wa1.


export itab1 to memory id '001'.
export itab2 to memory id '002'.

submit z_82235_test2 and return exporting list to memory .


import itab1 from memory id '003'.
import itab2 from memory id '004'.

write:/ 'ITAB1'.
loop at itab1 into wa1.
write : / wa1-a, wa1-b.
clear: wa1.
endloop.

write:/ 'ITAB2'.
loop at itab2 into wa2.
write : / wa2-c, wa2-d.
clear: wa2.

report  z_82235_test2                           .

types: begin of tab1,
         a(1),
         b(1),
       end of tab1.

types: begin of tab2,
         c(1),
         d(1),
       end of tab2.

data: itab1 type table of tab1,
      wa1 like line of itab1,
      itab2 type table of tab2,
      wa2 like line of itab2.

import itab1 from memory id '001'.
import itab2 from memory id '002'.

itab2[] = itab1[].

wa1-a = 'a'.
wa1-b = 'b'.
append wa1 to itab1.
clear wa1.




export itab1 to memory id '003'.
export itab2 to memory id '004'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 10:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284220#M497597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T10:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: program called by another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284221#M497598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use SUBMIT statementto execute 1 program within another program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 10:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284221#M497598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T10:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: program called by another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284222#M497599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. add a t-code with the second program.&lt;/P&gt;&lt;P&gt;2. In first program use command "call transaction" to call the second program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 10:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284222#M497599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T10:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: program called by another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284223#M497600</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 option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit &amp;lt;Program name&amp;gt; with &amp;lt;select-options&amp;gt; and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 10:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-called-by-another-program/m-p/2284223#M497600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T10:58:52Z</dc:date>
    </item>
  </channel>
</rss>

