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

Calling Method with RFC Destination

Former Member
0 Likes
1,848

Hi

This is probably a dumb question, but here goes. Is it possible to call a method with a RFC destination ?

Thanks

Jill

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,280

hi in your method pass the Destination as importing parameter, adn then you can call rfc in side the method by giving destination.

you can do only this way.

regards

vijay

Hi

This is probably a dumb question, but here goes. Is it possible to call a method with a RFC destination ?

Thanks

Jill

5 REPLIES 5
Read only

Former Member
0 Likes
1,280

i dont think so

Read only

Former Member
0 Likes
1,281

hi in your method pass the Destination as importing parameter, adn then you can call rfc in side the method by giving destination.

you can do only this way.

regards

vijay

Read only

abdul_hakim
Active Contributor
0 Likes
1,280

Hi

It is not possible by doing directly with the method..

You can use FM..

Regards,

Abdul

Read only

Former Member
0 Likes
1,280

Hi,

if you want to call another class in another SAP system you could check the Posting Connector which is able to call function modules and class methods in other SAP systems via RFC destination. It requires some additional customizing and is generic.

It supports also to call class methods using the RFC stack from Java or .net.

Thanks,
Alfred

Read only

0 Likes
1,280

Hello,

Its not possible to call a method with a Destination. The REMOTE FUNCTION CALL only supports Function Modules (Which are remote enabled).

Best Wishes,
Jonathan