<?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 Duplicate Function Modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499332#M1653841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is quite a complicated problem and Iu2019ve tried to simplify a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a custom FM (Z_FM_1) in a custom function group. When I try to activate it, I get a syntax error u201CINCLUDE  LZRB1$11 - A function already exists with the name Z_FM_2. (Note that itu2019s not the one Iu2019m creating.) I go to the main program, and there is an include for the FM Z_FM_2, but itu2019s in include LZRB1U11, where one would expect it to be. So I open up the ABAP editor and look at include LZRB1$11 and indeed, there is a FM with that name there with just some odd code for importing and exporting parameters..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A where used list of that include shows that it is not actually used anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, this is odd enough, but when I go to our QA environment, I find exactly the same situation u2013 same includes, same FMs (except for the one Iu2019m trying to create). But if I do a syntax check, I get no error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I canu2019t explain this. Can anyone??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hereu2019s some further information that I donu2019t think is relevant, but still odd: I am creating this FM (Z_FM_1) because it exist in our QA environment, but not in DEV. I had tried to recreate it using version management, but there were no versions either for the FM or its include. When I looked at the code that was executing it, it had a different transport than the latest one. I looked at the transport log for the latest two requests and found that they had been exported in the correct sequence (older, then later), but the older one was in QA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2012 17:37:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-16T17:37:51Z</dc:date>
    <item>
      <title>Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499332#M1653841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is quite a complicated problem and Iu2019ve tried to simplify a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a custom FM (Z_FM_1) in a custom function group. When I try to activate it, I get a syntax error u201CINCLUDE  LZRB1$11 - A function already exists with the name Z_FM_2. (Note that itu2019s not the one Iu2019m creating.) I go to the main program, and there is an include for the FM Z_FM_2, but itu2019s in include LZRB1U11, where one would expect it to be. So I open up the ABAP editor and look at include LZRB1$11 and indeed, there is a FM with that name there with just some odd code for importing and exporting parameters..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A where used list of that include shows that it is not actually used anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, this is odd enough, but when I go to our QA environment, I find exactly the same situation u2013 same includes, same FMs (except for the one Iu2019m trying to create). But if I do a syntax check, I get no error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I canu2019t explain this. Can anyone??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hereu2019s some further information that I donu2019t think is relevant, but still odd: I am creating this FM (Z_FM_1) because it exist in our QA environment, but not in DEV. I had tried to recreate it using version management, but there were no versions either for the FM or its include. When I looked at the code that was executing it, it had a different transport than the latest one. I looked at the transport log for the latest two requests and found that they had been exported in the correct sequence (older, then later), but the older one was in QA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 17:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499332#M1653841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-16T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499333#M1653842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had faced not same but similar problems with Function Modules and groups when TR were migrated to created temporary systems. I used the repair FG option to fix that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the Repair Function Group option in SE37 &amp;gt; Utilities &amp;gt; Repair Function Group. Enter your FG name in the popup. In the next screen it would show if there are any issues with the FG. System would show includes which has issues and can be repaired. Select them and press Repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this you should be able to create the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 19:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499333#M1653842</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2012-02-16T19:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499334#M1653843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naimesh - I gave it a try. Unfortunately, it deleted the FM that I had just created and left the odd one alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 19:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499334#M1653843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-16T19:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499335#M1653844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like odd is winning over the good one. Try Repairing again before creating the FG. Create the FM and try repair again. I know it is just a try ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 19:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499335#M1653844</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2012-02-16T19:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499336#M1653845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I did that before responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a real mess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 19:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499336#M1653845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-16T19:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499337#M1653846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob&lt;/P&gt;&lt;P&gt;I have faced similar kind of problem and what I did to solve was to re-transport the whole function group from either QA or from Prod. Later I was able to create my custom Function Groups. In my case we had 2 different dev systems which caused some confusion. If you are OK then you can import back the FG from QAS to DEV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 21:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499337#M1653846</guid>
      <dc:creator>vijaymanikandan</dc:creator>
      <dc:date>2012-02-16T21:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499338#M1653847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure if that would work - the problem FM is in an include that is not included in the main program of the function group. A where used list shows nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking of trying to activate anyway (ignoring errors).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 21:41:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499338#M1653847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-16T21:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499339#M1653848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it appears to be a problem of my own making. I think when I recreated the FM I copied the wrong source code (including the FM name) to the new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've copied the correct source and things now activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To err is human, but to really mess up you need a computer&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 22:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499339#M1653848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-16T22:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499340#M1653849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Include LZRB1U11 declare more than once in the Function Group, thats why this error occured.&lt;/P&gt;&lt;P&gt;LZRB1U11- Must be contains all function module names undet it and it declared twice or more in same function group. Redundant occurence need to remove from function group to resolve this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhineet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Abhineet Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 13:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-function-modules/m-p/8499340#M1653849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T13:31:12Z</dc:date>
    </item>
  </channel>
</rss>

