<?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 a program in another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852119#M1134725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SUBMIT ret1 using selection-screen ' '&lt;/P&gt;&lt;P&gt;with &amp;lt; &amp;gt; and return&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2008 06:23:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-25T06:23:13Z</dc:date>
    <item>
      <title>calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852112#M1134718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 reports.&lt;/P&gt;&lt;P&gt;Report1-uploads file into internal table ITAB1.&lt;/P&gt;&lt;P&gt;Report2-To be called in Report 1 and shd be able to access the TAB1 values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How shd i do this?DO guide me precisely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852112#M1134718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852113#M1134719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use SET PARAMETER and GET PARAMETER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please go through the KEY word documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a system table called INDX( HK )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will serve your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852113#M1134719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852114#M1134720</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;Try to use SUBMIT statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kalp..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852114#M1134720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852115#M1134721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alka,&lt;/P&gt;&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In report one after ITAB1 is filled us memory id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export itab1 to memory id 'NAA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in report 2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit REPORT1 using selection-screen '1000'&lt;/P&gt;&lt;P&gt;                            with &amp;lt;selection screen parameters&amp;gt;&lt;/P&gt;&lt;P&gt;                          and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import itab1 from memory id 'NAA'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;use itab1 here.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;Ater that free memory id&lt;/P&gt;&lt;P&gt;FREE MEMORY ID 'NAA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to declare itab1 in REPORT2 with same structure declared inREPORT1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mr.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852115#M1134721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852116#M1134722</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;if you want to use an internal table from one report to another,&lt;/P&gt;&lt;P&gt;then you can use export and import statements to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in report 1 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: indxkey like indx-srtfd,&lt;/P&gt;&lt;P&gt;      wa_indx type indx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   concatenate sy-uname '_' sy-datum '_' sy-uzeit into indxkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  export &amp;lt;internal table name&amp;gt; from &amp;lt;internal table name&amp;gt;   to database indx(st)  from wa_indx id indxkey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit report2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in report 2 : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: indxkey like indx-srtfd,&lt;/P&gt;&lt;P&gt;      indx_wa type indx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; concatenate sy-uname '_' sy-datum '_' sy-uzeit into indxkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  import &amp;lt;internal table name&amp;gt;   = &amp;lt;internal table name&amp;gt;&lt;/P&gt;&lt;P&gt;         from database indx(st) id indxkey to  indx_wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note ; the definition for internal tables in both the programs should be exaclty the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Srinivas Manchikalapati on Nov 25, 2008 7:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852116#M1134722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852117#M1134723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just create two internal tables of same type in both programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in report1.&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;  export itab1 = itab1 to memory id 'MEMID'. (any string u can specify)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in report2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import itab1 = itab1 from memory id 'MEMID'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852117#M1134723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852118#M1134724</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;try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;              AND RETURN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt; write a method in your original program to return the internal table.&lt;/P&gt;&lt;P&gt; in your report 2 use Call method to call the method of report1 which returns your table list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:21:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852118#M1134724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852119#M1134725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SUBMIT ret1 using selection-screen ' '&lt;/P&gt;&lt;P&gt;with &amp;lt; &amp;gt; and return&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:23:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852119#M1134725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: calling a program in another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852120#M1134726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Export itab1 from report1 and import itab1 into report2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT it_outtab = lt_text TO DATABASE indx(xy) ID 'XYZ'.&lt;/P&gt;&lt;P&gt;IMPORT it_outtab = it_outtab1 FROM DATABASE indx(xy) ID 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note - no need to define it_outtab. and lt_text can be of any type. it_outtab1 should be of type  lt_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aparna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-program-in-another-program/m-p/4852120#M1134726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:29:26Z</dc:date>
    </item>
  </channel>
</rss>

