Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in executing remote enabled function module

Former Member
0 Likes
2,401

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,396

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,397

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

Read only

0 Likes
1,396

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

Read only

0 Likes
1,396

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

Read only

0 Likes
1,396

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

Read only

0 Likes
1,396

Remote Function Call - How can we call a function on remote system if it is not there

--

Reddy

Read only

Former Member
0 Likes
1,396

Call function <Function_name> destinition 'ABCD'.

Here the FM will be called in the target system ABCD.

Hope this helps.

Read only

Former Member
0 Likes
1,396

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