Choose Function GroupLooking to integrate SAP with an external system? Thankfully, there are numerous ways to integrate external systems with SAP.

One of the most common integration methods is using RFC (Remote Function Call). However, using RFC can be challenging when the integration platform is not SAP PI/PO.

In this blog, you will learn we can convert the RFC module in SAP into a webservice that can be consumed easily by external systems.



Before we get started on the Inbound Web Service, we need to make sure to complete the following three steps:

1.     Activate Solution Manager in SAP (Trasanction SOA Manager).

2.     Activate webservice instance in transaction SCIF

3.     Create a custom function group and assign three or more function modules. 


Steps Create an Inbound Web Service

With those requests completed, we can now follow the steps needed to create a webservice from a function group with multiple function modules. Let's get started:


1. First, navigate to the transaction SE80 (Object Navigator) and then to the Repository Browser.

Transaction SE80 (Object Navigator)


2.     Choose 'Function Group' in the dropdown list below and specify the function group to be exposed as a webservice.

Choose Function Group


3.     Right-click on the function group folder and choose Create > Other objects > Enterprise Service. A pop-up window will appear to create the webservice. Specify the 'Service Definition' name: ZSD_RFM_SALESORDER

Enterprise Service


4.     Create an Endpoint Function Group. The Function group will be automatically selected, but make sure the correct function group was selected in Step 2. Function group: ZFGSD14

Create Endpoint Function Group


5.     Next, select the function modules that need to be included as operations of the web service.

Step is select the function modules



6.     Now you need to Configure Service. The SOAP Application should be filled automatically by the standard application. But for the profile, select 'Authentication with User and Password' and 'Transport Guaranteed.' Currently, in HMN K2, we are not using certificates as a method of authentication.

Web Service Configuration


7.     Click 'Next' and specify the Package and Request/Task and click finish. Service Definition (Web Service) should be created.

Web Service Definition


8.     After successfully creating the service definition, go to the transaction 'SOAMANAGER.' SOA MANAGEMENT will open in a web browser. Find on the screen and choose 'Web Service Configuration.'

Web Service Configuration


9.     Choose 'Service Definition' in the object type and specify the Service Definition ZSD_RFM_SALESORDER created in Step 8.

Service Definition


10.  Click on the created Service and specify the Service Name and Binding Name.

Service Name and Binding Name


11.  Click 'Next' and configure Provider Security. In this case, we will be using HTTPS (port 8081) and message authentication using USER ID/Password. We also have the possibility to use signature and encryption for a more complex level of security.

Provider Security

12.  Click 'Next' and configure soap protocol. Specify an alternative Access URL if your SAP system is using a load balancing system.

Configure Soap Protocol


13.  Click 'Next' and verify that all operations (function modules) are correct. If operations are correct, click 'Finish.' If these operations are not correct, you need to cancel the configuration and regenerate the webservice from Step 1.

ABAP - Inbound WebService


14.  Once you've verified everything, the service and binding should be created and in Active Status. You can click on the button with webservice logo below to get your WSDL.

ABAP - Inbound WebService


And that's it! You've now successfully converted the RFC module into a webservice that can be consumed easily by external systems.

Want to learn more helpful SAP development skills or refresh what you already know? Check out our SAP ABAP Programmer and SAP Web Application Developer Learning Paths, or browse our SAP Training Course Library

Author Photo

Michael Management Corporation (MMC) is an award-winning provider of hands-on SAP training simulations for global enterprises, government agencies and medium-sized businesses. MMC enables organizations to maximize business performance and minimize financial reporting errors through a combination of SAP eLearning content and SAP sandbox systems.
More Blogs by Michael Management:
sap id login
How to Create a Purchase Order - SAP Outline Agreement

In a previous article, we learned about outline agreement creation in SAP. In this article, we will outline the steps to create a purchase order with reference to the contract/outline agreement in SAP. Let's ...

sap certification linkedin
How to Showcase Your SAP Certifications

The Michael Management Corporation is a leading provider of cutting-edge education of SAP. Since we’ve introduced certifications, we've also established ourselves as an industry authority in ...

Creating Outline Agreements in SAP

A contract, of course, is an agreement between a vendor and a buyer. A contract is known as an “Outline Agreement” in SAP terms. The vendor agrees to provide certain goods/products to the ...