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

RFC Function call in Methods

Former Member
0 Likes
638

Hi all,

Is it possible to make an RFC call in other system from a method? We are trying to call a RFC by giving destination. But we find it's not getting executed? What may be the problem?

Thanks in advance for your suggestions.

Best Regds,

Prabahar N.R

3 REPLIES 3
Read only

Former Member
0 Likes
567

Hi Prabahar,

Are you saying that the Function Module is getting executed correctly at the desired destination if it is called from outside a method?

Regards,

Anand Mandalika.

Read only

0 Likes
567

Prabakar:

First define the RFC destination through transaction SM59 and test the connection through the 'Remote Connection' button in SM59. Once this works, then ensure that the function you are calling exists in the remote system. If these are set right, you should not get any errors.

Cheers.

Kamaraj

Read only

0 Likes
567

Hi,

first ensure that your function module is defined as a remote-enabled module. Then as suggested by Kamaraj, proceed with creating RFC destination in SM59. test it and then call ur function module as...

CALL FUNCTION <Func name> DESTINATION <dest>...

if still it does not work....tell exactly what u have done so we can help u.

regards,

PJ