<?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 not found runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999882#M1967554</link>
    <description>&lt;P&gt;It just means what it says: the function module doesn't exist in the remote system. &lt;/P&gt;&lt;P&gt;As your code is the following statement:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'ZGRC_FETCH_AGR_1251' DESTINATION wa_conn-connector&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then debug your code to see what RFC destination it is (value of wa_conn-connector), go to transaction SM59 to know what system the RFC destination corresponds to. Check why the function module doesn't exist there, and ask around your fellow developers or your client to get more explanations and more help.&lt;/P&gt;&lt;P&gt;And I can't tell you more! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 17:38:52 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-07-25T17:38:52Z</dc:date>
    <item>
      <title>Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999878#M1967550</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I am getting a runtime error 'Function module "ZGRC_FETCH_AGR_1251" not found'. I have seen a number of scn posts regarding this error, but I cant seem to resolve my issue. Below is the screenshot of the error:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1711599-capture.png" /&gt;&lt;/P&gt;
  &lt;P&gt;The FM is a custom RFC that I created which has just a simple select query in the source code, nothing else.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1711601-capture.png" /&gt;&lt;/P&gt;
  &lt;P&gt;How can I resolve this issue ?&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Manish&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 12:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999878#M1967550</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-07-25T12:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999879#M1967551</link>
      <description>&lt;P&gt;Are you sure your CALL FUNCTION has not the spec. DESTINATION ??&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 13:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999879#M1967551</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-07-25T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999880#M1967552</link>
      <description>&lt;P&gt;Yes, I did specify it. Below is the code snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_conn INTO wa_conn.

    "Fetch all users from each connector

    CALL FUNCTION 'BAPI_USER_GETLIST' DESTINATION wa_conn-connector

      TABLES

        userlist = i_userlist[].



    "Fetch the roles of all the respective users

    IF i_userlist IS NOT INITIAL.



      SORT i_userlist BY username.

      DELETE ADJACENT DUPLICATES FROM i_userlist COMPARING username.



      LOOP AT i_userlist INTO wa_userlist.

        CALL FUNCTION 'BAPI_USER_GET_DETAIL' DESTINATION wa_conn-connector

          EXPORTING

            username       = wa_userlist-username

*           CACHE_RESULTS  = 'X'

*   IMPORTING

*           LOGONDATA      =

*           DEFAULTS       =

*           ADDRESS        =

*           COMPANY        =

*           SNC            =

*           REF_USER       =

*           ALIAS          =

*           UCLASS         =

*           LASTMODIFIED   =

*           ISLOCKED       =

*           IDENTITY       =

*           ADMINDATA      =

*           DESCRIPTION    =

          TABLES

*           PARAMETER      =

