cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice for a ABAP program

Former Member
0 Kudos

Please, can I create a webservice that access a abap program ?

I have a java web project and I should get data from an Abap by WebService, like this:

[JAVA] ---gets data from ---> [WebService] -gets data from--> [ABAP]

And I would like to create this WebService that will obtain data from the ABAP program.

How can I create this WebService ? I am a java programmer and I would like to create this for the Abap

Edited by: Michel Dambros Figueiredo on Jul 1, 2008 8:12 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

moorthy
Active Contributor
0 Kudos
Former Member
0 Kudos

hi,

searching this site would have given you a plethora of answers.

actually it is pretty simple, but 'simple' depends on what you know about abap at all, right?

the easiest way is the so called inside-out approach, that is to create a function module and run the webservice wizard on it; an example can be found in [my blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3284] [original link is broken] [original link is broken] [original link is broken];.

another possibility is the outside-in approach, i.e. defining an interface on SAPs communications middleware PI (sorry, business process management platform ), from there create a proxy on the ABAP backend and finally code the data selection or persisting of it inside the proxy.

regards,

anton