Application Development 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: 

Public attributes/methods

Former Member
0 Kudos

Hello Experts,

Please allow me to bring here in this forum a question on which I am very curious upon.

As a matter of fact we know that in ABAP OOPs, public attributes/methods can always be accessed from outside the corresponding class.

However, my question is, can these attributes or methods be called from non-SAP systems, i.e., from legacy systems ? Of course there needs to be a connectivity between SAP and non-SAP system.

If the answer is yes, then is this how in BAPIs, BOR interacts with non-SAP systems?

Kindly let me know as your valuable response will be much appreciated.

Kind Regards,

Souvik

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Souvik,

Looks like it is not possible, but you can enclose your class/method in an RFC enabled function module, pass the public attributes to the exporting parameter of the FM.

Thanks,

Norman

1 REPLY 1

Former Member
0 Kudos

Hi Souvik,

Looks like it is not possible, but you can enclose your class/method in an RFC enabled function module, pass the public attributes to the exporting parameter of the FM.

Thanks,

Norman