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

expose a class method as web service

Former Member
0 Likes
1,221

hi ABAPers,

is it possibile to expose a class method as web service? I would like to write a base class with common code, while derived classes implement specific application logic.

I have both R/3 6.40 and Netweaver 7.0 kernels, so I'm interested in both.

thank you.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
775

No, it is not yet possible.

You can only create a web service for an RFC Function Module, Function Group or Business Object.

You may create a RFC FM as a wrapper to your Class methods and create a web service on the RFC FM.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
775

Wrap the base class in a common function module and expose the service form there,

Regards,

Jemin Tanna