<?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 Using and changing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615663#M870997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sir, &lt;/P&gt;&lt;P&gt;what is the diff b/w using and changing keywords for passing the perameters to subroutine and form&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2008 09:26:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-20T09:26:56Z</dc:date>
    <item>
      <title>Using and changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615663#M870997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sir, &lt;/P&gt;&lt;P&gt;what is the diff b/w using and changing keywords for passing the perameters to subroutine and form&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 09:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615663#M870997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T09:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using and changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615664#M870998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you giving any interview ? &lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;We are getting interviewed ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 09:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615664#M870998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using and changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615665#M870999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to pass the variable as read only then use USING clause and if you want the variable to be read/ write one then you can use Changing clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no rewarding plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 09:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615665#M870999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T09:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using and changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615666#M871000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using and Changing in form Routines in simple are input and output parameters  to the routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we input the parameters to the routine using Keyword 'USING'.&lt;/P&gt;&lt;P&gt;we catch the otput from the routine using keyword 'CHANGING'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg to fetch customer material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   PERFORM GET_CUST_MATERIAL IN PROGRAM ZSROINVOICE &lt;/P&gt;&lt;P&gt;/:      USING &amp;amp;VBDKR-VBELN_VAUF&amp;amp;                      &lt;/P&gt;&lt;P&gt;/:      USING &amp;amp;VBDPR-POSNR&amp;amp;                           &lt;/P&gt;&lt;P&gt;/:      CHANGING &amp;amp;CUSTMAT&amp;amp;                            &lt;/P&gt;&lt;P&gt;/:      CHANGING &amp;amp;CUSTMAKT&amp;amp;                           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can code the data in the program ZSROINVOICE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Babul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 09:37:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615666#M871000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T09:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using and changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615667#M871001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;   By default if you pass a varaible as Using , you cannot change the value of it in the subroutine  but in case of chianging it can be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can pass the value of using paramater by pass by value , it allows you to change the value in the subroutine but once you are out of the subroutine the changed value is lost and the original value is retained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in case you want to change value of a parameter you are passing to a subroutine use changing and if you just want to use its value then use using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a code which might help you understand it better&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT .&lt;/P&gt;&lt;P&gt;data  : one type  i ,&lt;/P&gt;&lt;P&gt;        two type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        one = 1.&lt;/P&gt;&lt;P&gt;        two = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform chnage_value using one&lt;/P&gt;&lt;P&gt;                     changing two.&lt;/P&gt;&lt;P&gt;write /: one , two.&lt;/P&gt;&lt;P&gt;&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  chnage_value&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_ONE  text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &amp;lt;--P_TWO  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 chnage_value using value(p_one)&lt;/P&gt;&lt;P&gt;                  changing p_two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_one = p_one + 1.&lt;/P&gt;&lt;P&gt;p_two = p_two + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " chnage_value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 09:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-and-changing/m-p/3615667#M871001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T09:40:58Z</dc:date>
    </item>
  </channel>
</rss>

