<?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: using external subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908760#M378514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not have the Changing addition to the subroutine?&lt;/P&gt;&lt;P&gt;as in:&lt;/P&gt;&lt;P&gt;perform add using num1 num2 changing sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2007 10:26:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-27T10:26:06Z</dc:date>
    <item>
      <title>using external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908758#M378512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my subroutine is written in one program.&lt;/P&gt;&lt;P&gt;I m using it in another program.&lt;/P&gt;&lt;P&gt;i checked with the breakpoint...&lt;/P&gt;&lt;P&gt;The control goes to the subroutine fetches the data in the structure but when the control returns to the main program the structure is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now wat should i do either write the routine in the same program or have to use import &amp;amp; export memory which is best based on performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 10:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908758#M378512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T10:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: using external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908759#M378513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you call the subroutine with PERFORM (.....) CHANGING &amp;lt;output-structure&amp;gt;? IF the structure is only used locally in the other program it will never get into the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 10:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908759#M378513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T10:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: using external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908760#M378514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not have the Changing addition to the subroutine?&lt;/P&gt;&lt;P&gt;as in:&lt;/P&gt;&lt;P&gt;perform add using num1 num2 changing sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 10:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908760#M378514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T10:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: using external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908761#M378515</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;let us also the location of the subroutine..i mean in differnt client no or in the same. If the subroutine is in the same client no..then you can use the Perform statement in the sapscript to call the extra functionality from the print program or in any location but with in the same system(client).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of external subroutine, i think you need to use the client-specified statement in the print program while selecting the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select f1&lt;/P&gt;&lt;P&gt;          f2&lt;/P&gt;&lt;P&gt;          f3&lt;/P&gt;&lt;P&gt;          from zzkna1&lt;/P&gt;&lt;P&gt;          into i_tab&lt;/P&gt;&lt;P&gt;          cleint-specified where mandt = &amp;lt;client no from where you are fetching the data&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shamim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 12:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-external-subroutine/m-p/1908761#M378515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T12:21:40Z</dc:date>
    </item>
  </channel>
</rss>

