cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Webservice out of a BAPI

Former Member
0 Kudos

Hi all,

I need to make WebService out of a BAPI.

Hence I want the procedure to do it.Helpful Links are also Welcome.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dinesh ,

<b>Please follow these Steps to create a Webservice out of a BAPI :</b>

<b>Prerequisites :</b> Version SAP 6.4 & above

1. Log into your SAP System - Enter (Client , User ID , Pwd)

2. Enter the Transaction SE37

3. Enter the name of the BAPI you want to convert into Webservice

For EX : BAPI_BANK_GETLIST

4. Click Display

5. In the Menubar > SelectUtilities > More Utilities > Create Webservice >

From the Function Module .

6. The Webservice Wizard Opens

7. Select Continue

8. Enter the Virtual Interface Name & Description ( User Defined )

9. Select Endpoint : Function Module

10. Check NameMapping

11. Choose Function Module, Select Continue

12. Enter the Webservice Name & Description ( User Defined )

13. Select Profile BASIC Authorization : SOAP Pro

14. Select Continue , This will create a Webservice out of the BAPI

15. Choose a Standard Package where you want the Webservice to be parked.

16.To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.

17.Enter WSADMIN transaction to open Webservive Administration for SOAP runtime.

18. Under SOAP Application for BAPI's , select your Webservive and Click on WSDL Generation Button ( Last Button among 4 Buttons - Below Title )

19. Select RPC and OK.

20. Please Enter your User Id & Password of the SAP system you are working on.

The WSDL is created for the Webservice.

<b>Thus the WebService is Created out of the BAPI.</b>

Hope this helps you very much

Regards,

Santhosh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dinesh ,

In the above Step 19, Choose <b>Document Style</b> if RPC does'nt work.

I will be posting a Blog on Creating Webservices of BAPI's / Function Group / Bussiness Objects soon. It will help you to understand this much better.

I hope this was useful.

Regards,

Santhosh