OData Development using SAP ABAP RAP

Preface – This post is part of the SAP ABAP RAP series.


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

  1. Create Service Definition
  2. Expose Services
  3. Create Service Binding
  4. Select service type as OData while creation. Click Finish.
  5. Activate service

Create Service Definition

Right-click on Package >> New >> Other Repositories Objects >> Service Definition.
Provide the details to create a Service Definition.

Create Service Definition

Once the Service Definition is created, expose the required entities and activate it.

expose the required entities

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.

SAP RAP Create Service Binding

Verify the information and click on activate.

OData Publish SAP RAP


  • Barry Allen

    A Full Stack Developer with 10+ years of experience in different domain including SAP, Blockchain, AI and Web Development.

    View all posts


Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.