OData Development using SAP ABAP RAP

by | Aug 24, 2021 | ABAP RAP

Home » SAP » ABAP » ABAP RAP » OData Development using SAP ABAP RAP

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

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

  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

Author

0 Comments

Submit a Comment

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.

Author