Preface – This post is part of the SAP ABAP RAP series.
Table of Contents
Introduction
In SAP ABAP RESTful Application programming, the business service is RESTful service which is called by end-users/customers. It consists of two parts: Service Definition and service binding. The service binding implements the protocol such as OData and the services to be consumed by customers. In this article we will learn OData development using SAP ABAP RAP.
Steps for OData development using SAP ABAP RAP
- Create Service Definition
- Expose Services
- Create Service Binding
- Select service type as OData while creation. Click Finish.
- Activate service
Create Service Definition
Right-click on Package >> New >> Other Repositories Objects >> Service Definition.
Provide the details to create a Service Definition.
Once the Service Definition is created, expose the required entities and activate it.
Create Service Binding
Right-click on Package >> New >> Other Repositories Objects >> Service Binding.
Provide Package details, Name, Description and Service Definition name. Select the Binding Type as ODATA to create OData Service Binding.
Verify the information and click on activate.
0 Comments