‎2008 Mar 27 11:23 AM
Hello
I'm calling a remote function:
CALL FUNCTION 'Z_RFC_TEST' DESTINATION i_rfc-host
At first it worked. But now I always get the error: "FUNCTION MODULE Z_RFC_TEST not found.
Any idea what this could be?
Greets.
‎2008 Mar 27 11:59 AM
Hi,
You have to check out two main things as follows:
1. Check whether the function module exists in the remote system or not. If it exists just go the properties and check whether the remote enabled option have selected or not.If the function module is not exist just create it as a remote enabled function module. Also there might be some problem with the function group where the function module is resided. So just activate the function group.
2. Just check out the RFC destination name. I think you are passing the RFC destination name to the variable as i_rfc-host.
Just make sure the destination name.
Regards,
Sankar.
‎2008 Mar 27 11:47 AM
I hope you are getting this error message during run time.
The function module 'Z_RFC_TEST' must exist in the target system. If not, it will give you error.
Please award points, if ur issue is solved
‎2008 Mar 27 11:49 AM
Hi
check if u r not making in calling the function module..spelling or case
‎2008 Mar 27 11:52 AM
‎2008 Mar 27 11:58 AM
NO spelling mistakes..
RFC connection exists.
No clue what it could be. When I double-click then name (Z_RFC_TEST) I come inside the function module..
Strangest thing to me is that it worked an hour ago.. I've only moved it in the program so that wil probably be the problem..
‎2008 Mar 27 11:59 AM
Hi,
You have to check out two main things as follows:
1. Check whether the function module exists in the remote system or not. If it exists just go the properties and check whether the remote enabled option have selected or not.If the function module is not exist just create it as a remote enabled function module. Also there might be some problem with the function group where the function module is resided. So just activate the function group.
2. Just check out the RFC destination name. I think you are passing the RFC destination name to the variable as i_rfc-host.
Just make sure the destination name.
Regards,
Sankar.
‎2008 Mar 27 12:08 PM
THANKS! Now I know what the problem is. It doesn't exist in the remote system.. So I have to create it in every system I want to use?
(BTW still don't understand that it worked in the beginning..)
‎2008 Mar 27 12:13 PM
Hi,
Check any path of the remote server is changed recently
or try to execute the TEST CONNECTION with that RFC module.
‎2008 Mar 27 12:31 PM
System name is the same.. I also tested the connection succesfully.
But I have to create the function in every system they can select?
Edited by: Bert Neels on Mar 27, 2008 1:41 PM
‎2008 Mar 27 12:40 PM
Hi bert,
Just ensure that the IP address of the remote system is correct or not. Because the IP address of the system may change. That would cause the issue.
Regards,
Sankar.
‎2008 Mar 27 12:59 PM
The problem is solved already. I just wanted to know for sure:
-Do I have to create the function in every possible destination system?
‎2008 Mar 27 1:16 PM
‎2008 Mar 27 1:20 PM