<?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: form in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/form/m-p/2330654#M512845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You list these parameters after USING or CHANGING without the VALUE addition: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;subr&amp;gt; USING    ... &amp;lt;pi&amp;gt; [TYPE &amp;lt;t&amp;gt;|LIKE &amp;lt;f&amp;gt;] ... &lt;/P&gt;&lt;P&gt;            CHANGING ... &amp;lt;pi&amp;gt; [TYPE &amp;lt;t&amp;gt;|LIKE &amp;lt;f&amp;gt;] ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formal parameter occupies no memory of its own. During a subroutine call, only the address of the actual parameter is transferred to the formal parameter. The subroutine works with the field from the calling program. If the value of the formal parameter changes, the contents of the actual parameter in the calling program also change. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For calling by reference, USING and CHANGING are equivalent. For documentation purposes, you should use USING for input parameters which are not changed in the subroutine, and CHANGING for output parameters which are changed in the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid the value of an actual parameter being changed automatically, you must pass it by value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_sm32/helpdata/en/9f/db979035c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_sm32/helpdata/en/9f/db979035c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm&lt;/A&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 12:44:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-18T12:44:16Z</dc:date>
    <item>
      <title>form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form/m-p/2330653#M512844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;till now i was using form(or subroutine)&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form.&lt;/P&gt;&lt;P&gt;the code&lt;/P&gt;&lt;P&gt;....&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;but i got a assignment  in which &lt;/P&gt;&lt;P&gt;CALLING is done  &lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;tables    i_mess.&lt;/P&gt;&lt;P&gt;changing    fields-pernr&lt;/P&gt;&lt;P&gt;                 fields-workdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DECLARATION&lt;/P&gt;&lt;P&gt; Tables it_mess structure name&lt;/P&gt;&lt;P&gt;Changing p_pernnr type name-pernr&lt;/P&gt;&lt;P&gt;              p_wdate type name-workdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me and explan me what is happenning  in this and why one use the type of subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks regrads&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 12:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form/m-p/2330653#M512844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T12:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form/m-p/2330654#M512845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You list these parameters after USING or CHANGING without the VALUE addition: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;subr&amp;gt; USING    ... &amp;lt;pi&amp;gt; [TYPE &amp;lt;t&amp;gt;|LIKE &amp;lt;f&amp;gt;] ... &lt;/P&gt;&lt;P&gt;            CHANGING ... &amp;lt;pi&amp;gt; [TYPE &amp;lt;t&amp;gt;|LIKE &amp;lt;f&amp;gt;] ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formal parameter occupies no memory of its own. During a subroutine call, only the address of the actual parameter is transferred to the formal parameter. The subroutine works with the field from the calling program. If the value of the formal parameter changes, the contents of the actual parameter in the calling program also change. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For calling by reference, USING and CHANGING are equivalent. For documentation purposes, you should use USING for input parameters which are not changed in the subroutine, and CHANGING for output parameters which are changed in the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid the value of an actual parameter being changed automatically, you must pass it by value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_sm32/helpdata/en/9f/db979035c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_sm32/helpdata/en/9f/db979035c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm&lt;/A&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 12:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form/m-p/2330654#M512845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T12:44:16Z</dc:date>
    </item>
  </channel>
</rss>