*           PROFILES       =

            activitygroups = i_act[]

            return         = i_return[].



        "fetch all the tcodes with field TCD

        CALL FUNCTION 'ZGRC_FETCH_AGR_1251' DESTINATION wa_conn-connector

          TABLES

            data           = i_agr_1251[]

            activitygroups = i_act[].


                                                                                                                      
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The runtime error is happens as soon as the pointer enters the FM&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1711605-capture.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 15:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999880#M1967552</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-07-25T15:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999881#M1967553</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check Asynchronous call (aRFC) of a&lt;U&gt; &lt;/U&gt;remote-enabled function module in Attribute tab. &lt;/P&gt;&lt;P&gt;Check &lt;A href="https://service.sap.com/sap/support/notes/97522"&gt;Note 97522 - RFC short dump CALL_FUNCTION_REMOTE_ERROR&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check the target system as well may be your passing wrong parameter. check the target system st22 as well. &lt;/P&gt;&lt;P&gt;Check your RFC Connection in t. code SM5&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.guru99.com/rfc-remote-function-call.html"&gt;more info&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 17:15:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999881#M1967553</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2019-07-25T17:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999882#M1967554</link>
      <description>&lt;P&gt;It just means what it says: the function module doesn't exist in the remote system. &lt;/P&gt;&lt;P&gt;As your code is the following statement:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'ZGRC_FETCH_AGR_1251' DESTINATION wa_conn-connector&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then debug your code to see what RFC destination it is (value of wa_conn-connector), go to transaction SM59 to know what system the RFC destination corresponds to. Check why the function module doesn't exist there, and ask around your fellow developers or your client to get more explanations and more help.&lt;/P&gt;&lt;P&gt;And I can't tell you more! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 17:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999882#M1967554</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-25T17:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999883#M1967555</link>
      <description>&lt;P&gt;By the way, you may catch RFC remote errors by handling the predefined exceptions COMMUNICATION_FAILURE and SYSTEM_FAILURE (CALL FUNCTION ... EXCEPTIONS ...).&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 17:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999883#M1967555</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-25T17:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999884#M1967556</link>
      <description>&lt;P&gt;And check the RFC exist in the destination system &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 05:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999884#M1967556</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-07-26T05:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999885#M1967557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I cant open the notes as I dont have credentials for that.&lt;/P&gt;&lt;P&gt;The target system is ECSCLNT100 which exists in SM59.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1711615-capture.png" /&gt;&lt;/P&gt;&lt;P&gt;RFC connection is also fine.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 06:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999885#M1967557</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-07-26T06:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999886#M1967558</link>
      <description>&lt;P&gt;RFC_PING returns sy-subrc = 0. Hence it exists.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1711616-capture.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 07:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999886#M1967558</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-07-26T07:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999887#M1967559</link>
      <description>&lt;P&gt;You may log directly into that system by displaying the destination and click "remote login" (NB: it's a trusted connection so if your user exists there you'll be logged directly). And do as I said in the top comments (hopefully your user has enough authorization there).&lt;/P&gt;&lt;P&gt;PS: too bad that your company didn't give you credentials to SAP support &amp;amp; notes (that's a shame! ;-)), how can you work efficiently then? Did you insist enough?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:28:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999887#M1967559</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-26T08:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999888#M1967560</link>
      <description>&lt;P&gt;No, the ping indicates that the system exists, but the RFC-enabled function module may not exist.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999888#M1967560</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-26T08:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999889#M1967561</link>
      <description>&lt;P&gt;As Sandra said, you have to connect to ESCLNT100 &amp;amp; check in SE37 if ZGRC_FETCH_AGR_1251 exist&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999889#M1967561</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-07-26T08:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999890#M1967562</link>
      <description>&lt;P&gt;Well, the FM doesnt exist in the target system ECSCLNT100. So this means that I have to create this FM in all the target systems so that the data from AGR_1251 can be fetched ?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 09:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999890#M1967562</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-07-26T09:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999891#M1967563</link>
      <description>&lt;P&gt;It must exist in all the called systems, because this is where it gets executed.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 09:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999891#M1967563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-07-26T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999892#M1967564</link>
      <description>&lt;P&gt;Just double click on the ECSCLNT100 and check remote logging works or not . if it's not you have to correct it.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1708654-abap-connection.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 13:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999892#M1967564</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2019-07-26T13:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999893#M1967565</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The FM is a custom RFC that I created which has just a simple select query in the source code, nothing else.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Just a dumb question here.. are you sure that the FM ZGRC_FETCH_AGR_1251 exists in the remote system and not in your own system ?&lt;/P&gt;&lt;P&gt;Dev.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 15:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999893#M1967565</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2019-07-26T15:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999894#M1967566</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/557341/devparbutteea.html"&gt;Dev Parbutteea&lt;/A&gt; There were a lot of discussions around here since the question was asked, and the OP told us that "the FM doesnt exist in the target system ECSCLNT100"&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 16:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999894#M1967566</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-26T16:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999895#M1967567</link>
      <description>&lt;P&gt;Thanks everyone. The FM has to exist in the destination system, since I am fetching the data from the destination system to the source system. So basically, all the destination systems must have the FM.&lt;/P&gt;&lt;P&gt;Its just that the destination systems are all going to be maintained in a custom table and there will be more added in the future. So whenever the new systems will be added, I need to copy the FM in the systems to make sure that I can call them in the source system. &lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 07:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999895#M1967567</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-07-29T07:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not found runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999896#M1967568</link>
      <description>&lt;P&gt;If you are saying that it's now okay for you, please mark this answer as "answered" and close your question. Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 08:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-found-runtime-error/m-p/11999896#M1967568</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-29T08:25:55Z</dc:date>
    </item>
  </channel>
</rss>

