<?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: PRoblem with Funtion Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316441#M163766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no for each and every FM there is Global Declaration include program like this exp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;include lgraptop.                      " Global Data&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2006 12:26:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-05T12:26:02Z</dc:date>
    <item>
      <title>PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316440#M163765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem in Function Module. I am using Tables in FM. When I create a subroutine in separate include and try to call that table in that Subroutine it gives me error table not found. I have seen many FM using tables and calling them in separate include  without specifically declaring the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide.. I am not able to find my mistake...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316440#M163765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T12:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316441#M163766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no for each and every FM there is Global Declaration include program like this exp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;include lgraptop.                      " Global Data&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316441#M163766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T12:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316442#M163767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya...coz when u access the field...that variable is accessed locally and unless u declare it then and ther it'll throw that error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's like SCOPE in 'C'...&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;regds&lt;/P&gt;&lt;P&gt;gunjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316442#M163767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T12:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316443#M163768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can declare the tablename in the TOP include of your function module.This TOP Include will usually have Tables and Data declarations.&lt;/P&gt;&lt;P&gt;You can find the TOP Include from the function pool.Function pool name will be given on the FM attributes screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is useful, award points pls..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharadwaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316443#M163768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316444#M163769</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;As Prabhu already stated: You'll need to add an include statement somewhere in the declarations part of the function group (where your FM is located).&lt;/P&gt;&lt;P&gt;Most often the TOP include is used for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose your include has the name ZMYINCLUDE01 and there-in your TABLES statement is located.&lt;/P&gt;&lt;P&gt;Look for the TOP include (starting with letter "L" and ending with text "TOP". Open this one and put the statement "include ZMYINCLUDE01." into it.&lt;/P&gt;&lt;P&gt;Once activated your TABLES statement has been declared globally and you do not have to put it somewhere else anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316444#M163769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T12:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316445#M163770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; this is because all the function module parameters are local by default.so these parameters will NOT be visible in any further includes.&lt;/P&gt;&lt;P&gt;To MAKE all the parameters visible in all includes &amp;amp; we should make them global(instead of local)&lt;/P&gt;&lt;P&gt;in se37 change, &lt;/P&gt;&lt;P&gt;go to menu &lt;/P&gt;&lt;P&gt;EDIT-&amp;gt;INTERFACE-&amp;gt;GLOBALIZE PARAMETERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if you click on this , all the parameters change to GLOBAL.SO you can access them in any includes.&lt;/P&gt;&lt;P&gt;then activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316445#M163770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T12:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316446#M163771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; goto &lt;/P&gt;&lt;P&gt;  se37...........Enter FM Name ( Change Mode ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)edit&lt;DEL&gt;&amp;gt;interfaces&lt;/DEL&gt;-&amp;gt;Globlize Parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this to make the parameter global within the includes of the function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;local parameter is good. in that case u have to pass the tables in the table option of the perform to make the parameter available in the include of the FM ; since forms are present in the Include of the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark Helpfull Answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316446#M163771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T12:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: PRoblem with Funtion Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316447#M163772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem solved &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 13:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-funtion-module/m-p/1316447#M163772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T13:49:49Z</dc:date>
    </item>
  </channel>
</rss>

