<?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: pass by value vs pass by reference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402418#M816979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Pass by reference:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A way of passing data from actual parameters to formal parameters. When you pass by reference, no local data object is specified for the actual parameter, but the procedure receives a reference to the actual parameter during call and works with the actual parameter itself. 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;STRONG&gt;Pass by value:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;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;Check this thread for sample program to understand better&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="428847"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2008 00:36:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-14T00:36:23Z</dc:date>
    <item>
      <title>pass by value vs pass by reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402415#M816976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what difference makes if I pass the parameter by value vs pass by reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- deepan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepan Gunalan on Feb 13, 2008 10:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 21:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402415#M816976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-13T21:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: pass by value vs pass by reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402416#M816977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actual parameters can be any data objects or field symbols of the calling program whose technical attributes are compatible with the type specified for the corresponding formal parameter. When you specify the actual parameters, note that those you pass by reference to a formal parameter and those you pass by value to an output parameter can be changed by the subroutine. You should therefore ensure that only data objects that you want to be changed appear in the corresponding position of the actual parameter list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ref:http://help.sap.com/saphelp_nw70/helpdata/en/9f/db979d35c111d1829f0000e829fbfe/content.htm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 22:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402416#M816977</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-02-13T22:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: pass by value vs pass by reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402417#M816978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db979d35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/db979d35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db975c35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db975c35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 00:23:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402417#M816978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T00:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: pass by value vs pass by reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402418#M816979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Pass by reference:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A way of passing data from actual parameters to formal parameters. When you pass by reference, no local data object is specified for the actual parameter, but the procedure receives a reference to the actual parameter during call and works with the actual parameter itself. 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;STRONG&gt;Pass by value:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;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;Check this thread for sample program to understand better&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="428847"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 00:36:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-by-value-vs-pass-by-reference/m-p/3402418#M816979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T00:36:23Z</dc:date>
    </item>
  </channel>
</rss>

