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

Can you call a class method as an RFC function

Faaiez
Product and Topic Expert
Product and Topic Expert
0 Likes
514

Hi

I would like to know whether it is possible to instantiate a class in another system via RFC and then call a method eg. cl_abap_typedescr=>describe_by_name, of that class in the other system like you can with an RFC enabled function.

Thanks

Faaiez

Hi

I would like to know whether it is possible to instantiate a class in another system via RFC and then call a method eg. cl_abap_typedescr=>describe_by_name, of that class in the other system like you can with an RFC enabled function.

Thanks

Faaiez

1 REPLY 1
Read only

athavanraja
Active Contributor
0 Likes
454

Its not possible to call a method like RFC.

What you could do is write a RFC and within that instantiate the class and call desired method .

And now you can call this RFC from the other system.

Regards

Raja