<?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: diffrence b/w USING AND CHANGING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157971#M119508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prashanth,&lt;/P&gt;&lt;P&gt;              the use of USING &amp;amp; CHANGING depend on the program's requirement.e.g when there is a need for passing two parameters &amp;amp; calculating or manipulating some other , then u go for USING . whereas sometimes u require to change a parameter based on some other condition then u have to go for CHANGING . Both can be passed by value &amp;amp; by reference depending upon the scope of the logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2006 10:42:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-27T10:42:20Z</dc:date>
    <item>
      <title>diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157957#M119494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one tell me diffrence between USING and CHNAGING.&lt;/P&gt;&lt;P&gt;whether USING a (or) CHANGING a are equevalent?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157957#M119494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157958#M119495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am  not asking  the result. i want to know the way they are processing. i.e. by reference or by value and return?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157958#M119495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157959#M119496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USING is that you are using a parameter but not trying to changfe the value.&lt;/P&gt;&lt;P&gt;CHANGING is that the parameter value can be changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157959#M119496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157960#M119497</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;they are not same.&lt;/P&gt;&lt;P&gt;suppose take...&lt;/P&gt;&lt;P&gt;using a&lt;/P&gt;&lt;P&gt;you cannot modify a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;changing a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can modify the value of a. inside the perform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157960#M119497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157961#M119498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can pass both USING and CHANGING parameter as either pass by value or by reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it depends on how you should use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use USING if you dont want to read the values not to change them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157961#M119498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157962#M119499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USING p_name1&lt;/P&gt;&lt;P&gt;   values are initial,after changing value will not be affected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHANGING p_name2&lt;/P&gt;&lt;P&gt;   values may or may not be initial,after changing the value gets affected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157962#M119499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157963#M119500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Good Question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Theoretically, their&lt;/P&gt;&lt;P&gt;   PURPOSE is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. BUT&lt;/P&gt;&lt;P&gt;   We can even use them INTER-CHANGE ABLY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Changing is meant for changing purpose.&lt;/P&gt;&lt;P&gt;5. But even in USING u can change the values !&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157963#M119500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157964#M119501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USING and CHANGING..works almost the same ..as call by refernce..except that in using..&lt;/P&gt;&lt;P&gt;1. you can pass the value by VALUE() addition to keep the original value unchanged.&lt;/P&gt;&lt;P&gt;2. in CHANGING if you pass it as VALUE() ..the value remains unchanged until it encounters an endform statement.. but gets changed when the value is returned..&lt;/P&gt;&lt;P&gt;which we call as &amp;lt;b&amp;gt;pass by value and result&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157964#M119501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157965#M119502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI prashant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using and Changing has the same effect when it is passed by reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During call by value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USING pass the value of the variable. it will act as a local variable in the form. the change will not affect the passed value outside the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing will change the value in both the methods but the change will not occur untill endform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Harikishore Sreenivasulu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Harikishore Sreenivasulu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 06:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157965#M119502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T06:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157966#M119503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;thanks for u r answers,but still i had one doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;changing value(a) and changing a  are effected same way.&lt;/P&gt;&lt;P&gt;then which one to use when. explain according to memory issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 07:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157966#M119503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T07:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157967#M119504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use changing value(a) when you want to pass by value. And the value is reflected on ENDFORM.  Use Changing a when you want to call across programs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 07:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157967#M119504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157968#M119505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi PRSHANTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you dint look at my eaerlier reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie..&lt;/P&gt;&lt;P&gt;if you pass a value as CHANGING VALUE()..&lt;/P&gt;&lt;P&gt;the change is not reflected within the FORM ..ENDFORM for the actual parameter.. ie in case you call another PERFORM like follows..&lt;/P&gt;&lt;P&gt;b=5.&lt;/P&gt;&lt;P&gt;PERFORM a CHANGING B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM a CHANGING VALUE(B)&lt;/P&gt;&lt;P&gt;b=10.&lt;/P&gt;&lt;P&gt;PERFORM C.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM c.&lt;/P&gt;&lt;P&gt;write : /b.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;now&lt;/P&gt;&lt;P&gt;in the form c.&lt;/P&gt;&lt;P&gt;the value of b is still unchanged since the endform of FORM a is still encountered..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 07:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157968#M119505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T07:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157969#M119506</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;regarding how it shares memory refer this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 07:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157969#M119506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T07:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157970#M119507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see there r 3 types of psaaing rt&lt;/P&gt;&lt;P&gt;1.pass by value&lt;/P&gt;&lt;P&gt;2. pass by reference&lt;/P&gt;&lt;P&gt;3. pass by value and return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.using value(a)----&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;this is pass by value&lt;/P&gt;&lt;P&gt;2.using (a) or changeing (a) -&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;this is pass by reference&lt;/P&gt;&lt;P&gt;3. changing value(a) -&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;this is pass by value and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass by value and return -&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; this is pass by reference only if u dont exit from the subrotune expicitly. means if inside the form, there is exit statement or any other statement which forcibly returns from the control from the form with out reaching the end of the form, then it acts as pass by value else it acts as pass by refernce.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 07:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157970#M119507</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-01-27T07:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: diffrence b/w USING AND CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157971#M119508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prashanth,&lt;/P&gt;&lt;P&gt;              the use of USING &amp;amp; CHANGING depend on the program's requirement.e.g when there is a need for passing two parameters &amp;amp; calculating or manipulating some other , then u go for USING . whereas sometimes u require to change a parameter based on some other condition then u have to go for CHANGING . Both can be passed by value &amp;amp; by reference depending upon the scope of the logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 10:42:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diffrence-b-w-using-and-changing/m-p/1157971#M119508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T10:42:20Z</dc:date>
    </item>
  </channel>
</rss>

