<?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 what is the difference between using and changing? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261076#M1721823</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;I have a confusion in using and changing, both works same. &lt;/P&gt;&lt;P&gt;then&amp;nbsp; what is the difference in it .&lt;/P&gt;&lt;P&gt;please explain in simple way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif; color: #ff0000;"&gt;&amp;lt;Reward offer removed by moderator&amp;gt;&lt;/SPAN&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;Arif &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif; color: #ff0000;"&gt;Moderator message : Search for available information, discussion locked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 07:02:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-25T07:02:37Z</dc:date>
    <item>
      <title>what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261076#M1721823</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;I have a confusion in using and changing, both works same. &lt;/P&gt;&lt;P&gt;then&amp;nbsp; what is the difference in it .&lt;/P&gt;&lt;P&gt;please explain in simple way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif; color: #ff0000;"&gt;&amp;lt;Reward offer removed by moderator&amp;gt;&lt;/SPAN&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;Arif &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif; color: #ff0000;"&gt;Moderator message : Search for available information, discussion locked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261076#M1721823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T07:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261077#M1721824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very basic question......do some research before posting at SCN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using means -&amp;gt; call by reference.&lt;/P&gt;&lt;P&gt;changing means -&amp;gt; call by reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using value( ) means -&amp;gt; call by value...&lt;/P&gt;&lt;P&gt;changing value( ) means -&amp;gt; call by value and result..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261077#M1721824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T07:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261078#M1721825</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;I know call by reference and call by value,&lt;/P&gt;&lt;P&gt;But question is differece between using and changing.&lt;/P&gt;&lt;P&gt;at the time of perfom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform xyz using p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form using p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform xyz changing p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form changin p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both works same than what is difference in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261078#M1721825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T07:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261079#M1721826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;As written in the documentation (Press F1 or read &lt;A href="http://help.sap.com/abapdocu_731/en/abapperform_parameters.htm#!ABAP_ADDITION_3@3@"&gt;PERFORM - parameter_list&lt;/A&gt;) there is no difference between the two options, the CHANGING is only useful for maintenability of the program as it documents the interface - &lt;SPAN style="color: #333333; background: none repeat scroll 0% 0% white;"&gt;Read the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-19331"&gt;&lt;SPAN style="color: #3778c7; background-color: white;"&gt;Rules of Engagement&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #3778c7; background-color: white;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;before posting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Raymond&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261079#M1721826</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-02-25T07:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261080#M1721827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello mohd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is actually no difference between two options.......both are call by reference....... means same memory address......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261080#M1721827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T07:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261081#M1721828</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;Major difference can be seen when you are using the addition &lt;STRONG&gt;using value(a) or changing value(a).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;using value(a)--&amp;gt; &lt;/STRONG&gt;it will pass the values in actual parameter to formal parameter and if you chang the value of 'a' in subroutine the value of actual parameter remains same as before passing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Changing &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;value(a)--&amp;gt; &lt;/STRONG&gt;it will pass the values in actual parameter to formal parameter and if you change the value of a in subroutine the value of actual parameter changes as in formal parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261081#M1721828</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2013-02-25T07:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261082#M1721829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Taking your example as below, when we define a variable as using, we can only use this to do operations within the sub-routine but can't actually change the value of this using parameter (its not advisable). When we define a variable as changing, we can actually change the value of that parameter. So that is actually the difference. Hope this helps or let me know if you have any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform xyz using p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form using p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform xyz changing p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form changin p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261082#M1721829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T07:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261083#M1721830</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;There is a very basic difference between using and changing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we use using keyword with a subroutine then we can simply pass the value/reference to subroutine for processing but it will not reply back the changes done to the variable to the main program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we have used changing keyword with subroutine then we can get back the changed value of the variable from the subroutine to the main program means whatever value changes occurred in subroutine will be reflected in main program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;x &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;i &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;10&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;y &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;i &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;10&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;PERFORM &lt;/SPAN&gt;zsubusing1 &lt;SPAN class="L0S52"&gt;USING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;x &lt;/SPAN&gt;y &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/&lt;SPAN class="L0S33"&gt;' Value of X In Using = '&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;x&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;PERFORM &lt;/SPAN&gt;zsubchanging1 &lt;SPAN class="L0S52"&gt;USING &lt;/SPAN&gt;y &lt;SPAN class="L0S52"&gt;CHANGING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;x &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S33"&gt;' Value of X after Changing = '&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;x&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Form&amp;nbsp; ZSUBUSING1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*----------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;P_X&amp;nbsp; text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;P_Y&amp;nbsp; text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*----------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;FORM &lt;/SPAN&gt;ZSUBUSING1&amp;nbsp; &lt;SPAN class="L0S52"&gt;USING&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;P_X&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P_Y&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; p_y &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;p_x + p_y&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDFORM&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" ZSUBUSING1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Form&amp;nbsp; ZSUBCHANGING1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*----------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;P_Y&amp;nbsp; text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;--P_X&amp;nbsp; text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*----------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;FORM &lt;/SPAN&gt;ZSUBCHANGING1&amp;nbsp; &lt;SPAN class="L0S52"&gt;USING&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;P_Y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHANGING &lt;/SPAN&gt;P_X&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; p_x &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;p_x + p_y&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDFORM&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" ZSUBCHANGING1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 08:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261083#M1721830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T08:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between using and changing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261084#M1721831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pass by reference for USING parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For the formal parameters p1 p2 ..., no local data object is created in the subroutine. Instead, when it is called, a reference is passed to the specified actual parameter. A change to the formal parameter in the subroutine also changes the value of the actual parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pass by reference for CHANGING parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The formal parameters p1 p2 ... are handled exactly like those parameters defined for pass by reference using USING. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Pass by value for USING parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For each formal parameter p1 p2 ..., a local object with the same data type as the corresponding actual parameter is created in the subroutine and filled with its values. A change to the formal parameter in the subroutine does not change the value of the actual parameter. The actual parameter also retains its original value even after the subroutine has ended. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pass by value for CHANGING parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For each formal parameter p1 p2 ..., a local data object with the same data type as the corresponding actual parameter is created in the subroutine and filled with its values. A change to the formal parameter in the subroutine does not directly change the value of the actual parameter. If the subroutine is ended using &amp;lt;b&amp;gt;ENDFORM, RETURN, CHECK or EXIT&amp;lt;/b&amp;gt; however, the content of the formal parameter is assigned to the actual parameter. If the subroutine is ended by a message or an exception, the actual parameter remains unchanged. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Katrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 08:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-difference-between-using-and-changing/m-p/9261084#M1721831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T08:59:02Z</dc:date>
    </item>
  </channel>
</rss>

