<?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 cannot find right subroutine in include in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499183#M1747059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is not possible to have the same FORM name two times in the same program or function group. This should cause a syntax error, when &lt;STRONG&gt;all includes&lt;/STRONG&gt; are &lt;STRONG&gt;active&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to rename the FORM names then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2013 11:15:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-08T11:15:20Z</dc:date>
    <item>
      <title>Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499177#M1747053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my function module there is a subroutine that is implemented in two different includes but with different number of parameters. How can i make my function module to choose the right one. It is jumping to the wrong one. The 2 includes are of course in the same function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 09:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499177#M1747053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T09:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499178#M1747054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can rename the subroutines to avoid confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having 2 subroutines of same name but different parameters is not allowed, and I wonder why your program passed the syntax check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 10:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499178#M1747054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T10:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499179#M1747055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you call perform, give include name as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;PERFORM subroutine_name&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;include_name&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 11:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499179#M1747055</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2013-07-05T11:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499180#M1747056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is better to give different performs names to avoid confusion. Later it might be difficult to identify issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 11:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499180#M1747056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499181#M1747057</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;I have just copied a working programm and would like to make some changes. The two subroutines are in differents include. Everything worked fine in the old programm. I just need to activate this one and add more code to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HELP!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 11:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499181#M1747057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T11:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499182#M1747058</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 should not be able to compile such a FM because of the duplicate name. The only option should be to use the &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;PERFORM subroutine_name&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;include_name&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;) but I personally don't like it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;David.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499182#M1747058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T13:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499183#M1747059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is not possible to have the same FORM name two times in the same program or function group. This should cause a syntax error, when &lt;STRONG&gt;all includes&lt;/STRONG&gt; are &lt;STRONG&gt;active&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to rename the FORM names then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 11:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499183#M1747059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-08T11:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499184#M1747060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder how the Function module activation passes the syntax text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open it in SE80 and activate the whole module.&amp;nbsp; And check if the activation is successful or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Secondly,&amp;nbsp; it is good to have a different subroutine name instead of single name.&amp;nbsp;&amp;nbsp; ( I do not see an polymorphism in ABAP )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 11:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499184#M1747060</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2013-07-08T11:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function module cannot find right subroutine in include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499185#M1747061</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;the code has been working like that for years and I prefer not to&amp;nbsp; change anything. What I did, was to copy what I needed locally for my own implementation. I will then transfer to the new function modules only not the includes(they are already in used) when my test is done. So what I need to know now for my local test is if &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;PERFORM subroutine_name&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;include_name&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;) is the best alternative now. I dont want to change a working code that is used by many differents programs. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 16:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-cannot-find-right-subroutine-in-include/m-p/9499185#M1747061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-08T16:23:55Z</dc:date>
    </item>
  </channel>
</rss>

