<?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: Help in Creation of a Function Module. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-creation-of-a-function-module/m-p/3729600#M897666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the below steps to create a function module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Goto Transaction code : SE37.&lt;/P&gt;&lt;P&gt;2. Create a Function Group first.&lt;/P&gt;&lt;P&gt;   a) From the Menu Bar Choose Goto -&amp;gt; Function groups -&amp;gt;  Create group.&lt;/P&gt;&lt;P&gt;   b) Specify the function group name and a short text. &lt;/P&gt;&lt;P&gt;   c) Choose Save. &lt;/P&gt;&lt;P&gt;When you create a new function group, the system automatically creates a main program containing two includes. Like any other programs and includes, you can display them in the Repository Browser.&lt;/P&gt;&lt;P&gt;3. Now create a Function Module.&lt;/P&gt;&lt;P&gt;4. Enter the function's name in the field Function module.&lt;/P&gt;&lt;P&gt;5. Choose Create.&lt;/P&gt;&lt;P&gt;6. In the Enter function group dialog box, enter the function group to which you want to assign the function module.&lt;/P&gt;&lt;P&gt;7. In The Attributes Tab select Remote Enabled Module (since you want a RFC function module ).&lt;/P&gt;&lt;P&gt;8. Give the Import and Export parameters and exceptions(if any).&lt;/P&gt;&lt;P&gt;9. Write the functioning part of the fuction module in the Source code tab.&lt;/P&gt;&lt;P&gt;10. Save and Activate your function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go ahead and use your function module where ever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hemant Khemani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 May 2008 07:02:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-04T07:02:11Z</dc:date>
    <item>
      <title>Help in Creation of a Function Module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-creation-of-a-function-module/m-p/3729598#M897664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                I am new to ABAP and hardly have knowledge abt it. I need to create a Function Module which is of the type RFC. Pls provide me information and steps to create the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2008 06:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-creation-of-a-function-module/m-p/3729598#M897664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-04T06:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Creation of a Function Module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-creation-of-a-function-module/m-p/3729599#M897665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        For the creation of  Function Module , pls follow the below steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create function module by using transaction code se37, but before that you need to create a function group. se37&amp;gt;goto&amp;gt;function group&amp;gt;create and activate. Then create the fucnction module. give import parameters (passed from program) and export parameters (passed from FM to Program).&lt;/P&gt;&lt;P&gt;You can pass values by using tables also. Write your code in FM. Thats it.... Your FM is ready. Just call it from your program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the below links.. also .. provides a lot of info..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ABAP/FunctionModule/page1.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ABAP/FunctionModule/page1.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/22/0425f2488911d189490000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/22/0425f2488911d189490000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pls reward if useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sirisha,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2008 06:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-creation-of-a-function-module/m-p/3729599#M897665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-04T06:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Creation of a Function Module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-creation-of-a-function-module/m-p/3729600#M897666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the below steps to create a function module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Goto Transaction code : SE37.&lt;/P&gt;&lt;P&gt;2. Create a Function Group first.&lt;/P&gt;&lt;P&gt;   a) From the Menu Bar Choose Goto -&amp;gt; Function groups -&amp;gt;  Create group.&lt;/P&gt;&lt;P&gt;   b) Specify the function group name and a short text. &lt;/P&gt;&lt;P&gt;   c) Choose Save. &lt;/P&gt;&lt;P&gt;When you create a new function group, the system automatically creates a main program containing two includes. Like any other programs and includes, you can display them in the Repository Browser.&lt;/P&gt;&lt;P&gt;3. Now create a Function Module.&lt;/P&gt;&lt;P&gt;4. Enter the function's name in the field Function module.&lt;/P&gt;&lt;P&gt;5. Choose Create.&lt;/P&gt;&lt;P&gt;6. In the Enter function group dialog box, enter the function group to which you want to assign the function module.&lt;/P&gt;&lt;P&gt;7. In The Attributes Tab select Remote Enabled Module (since you want a RFC function module ).&lt;/P&gt;&lt;P&gt;8. Give the Import and Export parameters and exceptions(if any).&lt;/P&gt;&lt;P&gt;9. Write the functioning part of the fuction module in the Source code tab.&lt;/P&gt;&lt;P&gt;10. Save and Activate your function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go ahead and use your function module where ever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hemant Khemani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2008 07:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-creation-of-a-function-module/m-p/3729600#M897666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-04T07:02:11Z</dc:date>
    </item>
  </channel>
</rss>

