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 BAPI as webservice

Former Member
0 Likes
1,297

Hello All,

I want to BAPI expose as web service. I am working on SAP 4.6C veresion. Using this server can i expose BAPI as web service.

In BAPI explorer after select the BAPI, In right side there is a tools option, Under the tools option i am not able to see Create Web Service option. Plese can any body suggest me. Using SAP 4.6C version can i expose bapi as webservice.

Thanks

VenkatK

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,168

Hello,

In that version for what I now I dont think it is possible. You can use .net connector or java conector in order to connect to you RFC. And then with java or .net expose the webservice.

Hope this helps,

Gabriel P.-

Hello All,

I want to BAPI expose as web service. I am working on SAP 4.6C veresion. Using this server can i expose BAPI as web service.

In BAPI explorer after select the BAPI, In right side there is a tools option, Under the tools option i am not able to see Create Web Service option. Plese can any body suggest me. Using SAP 4.6C version can i expose bapi as webservice.

Thanks

VenkatK

6 REPLIES 6
Read only

Former Member
0 Likes
1,169

Hello,

In that version for what I now I dont think it is possible. You can use .net connector or java conector in order to connect to you RFC. And then with java or .net expose the webservice.

Hope this helps,

Gabriel P.-

Read only

Former Member
0 Likes
1,168

Can anybody suggest me.

Read only

Former Member
0 Likes
1,168

Hello all,

Plese can any body suggest me, Using SAP 4.6C version can i expose bapi as webservice.

Thanks&Regards,

VenkatK

Read only

Former Member
0 Likes
1,168

Even on 4.6C, if you create an RFC, it will automagically be exposed as a webservice. No other work required.

You can call it using the query http://<server>:<port>/sap/bc/soap/wsdl11?services=<NAME_OF_BAPI_OR_RFC>, you can pass querystring parameters for client/username/password if required. (sap-client, sap-user, sap-password).

You can also browse the web service RFC's using the following url: http://<server>:<port>/sap/bc/bsp/sap/WebServiceBrowser/search.html

Read only

0 Likes
1,168

In 4.6 C you can't expose your BAPI as webservice.

http://<server>:<port>/sap/bc/bsp/sap/WebServiceBrowser/search.html shows BSP service. But in 4.6c BSP is not there.

From 4.7 SAp included WAS as integrated part of R/3. So from 4.7 onwards you can use BAPI to expose as a webservice

Read only

GrahamRobbo
SAP Mentor
SAP Mentor
0 Likes
1,168

Hi Venkat,

SAP provide the SAP Business Connector which will expose RFC-enabled function modules, which include BAPI's, as web services.

The SAP BC is an OEM version of the WebMethods Integration Server and is available for download from SAP.

An alternative way of doing this, which I favour, is to use the latest SAP Web Application Server ABAP to expose the functionality as a webservice.

Install the latest WAS standalone in your landscape, or even better use an existing one if you have it. The Solution Manager system is an ideal candidate.

Then write a wrapper RFC-enabled function module on the WAS server that calls the 4.6C system using RFC.

You expose the new function module as a web service and use it as the end point for your ws calls.

Cheers

Graham Robbo

p.s. Of course the SAP official answer would be to implement PI/XI.