cancel
Showing results for 
Search instead for 
Did you mean: 

RFC as WebService

Former Member
0 Kudos

In my WebDynpro application I have to access an ABAP RFC-module. I would prefer to access it as a WebService rather than an adaptive RFC. Is that possible.

How can we make a Webservice out of our BAPI or RFC ?

Accepted Solutions (0)

Answers (3)

Answers (3)

gregorw
Active Contributor
0 Kudos

Hello Michael,

when your backend system is running on 6.20 or higher, all RFC enabled function modules are also accessible as Web Services.

Regards

Gregor

Former Member
0 Kudos

Hi Stefan Do you have a Step by Step procedure how to do this or piont me to some documentation

Former Member
0 Kudos

Hi Theo,

documentation about proxy generation from RFCs/BAPIs is available at: http://help.sap.com/saphelp_nw04/helpdata/en/ed/897483ea5011d6b2e800508b6b8a93/frameset.htm

There's a tutorial how to bind a Web Service to a WD model at: https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD7_CarRentalWS.htm

I'm not sure if this tutorial includes the Web Service generation also, but you can search for this in the online documentation of the Developer Studio.

Hope that helps.

Regards

Stefan

Former Member
0 Kudos

Hi Michael,

you could create one or multple EJB(s), which wrap the necessary RFC calls in corresponding business methods. The proxies for the RFC calls can be generated using the "Import RFC modules from R/3" feature in the Developer Studio. And, finally, you can create Web Services from these EJBs and import the Web Service Interfaces as models in Web Dynpro.

Hope that helps.

Regards

Stefan