WEB-SERVICE IN SAP ABAP

Creating web service in SAP ABAP

 

  • Create a function module in SE37 which is remotely enabled and with the following

 

Save and activate the FM

 

  • To create a webservice go to utilities-> more Utilities-> create Web service -> from function module

After that follow the below steps by clicking on the next button:-

 

 

 

 

 

Continue and click on complete

 

And then activate the service.

 

  • Now open SOAMANAGER in a new session

 

Search by the below criteria

 

 

Click on the service name which you created and then create a new service

 

 

 

 

 

 

Keep the authorization low and you can select the option as below and then click on nect

 

 

 

 

And then click on finish and activate the web – service and then re-publish

 

After that we will generate WSDL generation, click on the below icon

 

 

And then click on save as below and once it has been saved then you need to click on WSDL generation and click on execute

 

 

 

You will get a WSDL file , save the file on your local machine with .wsdl extension