<?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/2011279#M410503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i've sent 2 examples with screen shots to ur mail id.&lt;/P&gt;&lt;P&gt;check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2007 07:10:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-16T07:10:36Z</dc:date>
    <item>
      <title>function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011270#M410494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;friends&lt;/P&gt;&lt;P&gt;I want to learn function module in detail&lt;/P&gt;&lt;P&gt;can anyone send me some file ( sim file, pdf files or ppt files) to learn it from the scrathc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be awarded&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;troy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011270#M410494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011271#M410495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try learning from help.sap.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:37:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011271#M410495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011272#M410496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Troy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for SAP Help they give you the information in much details&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are few links that will help you.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exercise 1: Creating a Function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules are ABAP routines that are administered in a central function library. They apply across applications and are available throughout the system. You must assign function modules to a function pool that is called a function group. A function group is nothing but a container for the function modules. Now create a function group and then a function module, which you can use for the next exercise steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Function Group:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To open the Object Navigator choose from the SAP Menu Overview ® Object Navigator.&lt;/P&gt;&lt;P&gt;From the Object Selection window select Function group, enter FG_Tutorial as name of your function group, and choose Display.&lt;/P&gt;&lt;P&gt;Since the function group FG_Tutorial does not yet exist, the system asks you whether to create it. Confirm with Yes.&lt;/P&gt;&lt;P&gt;Enter a short description and choose Save.&lt;/P&gt;&lt;P&gt;In the window Create Object Catalog Entry choose Local object.&lt;/P&gt;&lt;P&gt;You created a local function group. Before it can receive function modules, you must activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the object list, use the right mouse button to select the function group FG_Tutorial you just created and choose Activate.&lt;/P&gt;&lt;P&gt;On the next screen choose Continue.&lt;/P&gt;&lt;P&gt;The function group is now active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Global Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the function group you can declare global data. All function modules of this function group share this global data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Object Selection window open the directory tree Includes and double-click on LFG_TutorialTOP.&lt;/P&gt;&lt;P&gt;Choose Create « Change ( STRG+F1 ) and enter the following data declarations in the tool area:&lt;/P&gt;&lt;P&gt;TABLES spfli.&lt;/P&gt;&lt;P&gt;DATA spfli_workarea LIKE spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check ( STRG&lt;EM&gt;F2 ) and activate ( STRG&lt;/EM&gt;F3 ) the include file.&lt;/P&gt;&lt;P&gt;Create a Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a function module that reads data from table SPFLI .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not yet in the Object Navigator, choose from the SAP Menu Overview à Object Navigator and display the function group FG_Tutorial .&lt;/P&gt;&lt;P&gt;In the Object selection window, use the right mouse button to select function group FG_Tutorial , and choose Create à Function module.&lt;/P&gt;&lt;P&gt;Enter as function module name XX_RFC_READ_SPFLI and replace XX with the initials of your name.&lt;/P&gt;&lt;P&gt;Enter a short description and choose Save.&lt;/P&gt;&lt;P&gt;The system lists the function module in the object list in a new directory Function modules, and displays it on the right side in the Function Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the Attributes tab and under Processing type choose Remote-enabled module.&lt;/P&gt;&lt;P&gt;Select the Import tab and enter in the appropriate columns the names of the import parameters: carrid with reference type like spfli-carrid and connid with reference type like spfli-connid . For each parameter set the Pass value flag.&lt;/P&gt;&lt;P&gt;Select the Export tab and enter in the appropriate columns the names of the export parameters: ex_spfli with reference type like spfli and sys with reference type like sy-sysid . For each parameter set the Pass value flag.&lt;/P&gt;&lt;P&gt;Select the Exceptions tab and enter the exception invalid_data .&lt;/P&gt;&lt;P&gt;Select the Source code tab.&lt;/P&gt;&lt;P&gt;The system copies the entries you made in the other tabs and creates a source text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complete the function module with the actual flight data retrieval.&lt;/P&gt;&lt;P&gt;Compare your function with the model solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the function module ( STRG+S ). When the note on remote-enabled function modules appears, choose Continue.&lt;/P&gt;&lt;P&gt;Check the function for errors ( STRG&lt;EM&gt;F2 ) and then activate it ( STRG&lt;/EM&gt;F3 ).&lt;/P&gt;&lt;P&gt;Test the Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Test/Execute ( F8 ) or Function module à Test à Test function module.&lt;/P&gt;&lt;P&gt;As import parameter for CARRID enter LH ; for CONNID enter 400 . Leave the RFC target system line empty.&lt;/P&gt;&lt;P&gt;Choose Execute ( F8 ).&lt;/P&gt;&lt;P&gt;The system displays the export parameters EX_SPFLI and SYS in an additional table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a detailed display of the data select the value in line EX_SPFLI.&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You created a function module and assigned it to a function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continue With&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exercise 2: Implementing a Local Function Call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helps Reward with points..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Rk..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rk Pasupuleti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011272#M410496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011273#M410497</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;Go through the following link from SAP HELP...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it helps u....&lt;/P&gt;&lt;P&gt;Kimi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011273#M410497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011274#M410498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want something with example , where i can learn more fast&lt;/P&gt;&lt;P&gt;troy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011274#M410498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011275#M410499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SEND ME UR MAIL ID I'LL SEND U SOME WORD FILES ON FMs&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;BHARAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011275#M410499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011276#M410500</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;Then u go through Documentation Examples while reading help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction   &amp;lt;b&amp;gt; ABAPDOCU&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may help u....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kimi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011276#M410500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011277#M410501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can get it from my profile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011277#M410501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011278#M410502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any more help i want ppt presentation if possible&lt;/P&gt;&lt;P&gt;rajforsap@gotalk.net.au&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011278#M410502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T06:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011279#M410503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i've sent 2 examples with screen shots to ur mail id.&lt;/P&gt;&lt;P&gt;check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 07:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011279#M410503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T07:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011280#M410504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2007 00:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2011280#M410504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-25T00:50:22Z</dc:date>
    </item>
  </channel>
</rss>

