cancel
Showing results for 
Search instead for 
Did you mean: 

Create WebServices from BAPI

Former Member
0 Kudos

Dear All,

I need to build web services from SAP standard BAPI.

Based on XI book i need to go to this link:

http:// From Function Module.

But the thing is I can't do it for standard SAP Function, since it asked me to put to the SAP Package.

Please advise the best practice to do this.

Thanks,

Victor.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The main requirement for creating the web service using the function module is the function should be RFC enabled.

1. To create web service of this Function Module

Go to Utilities ->More utilities->create a web service->from function module

2. A new wizard will be open to create the web service and click on continue.

3. Enter the web service name (any name that you want to give) and give the short description, select the Endpoint type as Function Module and click on continue.

4. Select the Function Module name that you are using.

5. select the profile as Basic Authentication: SOAP Pro.

6. Press continue to release the web service. The web service is now created

To check the web service Go to the transaction WSADMIN and select the node

SOAP Application for RFC-Complaint FMs and expand the node and select your web service that you have created and expand the web service node up to the last .

Now to test the web service select the last node and click on the web service home page button and it will open the home page.

from this page u will get the wsdl file as well as you can testthe web service.

REgards

Seshagiri

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

assign the webservice to a package or local object (if not intended to trnsport ).

check this blog

Exposing Remote Function Module as Web Service in XI - Step By Step

regards

kummari

prateek
Active Contributor
0 Kudos

U may try using this

Regards,

Prateek