<?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: Using n Changing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166461#M458822</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;&amp;lt;u&amp;gt;pls chk this simple example.&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : c1 TYPE i, c2 TYPE i, res TYPE i.&lt;/P&gt;&lt;P&gt;c1 = 1.&lt;/P&gt;&lt;P&gt;c2 = 2.&lt;/P&gt;&lt;P&gt;data: subroutinename(3) VALUE 'SUM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM (subroutinename) IN PROGRAM Y_JJTEST1USING c1 c2 CHANGING res.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WRITE:/ res.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Form sum&lt;/P&gt;&lt;P&gt;*&amp;amp;----&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;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;form sum using p_c1 p_c2 changing value(p_res).&lt;/P&gt;&lt;P&gt;p_res = p_c1 + p_c2.&lt;/P&gt;&lt;P&gt;endform. " sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This link will clear all your Doubts reagrding Perform Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 06:19:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T06:19:00Z</dc:date>
    <item>
      <title>Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166454#M458815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any body tell me why do we use 'using'  and 'changing'.&lt;/P&gt;&lt;P&gt;what is the use of them.&lt;/P&gt;&lt;P&gt;for Eg in the code below : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM help_input_file  USING    p_phys_file   TYPE c&lt;/P&gt;&lt;P&gt;                               p_locl_file   TYPE c&lt;/P&gt;&lt;P&gt;                      CHANGING p_source_path TYPE any.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166454#M458815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166455#M458816</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;USING is used to pass the value to the "help_input_file " FORM . If you dont pass the P_PHYS_FILE then the value wont be available in HELP_INPUT_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHANGING - to change the value as per the calculations and return the value to the calling program. HELP_INPUT_FILE will caculate the SOURCE PATH and pass the same to p_source_path. This value would be available/accessible to the calling method  PERFORM HELP_INPUT_FILE USING P_FILE&lt;/P&gt;&lt;P&gt;                                                                 CHANING P_PATH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166455#M458816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166456#M458817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we pass parameters to the forms through using&lt;/P&gt;&lt;P&gt;and changing is used if v want to have the changes in form to reflect outside the form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166456#M458817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166457#M458818</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;... USING [VALUE(p1)|p1] ... [VALUE(pn)|pn] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Defines formal parameters p1,...pn, which are replaced by actual parameters when the subroutine is called. &lt;/P&gt;&lt;P&gt;You can assign a type to the formal parameters p1, ..., pn (see specifying types). You can also specify the method with which they are passed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Passing methods: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USING ... p ... &lt;/P&gt;&lt;P&gt;The parameters are passed by reference. The field passed can be changed within the subroutine. The changes are kept beyond the subroutine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USING ... VALUE(p) ... &lt;/P&gt;&lt;P&gt;The VALUE(...) addition passes the parameter by copying the field contents to a corresponding local field. VALUE parameters behave in the same way as local fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... CHANGING [VALUE(p1) |(p1)] ... [VALUE(pn) |(pn)] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The parameters after CHANGING can accept the same specifications as those after USING. &lt;/P&gt;&lt;P&gt;To link the VALUE specification with the change of a parameter value, you can use the addition CHANGING ... . Then, all the formal parameters specified by VALUE(...) are transported back to the actual parameters at the end of the subroutine (i.e. after ENDFORM). If the subroutine is terminated by a dialog message, none of the parameters referenced by CHANGING VALUE ... changes. &lt;/P&gt;&lt;P&gt;Otherwise, the effect of USING and CHANGING is identical. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&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;U. Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166457#M458818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166458#M458819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters written after USING are Inputs , and CHANGING are outputs . Just for semantic purpose , though you can change parameters which are written after USING also. ... Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166458#M458819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166459#M458820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we are writing &amp;lt;b&amp;gt;using&amp;lt;/b&amp;gt; it means we r passing tht value to the perform n by writing &amp;lt;b&amp;gt;changing&amp;lt;/b&amp;gt; we mean tht we are passing tht vaue to the perform statement and changing tht value as per some manupulations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful or if it solves ur query.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chinmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166459#M458820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166460#M458821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use using for those parameters which we only use inside the subroutine.&lt;/P&gt;&lt;P&gt;we use changing for that parameters whose value will be modified in the subroutine.&lt;/P&gt;&lt;P&gt;In your case,&lt;/P&gt;&lt;P&gt;it carries out the information that, By using the p_phys and p_locl you are going to change p_source_path. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps,&lt;/P&gt;&lt;P&gt;If  the value of the radiobutton  p_phys = 'X' , then p_source_path will have a application server path and if p_locl = 'X', then p_source_path will have a presentation server path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166460#M458821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166461#M458822</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;&amp;lt;u&amp;gt;pls chk this simple example.&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : c1 TYPE i, c2 TYPE i, res TYPE i.&lt;/P&gt;&lt;P&gt;c1 = 1.&lt;/P&gt;&lt;P&gt;c2 = 2.&lt;/P&gt;&lt;P&gt;data: subroutinename(3) VALUE 'SUM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM (subroutinename) IN PROGRAM Y_JJTEST1USING c1 c2 CHANGING res.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WRITE:/ res.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Form sum&lt;/P&gt;&lt;P&gt;*&amp;amp;----&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;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;form sum using p_c1 p_c2 changing value(p_res).&lt;/P&gt;&lt;P&gt;p_res = p_c1 + p_c2.&lt;/P&gt;&lt;P&gt;endform. " sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This link will clear all your Doubts reagrding Perform Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166461#M458822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using n Changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166462#M458823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravinder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Form modules we need pass the parameter .for this we use "using".&lt;/P&gt;&lt;P&gt;after  processing the form it can be return some data,for that we use "changing"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-n-changing/m-p/2166462#M458823</guid>
      <dc:creator>former_member189631</dc:creator>
      <dc:date>2007-04-30T06:24:30Z</dc:date>
    </item>
  </channel>
</rss>

