<?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 creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293986#M788245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creating FM : se37 &lt;DEL&gt;&amp;gt; goto&lt;/DEL&gt;&amp;gt;create fun group&lt;DEL&gt;&amp;gt;Function module name&lt;/DEL&gt;&amp;gt; create import parameters to you req &lt;DEL&gt;&amp;gt; in tables tab ztable (like).&lt;/DEL&gt;&amp;gt;source code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make the fm as remote-enabled module : attributes tab --&amp;gt; click on remote-enabled radio button --&amp;gt; start immed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 06:25:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-04T06:25:59Z</dc:date>
    <item>
      <title>function module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293985#M788244</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;I'm trying to create a function module in SE37.&lt;/P&gt;&lt;P&gt;In the import parameters i'm getting error under "typing".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters    typing     associated type   short description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_lifnr            like         bsik-lifnr               vendor num&lt;/P&gt;&lt;P&gt;p_bukrs         like         bsik-bukrs            company code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls tell me why im getting the error..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also kindly explain  me the step by step procedure to&lt;/P&gt;&lt;P&gt;create a function module that retrives the data from two fields:&lt;/P&gt;&lt;P&gt;lifnr &amp;amp; bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;mahathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293985#M788244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: function module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293986#M788245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creating FM : se37 &lt;DEL&gt;&amp;gt; goto&lt;/DEL&gt;&amp;gt;create fun group&lt;DEL&gt;&amp;gt;Function module name&lt;/DEL&gt;&amp;gt; create import parameters to you req &lt;DEL&gt;&amp;gt; in tables tab ztable (like).&lt;/DEL&gt;&amp;gt;source code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make the fm as remote-enabled module : attributes tab --&amp;gt; click on remote-enabled radio button --&amp;gt; start immed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293986#M788245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: function module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293987#M788246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use TYPE instead of LIKE in typing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Module Creation:&lt;/P&gt;&lt;P&gt;First Go to transaction code SE 37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create. Function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto --&amp;gt; Function Groups --&amp;gt; Create Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;under Function Group we create Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After Create Function Group Give Function Module Name click on create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then we have Import, Export, Tables, Change, Exception, Source Code tabs .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press on Import tab. then give import parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if have any doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293987#M788246</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-01-04T06:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: function module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293988#M788247</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;You plz give clear specification of the function module. You need to know &lt;/P&gt;&lt;P&gt;1. What are the inputs to the FM?  ( export in call function and import in se37)&lt;/P&gt;&lt;P&gt;2. What are the outputs from the FM? (import in call function and export in se37)&lt;/P&gt;&lt;P&gt;3. Then u do the processing in the coding part with the help of inputs and give the results in outputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So make sure in what way you are going to use fields lifnr and bukrs ( input or output).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vadi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293988#M788247</guid>
      <dc:creator>i048168</dc:creator>
      <dc:date>2008-01-04T06:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: function module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293989#M788248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all... I want to write function module for the following code. Till Imports I could able to enter but after that what should i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB1 OCCURS 0,&lt;/P&gt;&lt;P&gt;LIFNR LIKE BSIK-LIFNR,&lt;/P&gt;&lt;P&gt;BUKRS LIKE BSIK-BUKRS,&lt;/P&gt;&lt;P&gt;END OF ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT LIFNR BUKRS FROM BSIK INTO CORRESPONDING FIELDS OF ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;WRITE : / ITAB1-LIFNR, ITAB1-BUKRS.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293989#M788248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: function module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293990#M788249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_lifnr TYPE LIFNR vendor num&lt;/P&gt;&lt;P&gt;p_bukrs TYPE BUKRS company code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293990#M788249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: function module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293991#M788250</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;Try using TYPE instead of Like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to create FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to SE37 --&amp;gt; Input the name for FM &lt;DEL&gt;&amp;gt; Assign the FM to Function Group&lt;/DEL&gt;&amp;gt; Make sure to activate the FM otherwise it will give you an errror.--&amp;gt; To active the Function Group go to SE80 --&amp;gt; Select Function Group from the dropdown list --&amp;gt; Give the Function Group nama --&amp;gt;right click on it and select activate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FM give the export, import parameters, tables, exception parameters. In the source tab, write the source code for the FM. Save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 07:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/3293991#M788250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T07:24:13Z</dc:date>
    </item>
  </channel>
</rss>

