How to Create ABAP Based Webservices

Web Services

 

A Web service is function or service which is used to communicate between two SAP systems or SAP system and Non-SAP Systems. Each Web service represents a specific functionality. A Web service can be built on an existing BAPI/Function Module or develop a new Web service can be developed on Object Navigator of SAP.

Here are the easy steps to Create ABAP based Web services.

webservice

 

-> Choose the Function Module and Open in Function Library(SE37).

-> In Function library ->GoTo -> Utilities -> More Utilities->Create Web services -> From Function Module 

webs1

-> Enter Name and description of the Web service

web2

-> Enter Name of Function Module

web3

-> Click on Continue and Choose appropriate security profile from the drop down list.

 

web4

-> Click on Ok and Enter Package, since this is for demo enter temp package

 

web5

web6

-> Click Activate

web7

Bind the Web service

We should bind the webservice in SOAManager to generate URL.

-> Go TO transaction ‘SOAMANAGER’  and -> Click on Web Service Configuration

web8

-> In the next screen ->Select the Web service and click  on Internal Name

web9

 

->In next screen -> Click on Configuration -> Create Service

web10

 

-> Enter Service Name and Description -> Next

webs11

 

->Flag No Authentication box to provide generic User Name and Password

webs12

-> Enter User Name and Password

webs13

-> Click Next -> Finish and Replublish the service

webs14

 

-> Click on the Service to view the generated URL.

webs15

Leave a comment

Your email address will not be published. Required fields are marked *