‎2010 May 13 3:11 PM
Hi All,
I have created a remote enabled function module.
The function module works fine without entering the RFC dest sys.
When i enter the RFC dest sys and execute it, i get the error
Exception SYSTEM_FAILURE
Message ID 00
Message number 341
Message Runtime error CALL_FUNCTION_NOT_FOUND has occured
The RFC connection actually works fine to connect to the system when i test it from SM59.
But what could be the reason for the above error?
Actual intent is that I want to execute FM created in sys1 to be executed on sys2 from sys1 itself.
Regards,
Rahul
‎2010 May 13 3:14 PM
Hi Rahul,
Actual intent is that I want to execute FM created in sys1 to be executed on sys2 from sys1 itself.
It doesn't work that way, you need to create the FM in sys2 and call it from sys1.
Regards,
Nick
‎2010 May 13 3:14 PM
Hi Rahul,
Actual intent is that I want to execute FM created in sys1 to be executed on sys2 from sys1 itself.
It doesn't work that way, you need to create the FM in sys2 and call it from sys1.
Regards,
Nick
‎2010 May 14 10:18 AM
Hi Nick,
Thanks..
Is there any other way for this?
I dont want to copy my code in sys2. The code is in sys1.
Is there any other way to run the function module for sys2 from sys1?
Regards,
Rahul
Edited by: RAHUL SHIRODKAR on May 14, 2010 11:18 AM
‎2010 May 14 10:23 AM
Hi,
I guess there is no other way. For an RFC enabled function module it should exist in SYS2 .Then only you will be able to call from SYS1.
Your RFC connection will work fine if you provide all the technical parameters correctly.A RFC function module has nothing to do with this connection
Regards,
Lakshman.
Edited by: Lakshman N on May 14, 2010 11:25 AM
‎2010 May 14 10:29 AM
Hi Rahul,
That's pretty much your only option. If the function module on sys1 is just reading data from sys2 then you could try calling RFC_READ_TABLE to read the data and manipulate it in sys1.
Regards,
Nick
‎2010 May 14 10:37 AM
Remote Function Call - How can we call a function on remote system if it is not there
--
Reddy
‎2010 May 13 3:57 PM
Call function <Function_name> destinition 'ABCD'.
Here the FM will be called in the target system ABCD.
Hope this helps.
‎2010 May 14 5:12 AM
Hi Rahul,
Check RFC connection whether connection is established b/n SYS1 and SYS2.
This problem will normally occur if RFC failure b/n 2 systems or not created any connection.
Thanks
Raghavendra