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 Vs Class Interface

Former Member
0 Likes
700

Hi,

I have created a Class using SE80 using Class/Interface option. Can anybody please explain me what will be difference between

RFC and Class Interface. Whether Class Interface can be used as same RFC?

If yes how class can be accessed from other legacy systems?

I am very new to ABAP

Thanks

SAR

5 REPLIES 5
Read only

Former Member
0 Likes
648

Hi SAR,

Welcome to SDN :).

RFC is just a another FM which can be connected from Remote system. So the class and RFC are not the same thing.

Regards,

Atish

Read only

Former Member
0 Likes
648

Hi Atish,

Thanks for your reply.

How this Class can be accessed from legacy system?

Thanks

SAR

Read only

0 Likes
648

Hi SAR,

I don't think it can be accessed via Legacy system.

If you want to connect through the Legacy system then you can create RFC or use BAPI.

Regards,

Atish

Read only

Former Member
0 Likes
648

Hi Atish,

Thankyou for your replies.

If these class cannot be accessed. then how these SAP standard global classes can be accessed.

Whether we need to right a wrapper RFC for all these? I heard BAPI's also global classes that have BOR entries.How these BAPI are accessing from legacy?

Thanks

SAR.

Read only

Former Member
0 Likes
648

Hi SAR,

With every BAPI there is associated class.so when you access BAPI from outside it ultimatily refers to your class methods and attributes.

Reward if useful!