cancel
Showing results for 
Search instead for 
Did you mean: 

Expose ABAP Function as WebService in PI

Former Member
0 Kudos

Hello everybody,

I need to expose an ABAP function as a web service in order to be consumed by a Java Client. That is the best way to do this? Do we need to code some kind of proxy that executes ABAP or can an arbitrary ABAP function exposed as Web Service just by configuring a service?

Thanks in advance! 

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello,

both documents mentioned here are identical and made for older versions. Here is a blog that describes the new world, although  many pictures are missing due to broken formatting or broken links:

http://scn.sap.com/people/shibaji.chandra3/blog/2010/02/17/soa-web-service-expose-and-consume-config...

Regards,

Jörg

rajasekhar_reddy14
Active Contributor
0 Kudos

Develop function RFC enable function module and  expose as a web service

http://scn.sap.com/docs/DOC-18411

former_member184681
Active Contributor
0 Kudos

Hi Peter,

If you want to expose a function module as a web service without using PI, the document mentioned by Baskar gives you all you need. But in my opinion, if you have a PI system that can be used, you should rather go that way, because that will give you a possiblity to monitor the calls (not to mention other possibilities). If you want my advice, create a SOAP to RFC scenario with PI.

Regards,

Greg

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You can expose RFC as webservice and using PI or without PI you can allow java client to consume the webservice. If you include PI for middleware features then your scenario would be java proxy to soap. Soap would consume the webservice that is hosted on ABAP side. This is just one approach.

you might want to check this link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b33fc-9eb1-2c10-0599-f2ef9fb5c...