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 Method Call

Former Member
0 Likes
405

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
Read only

Former Member
0 Likes
362

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á

Read only

uwe_schieferstein
Active Contributor
0 Likes
362

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