<?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: Need for creating Function Module any example in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568266#M256602</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;1. Goto SE37.&lt;/P&gt;&lt;P&gt;2. Follow the path&lt;/P&gt;&lt;P&gt;Goto --&amp;gt; Function Group --&amp;gt; Create Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Then enter a function name Z***** and click create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following link gives you more information about the functions and groups and others:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cma.zdnet.com/book/abap/ch19/ch19.htm" target="test_blank"&gt;http://cma.zdnet.com/book/abap/ch19/ch19.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for ENHANCEMENT kind of a thing then follow the following path:&lt;/P&gt;&lt;P&gt;1. Log onto R/3&lt;/P&gt;&lt;P&gt;2. TCODE: SMOD&lt;/P&gt;&lt;P&gt;3. Enhancement RSAP0001.&lt;/P&gt;&lt;P&gt;4. Double click on the one you are looking for i.e. Transaction / Master Data.&lt;/P&gt;&lt;P&gt;5. In the Function Module Double click on the INCLUDE.&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;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2006 10:23:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-08T10:23:05Z</dc:date>
    <item>
      <title>Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568263#M256599</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;     Can any body please say why we need to create Function Modules in real time, Please say me any  situation where we need to create Function Modules&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                            Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 10:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568263#M256599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T10:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568264#M256600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically the need to create Function module arises when you wish to write a code to do a functionality which can be reused in other programs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wish to read data from a customer control table you can create a function module for the same to read the table and do the necessary processing depending on the input parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 10:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568264#M256600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T10:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568265#M256601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ranjith,&lt;/P&gt;&lt;P&gt;  If there exists no Function Moudle which meets your requirement you put your logic in to that and create .. sometimes few report programs needs to be converted to FM based on the requirement ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 10:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568265#M256601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T10:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568266#M256602</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;1. Goto SE37.&lt;/P&gt;&lt;P&gt;2. Follow the path&lt;/P&gt;&lt;P&gt;Goto --&amp;gt; Function Group --&amp;gt; Create Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Then enter a function name Z***** and click create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following link gives you more information about the functions and groups and others:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cma.zdnet.com/book/abap/ch19/ch19.htm" target="test_blank"&gt;http://cma.zdnet.com/book/abap/ch19/ch19.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for ENHANCEMENT kind of a thing then follow the following path:&lt;/P&gt;&lt;P&gt;1. Log onto R/3&lt;/P&gt;&lt;P&gt;2. TCODE: SMOD&lt;/P&gt;&lt;P&gt;3. Enhancement RSAP0001.&lt;/P&gt;&lt;P&gt;4. Double click on the one you are looking for i.e. Transaction / Master Data.&lt;/P&gt;&lt;P&gt;5. In the Function Module Double click on the INCLUDE.&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;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 10:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568266#M256602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T10:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568267#M256603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Function modules are blocks of code that can be reused in other programs.&lt;/P&gt;&lt;P&gt;When you know that a for a specific set of inputs, you will have to follow the same procedure to get you a diferent output, and this procedure is very generic in nature, then you can go for writing a function module.&lt;/P&gt;&lt;P&gt;eg: a function module to send mails.&lt;/P&gt;&lt;P&gt;a function module to create sales orders etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If there is a certain part of the code which has to be triggered in an update task, or an external system wants to communicate with the r/3 system, you will have to create RFCs which are also one type of function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 10:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568267#M256603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T10:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568268#M256604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anurag &lt;/P&gt;&lt;P&gt;          Thanks for your reply Can you please tell me what is customer Control Table, and explain it more briefly &lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;                                             Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 14:36:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568268#M256604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568269#M256605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not confuse it with customer master..We have written a function module to read a control table created by us eg ZLL_GEN_CTRL, where we define certain parameters and corresponding arguments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZLL_GEN_CTRL.&lt;/P&gt;&lt;P&gt;Ctrl        Argument.&lt;/P&gt;&lt;P&gt;EMAILTO_MPC XYZ@test.com&lt;/P&gt;&lt;P&gt;EMAILCC_MPC ABC@test.com,DEF@test.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use the same in many programs so to make it standard and easy to fetch the data...we have created a fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'Get_control_data'&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;P&gt;   ctrl = 'EMAILCC_MPC'&lt;/P&gt;&lt;P&gt;   delimeter = ','&lt;/P&gt;&lt;P&gt; importing&lt;/P&gt;&lt;P&gt;   arg = larg&lt;/P&gt;&lt;P&gt; tables&lt;/P&gt;&lt;P&gt;   dtab = itab.&lt;/P&gt;&lt;P&gt;In the function module we return the result of the select statement and in dtab we split the argument on the delimeter and update the internal table with the data as individual row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anurag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above is clear and please assign points for helpful answers !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 14:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568269#M256605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T14:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need for creating Function Module any example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568270#M256606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anurag,&lt;/P&gt;&lt;P&gt;         Thank you very much for your good answer, please be in touch mail me my id is vrkranjit@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                             Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Sep 2006 15:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-for-creating-function-module-any-example/m-p/1568270#M256606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-09T15:08:42Z</dc:date>
    </item>
  </channel>
</rss>

