Skip to Content

Make ABAP custom business object service's consumable on SAP Cloud Platform via OAuth

Previous

Make ABAP custom business object service's consumable on SAP Cloud Platform via OAuth

By Merve Yalcin

Make an ABAP custom business object's service consumable on SAP Cloud Platform via OAuth. Enhancing the Platform subaccount's destination to the services S/4HANA system.

Details

You will learn

  • How to add a service scope to your destination
  • How to create a UI project

This tutorial describes how to make a custom business object’s service consumable on SAP Cloud Platform in case of OAuth authentication. This will be done by enhancing the Platform subaccount’s destination to the services S/4HANA system. The service will be added to the scope of the destination. At the end you cannot only choose the service in SAP Web IDE, but also retrieve its data.


Step 1: Search SAP Web IDE

Go to your SAP Cloud Platform subaccount and click on Services, search for SAP Web IDE and select it on your SAP Cloud Platform account.

Open SAP Web IDE

Click Go to Service to open SAP Web IDE.

View service catalog
Step 2: Select new project

Select New Project from Template to generate one.

Select new project

If you don’t see this welcome page then follow the alternative way:
File -> New -> Project from Template

Step 3: Create UI project

Choose the List Report Application to create a new UI.

Create UI project
Step 4: Enter basic information

Enter Bonusplan as project name and title.

Enter basic information

Click Next.

Step 5: Explore business object's service in SAP Web IDE

Search for YY1_BONUSPLAN_CDS and open the list. Now you can see following:

Explore business object’s service in SAP Web IDE

Without YY1_BONUSPLAN_CDS_0001 as parameter in your scope you wouldn’t be able to select YY1_BONUSPLAN_CDS_0001 as service to create your UI project. All other services still cannot be selected.

Updated 09/18/2018

Time to Complete

15 Min.

Beginner

Prerequisites

Next
Back to top