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 Concept in OOP

Former Member
0 Likes
710

Hi Gurus!

I want to ask how are you accessing RFC destinations in OOP. Is there any concept for RFC calls with methods or are the 'normal' RFC function modules still up to date for this purpose in OOP, too?

Thanks in advance for your replies.

Best regards,

Alfons

PS: Have a nice weekend!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
563

Hi Alfons,

you cant have methods of class as remote enabled . What you can do is you can create one Fn Module (Remote enabled ) in SE37 and call the methods of class here.

And further you can create the RFC Destination using SM59 for the Fn Module .

For eg you have two methods of class C as M1 and M2

then create Function Module F where you call methods like :

Call Method C=>M1

Call Method C=>M2

and define the RFC Destination for this Functional Module F in SM59.

I hope this will help you , kindly rewards point accordingly

Regards,

Pranshu

Hi Gurus!

I want to ask how are you accessing RFC destinations in OOP. Is there any concept for RFC calls with methods or are the 'normal' RFC function modules still up to date for this purpose in OOP, too?

Thanks in advance for your replies.

Best regards,

Alfons

PS: Have a nice weekend!

2 REPLIES 2
Read only

Former Member
0 Likes
564

Hi Alfons,

you cant have methods of class as remote enabled . What you can do is you can create one Fn Module (Remote enabled ) in SE37 and call the methods of class here.

And further you can create the RFC Destination using SM59 for the Fn Module .

For eg you have two methods of class C as M1 and M2

then create Function Module F where you call methods like :

Call Method C=>M1

Call Method C=>M2

and define the RFC Destination for this Functional Module F in SM59.

I hope this will help you , kindly rewards point accordingly

Regards,

Pranshu

Read only

0 Likes
563

Thanks for clarification.

BR,

Alfons