Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
sridhar_k2
Active Contributor
0 Kudos

Creating of the Web Service from BAPI is very simple. By Default for all the Standard BAPI’s Web Services are defined. This procedure shows how to create web service from the custom BAPI.

Step - 1:

To Find the BAPI



Transaction Code - SE37 -> Enter Function Module Name -> Ex: - ZBAPI_ADVANCED_BPSEARCH -> It navigates to the below (fig – a) screen with all the details about that BAPI.

Fig – a:  Shows the Custom BAPI Detail

Step - 2:

Web Service Creation



Log on to the Object Navigator (Transaction Code - SE80) -> Enter the Function Group (It is there in the above fig - a.) in the Function Group Area.

Fig – b:  Displays all the BAPI’s in that Function Group

1) In Object name Window - it will show the Entered Function Group (fig – b).

2) Go to Function Modules -> Select Function Module -> Create the Web Service by Right Click on Function Module -> Create -> Web Service

3) It will take to Create Service Definition Window -> Continue (Over View) -> Give Service name (Ex: - ZAdvance_Search_BAPIService) and Short Text -> Continue (Create Service) -> Continue (Choose Endpoint) -> Continue.

4) Select the Check Box “Release Service for Runtime” (If you want Release the Service) -> Complete (Complete).

Note: - If “Release Service for Runtime” selects then it automatically Releases otherwise we have to do it manually.

Step - 3:

Assigning Package for the Web Service

Fig – c:  Assigning Web Service to the package

finish.

Mode is created. Access this Web Service in the normal Standard Web Service.

9 Comments