<?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: subroutines in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716045#M894561</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;using Parameters shouldn't be changed in the Subrotuine they should be used to fetch data or do any operations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as Changing parameters can be changed in the subroutine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar to exporting parameters&lt;/P&gt;&lt;P&gt;and importing paramerers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 15:20:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T15:20:04Z</dc:date>
    <item>
      <title>subroutines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716044#M894560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in subroutines ....&lt;/P&gt;&lt;P&gt;when we use USING AND CHANGING ADDTIONS..&lt;/P&gt;&lt;P&gt;AND WAHT IS THE DIFFERENCE BETWEEN THEM.??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.. USING    p1 p2 p3 ... &lt;/P&gt;&lt;P&gt;2.. CHANGING p1 p2 p3 ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLS.. EXPLAIN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 15:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716044#M894560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T15:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: subroutines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716045#M894561</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;using Parameters shouldn't be changed in the Subrotuine they should be used to fetch data or do any operations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as Changing parameters can be changed in the subroutine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar to exporting parameters&lt;/P&gt;&lt;P&gt;and importing paramerers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 15:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716045#M894561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: subroutines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716046#M894562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There will be difference between using and changing on how we mention in form statement. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Form &amp;lt; subroutine name&amp;gt; Using var1 Changing var2. &lt;/P&gt;&lt;P&gt;Here there is no difference as both pass by reference. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Form &amp;lt; subroutine name&amp;gt; Using var1 Changing value (var2). &lt;/P&gt;&lt;P&gt;Here var1 is passed by reference, whereas var2 is passed by value and result.where var2 has its own copy of memory in subroutine, but while the subroutine ends this value overwrites the original value of the var2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also whenever you write a subroutine its better to give USING only for those parameters which u wont be changing in the subroutine  and CHANGING only for those parameters which u'll be definetly changing or updateing or returning the value to the called program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sampath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sampath pilla on Apr 29, 2008 8:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 15:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716046#M894562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T15:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: subroutines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716047#M894563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venugopal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u modify the parameter in subroutine which is passed to ur subroutine as using and Once u come out of the subroutine the variable value will be same as what u had before calling the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if u use changing ur variable will be changed to the new value when u come out of the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 15:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716047#M894563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T15:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: subroutines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716048#M894564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below link will help you understand subroutines with various additions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Saravanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 15:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716048#M894564</guid>
      <dc:creator>former_member254848</dc:creator>
      <dc:date>2008-04-29T15:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: subroutines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716049#M894565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venugopal,&lt;/P&gt;&lt;P&gt;     Using comes for table, folders, documents, fields&lt;/P&gt;&lt;P&gt;     changing comes for values in these.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraju Tankala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 15:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutines/m-p/3716049#M894565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T15:23:35Z</dc:date>
    </item>
  </channel>
</rss>

