<?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 pass in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551451#M581037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the exact difference between pass by value and pass by reference particularly regaring subroutines,methods,function modules what will we do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 07:19:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-17T07:19:53Z</dc:date>
    <item>
      <title>pass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551451#M581037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the exact difference between pass by value and pass by reference particularly regaring subroutines,methods,function modules what will we do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551451#M581037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T07:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: pass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551452#M581038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;For pass-by-value u will directly pass the value and for Pass-by-reference u need to pass a reference variable for that particular variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551452#M581038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T07:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: pass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551453#M581039</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 Pass-By-Value : Values of actual parameters will be passed to formal parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass-By-Reference : Copy of values of actual parameters will be passed to formal parameters.&lt;/P&gt;&lt;P&gt;&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;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551453#M581039</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-07-17T07:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: pass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551454#M581040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you pass the parameters (formal paramters) by value, whatever the changes done to them inside the method or subroutine will not reflect back. but if you pass by reference the changes done inside method or subroutine will reflect back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  z_grs_pass_by_value                     .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i1 TYPE i, i2 TYPE i, i3 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i1 = 10.&lt;/P&gt;&lt;P&gt;i2 = 20.&lt;/P&gt;&lt;P&gt;i3 = 30.&lt;/P&gt;&lt;P&gt;WRITE: / 'Before calling Subrouting'.&lt;/P&gt;&lt;P&gt;WRITE: / i1, i2, i3.&lt;/P&gt;&lt;P&gt;PERFORM pass USING i1 i2 CHANGING i3.&lt;/P&gt;&lt;P&gt;WRITE: / 'After calling Subrouting'.&lt;/P&gt;&lt;P&gt;WRITE: / i1, i2, i3.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  pass&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_I1  text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_I2  text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM pass  USING    p_i1&lt;/P&gt;&lt;P&gt;                   value(p_i2)&lt;/P&gt;&lt;P&gt;                   p_i3.&lt;/P&gt;&lt;P&gt;  p_i1 = 11.&lt;/P&gt;&lt;P&gt;  p_i2 = 12.&lt;/P&gt;&lt;P&gt;  p_i3 = 13.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Inside Subrouting'.&lt;/P&gt;&lt;P&gt;  WRITE: / p_i1, p_i2, p_i3.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling Subrouting&lt;/P&gt;&lt;P&gt;        10          20          30&lt;/P&gt;&lt;P&gt;Inside Subrouting&lt;/P&gt;&lt;P&gt;        11          12          13&lt;/P&gt;&lt;P&gt;After calling Subrouting&lt;/P&gt;&lt;P&gt;        11          20          13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        raghav sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass/m-p/2551454#M581040</guid>
      <dc:creator>graghavendra_sharma</dc:creator>
      <dc:date>2007-07-17T07:23:28Z</dc:date>
    </item>
  </channel>
</rss>

