Register Login

Create a Web Service

This SAP tutorial explains step by step procedure to create a Web Service with a simple scenario.

What are Web Services?

Web service self-describing application function or service that is used to perform multiple tasks. Web services can be described, made available, located and transformed, or called with the help of standard Internet Protocols. 

How to Create a Web Service with Simple Scenario?

Please follow the steps below to create web services in a simple scenario:

Enter t-code SE37 in the SAP command field and execute it.

SE37

On the next screen enter Function Module ME_GET_CURRENT_USER_ID and click the Display button.

FM

 

 

Next, go to Utilities  -> More Utilities  -> Creating a Web Service  -> From Function Module

utilities

Now in the Web Service Creation Wizard, input name ad description for the Web Service Definition as shown in the image below:

description of web service

Click the Continue button to proceed.

Continue

On the next screen select the checkbox Map Name.

Map name

Click the Continue button again.

Continue

On the next screen enter the following details and click the Continue button.

  • SOAP Appl
  • Profile

SOAP Appl

Next, select the Package name or select Local Object and click the Continue button.

Package

 

Finally when all the details are executed click the Complete button to exit Web Services wizard.

Complete

At last click the Save button to save the new web service in your SAP system.

Save

You have successfully created a Web Service with a simple scenario.