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: 

RFC Method Call

Former Member
0 Kudos

Hi Gurus,

is it possible to call a (static) method of a class from another system like an RFC function module?

Thanks in advance.

BR,

Alfons

2 REPLIES 2

Former Member
0 Kudos

Hi!

I don't think so. But you might call a function module with RFC, and in the function module you can call your method.

Regards

Tamá

uwe_schieferstein
Active Contributor
0 Kudos

Hello Alfons

I am not sure if it helps you yet you can use eCATT to call (static) methods on remote systems.

Create a testscript with a system container (-> contains RFC destionation to target system) and use the following pattern (e.g.):

  CALLSTATIC ( CL_ABAP_CLASSDESCR , DESCRIBE_BY_NAME , DESCRIBE_BY_NAME_1 ).

Regards

Uwe