<?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: Enhancing Function Group in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614358#M1663381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not giving error for any variables, but it gives error for routine already declared. Anyways, let's hope to get this answered by some other. Thanks a lot for your efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 14:08:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-20T14:08:10Z</dc:date>
    <item>
      <title>Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614351#M1663374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I've enhanced one function module at end by adding post-exit enhancement. Here I've added perform statement which calls a form routine written in Z-Include. This Z-Include I've added in main program of the function group with INCLUDE Statement using post-exit enhancement.&lt;/P&gt;&lt;P&gt;It's getting executed perfactly fine.&lt;/P&gt;&lt;P&gt;Now if I do &lt;STRONG&gt;syntax check only in Z-Include&lt;/STRONG&gt;, it shows me &lt;STRONG&gt;syntax error&lt;/STRONG&gt; saying that &lt;STRONG&gt;form routine is already exists&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;But activation of the code of the same Z-Include is not giving any problem.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is this normal behaviour?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Haresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 18:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614351#M1663374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-16T18:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614352#M1663375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is indeed normal behaviour with reference to Function Modules. Hence, you might find posts that mention you use 'Activate Anyway' in case of a Function Group. Individual Function Modules as well as Includes do give syntax errors when you try to Activate them independently, but, once activated, you will not find the syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behaviour is observed because Function Modules are global within the Function Group. This is the basic difference mentioned while comparing sub-routines with Function Modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&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;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 05:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614352#M1663375</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2012-03-19T05:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614353#M1663376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for taking time.&lt;/P&gt;&lt;P&gt;My question is somewhat different.&lt;/P&gt;&lt;P&gt;While activating individual z-include or standard include is not giving any syntax error. But&lt;/P&gt;&lt;P&gt;1. Checking syntax in standard include =&amp;gt; doesn't give any syntax error.&lt;/P&gt;&lt;P&gt;2. Checking syntax in z-include =&amp;gt; gives syntax error saying form routine is already been declared.&lt;/P&gt;&lt;P&gt;What do you say for this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Haresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 15:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614353#M1663376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-19T15:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614354#M1663377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for taking time.&lt;/P&gt;&lt;P&gt;My question is somewhat different.&lt;/P&gt;&lt;P&gt;While activating individual z-include or standard include is not giving any syntax error. But&lt;/P&gt;&lt;P&gt;1. Checking syntax in standard include =&amp;gt; doesn't give any syntax error.&lt;/P&gt;&lt;P&gt;2. Checking syntax in z-include =&amp;gt; gives syntax error saying form routine is already been declared.&lt;/P&gt;&lt;P&gt;What do you say for this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Haresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 15:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614354#M1663377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-19T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614355#M1663378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haresh,&lt;/P&gt;&lt;P&gt;I believe you have defined a sub-routine within your Z-Include or used some variables having the same names as in the Function Group. So, when you do a syntax check of the Z Include you get the error that it is already defined. But, while activating the Function Group, the system, identifies the variable defined in the Function Group as a Global Variable whereas in the Z Include it is identified as a local variable. &lt;/P&gt;&lt;P&gt;I think you are curious about the exact reason, which I'm unable to explain.&lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/5.0.1/images/emoticons/sad.gif" width="1"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="mischief" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/5.0.1/images/emoticons/mischief.gif" width="1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 05:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614355#M1663378</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2012-03-20T05:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614356#M1663379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per what you said, I believe that the &lt;STRONG&gt;FORM .. ENDFORM &lt;/STRONG&gt;statement for your subroutine exists inside your Z-include which is defined in your main program.&lt;/P&gt;&lt;P&gt;There could be a possible chance that this &lt;STRONG&gt;FORM...ENDFORM &lt;/STRONG&gt;statement exists more than once in your program. See to it that this statement exists once in your Z-include. Also, check that this statement does not exist anywhere else in your function group as well as other function modules inside this function group.&lt;/P&gt;&lt;P&gt;Try searching your entire program using the name of your subroutine.&lt;/P&gt;&lt;P&gt;Also, function module will get activated using Activate Anyway.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Danish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 07:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614356#M1663379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T07:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614357#M1663380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If your writing include between function module,go to Function group-&amp;gt;inactive objects Activate the function group.&lt;/P&gt;&lt;P&gt;This might help you.&lt;/P&gt;&lt;P&gt;Thank and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 07:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614357#M1663380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T07:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614358#M1663381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not giving error for any variables, but it gives error for routine already declared. Anyways, let's hope to get this answered by some other. Thanks a lot for your efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614358#M1663381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T14:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614359#M1663382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is no routine exist with the same name in entire function group.&lt;/P&gt;&lt;P&gt;Moreover, if I activate the z-include or function group, it is not giving any syntax error. So there is no need to go for activate anyway.&lt;/P&gt;&lt;P&gt;Just wanted to know the strange behaviour for the error in case of syntax check in z-include.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Haresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614359#M1663382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T14:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancing Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614360#M1663383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, there is no inactive objects in entire function group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancing-function-group/m-p/8614360#M1663383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T14:40:26Z</dc:date>
    </item>
  </channel>
</rss>

