<?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: Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031246#M716904</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;Check this Demo program in your System .&lt;/P&gt;&lt;P&gt;Hope this helps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_MOD_TECH_FB_STRING_SPLIT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2007 02:30:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-14T02:30:07Z</dc:date>
    <item>
      <title>Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031242#M716900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one explain me the purpose of using the following additions in a fm :&lt;/P&gt;&lt;P&gt;1.' Using and changing'&lt;/P&gt;&lt;P&gt;Ex : form get_data using mat1 changing mat2.&lt;/P&gt;&lt;P&gt;2.'Changing' &lt;/P&gt;&lt;P&gt;Ex. form get_data  changing material.&lt;/P&gt;&lt;P&gt;3.'Using' .&lt;/P&gt;&lt;P&gt;Ex: form get_data using material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain me in detail with good examples for each of the above.&lt;/P&gt;&lt;P&gt;I appeciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishwanath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 21:22:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031242#M716900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T21:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031243#M716901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.' Using and changing'&lt;/P&gt;&lt;P&gt;Ex : form get_data using mat1 changing mat2.&lt;/P&gt;&lt;P&gt;ANS: you are passing mat1 value to subroutine, subroutine will do some process with mat1 value and pass the changed value to mat2, so changed mat2 value will comes out from routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.'Changing' &lt;/P&gt;&lt;P&gt;Ex. form get_data changing material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANS: subroutine get_data will do some process and changes the material value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.'Using' .&lt;/P&gt;&lt;P&gt;Ex: form get_data using material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANS: Here you are passing the material to do some process in subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got my point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 21:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031243#M716901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T21:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031244#M716902</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;Within the subroutine you can modify the formal parameters irrespective of whether they are USING or CHANGING parameters. This is nothing else but messy coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP keyword documentation gives a good example of how to use USING and CHANGING parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following five PERFORM statements mean the same but only the fourth is recommended, since it is the only one that documents the interface of the subroutine called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: a1 TYPE string, 
      a2 TYPE string, 
      a3 TYPE string, 
      a4 TYPE string. 
 
PERFORM test USING a1 a2 a3 a4. 
PERFORM test CHANGING a1 a2 a3 a4. 
PERFORM test USING a1 CHANGING a2 a3 a4. 
PERFORM test USING a1 a2 CHANGING a3 a4. 
PERFORM test USING a1 a2 a3 CHANGING a4. 
 
... 
 
FORM test USING p1 TYPE string 
                p2 TYPE string 
          CHANGING value(p3) TYPE string 
                   value(p4) TYPE string. 
  ... 
ENDFORM. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 21:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031244#M716902</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-11-13T21:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031245#M716903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain with simple and complete example so that I can copy and debug the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 21:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031245#M716903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T21:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031246#M716904</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;Check this Demo program in your System .&lt;/P&gt;&lt;P&gt;Hope this helps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_MOD_TECH_FB_STRING_SPLIT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 02:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3031246#M716904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T02:30:07Z</dc:date>
    </item>
  </channel>
</rss>

