Getting Started

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Identify and maximize the functionalities of Eclipse

ABAP Cloud Project Creation in ADT

Eclipse and ABAP Development Tools

Introduction

To develop ABAP applications for SAP BTP, first download the Eclipse development environment for free from eclipse.org. Next, to obtain the ABAP Development Tools, do the following:

  1. Open Eclipse.
  2. Choose HelpInstall New Software.
  3. Now, in the dialog box that appears, enter the following: https://tools.hana.ondemand.com/latest.
  4. Be sure to check for updates in the following: HelpCheck for Updates.

Different Types of ABAP Projects

As a development environment, Eclipse is not embedded in the ABAP system. Instead, you must connect it to each ABAP system in which you want it to work. Each connection is represented in Eclipse by a project.

There are two kinds of projects in ADT:

  1. ABAP Projects: This connects to an on-premise ABAP system.
  2. ABAP Cloud Projects: This connects either to SAP BTP ABAP or to SAP S/4HANA Cloud.

In this unit, we will only be looking at the cloud environment.

Overview of the ABAP Environment

The SAP Business Technology Platform is SAP's platform as a service (PAAS). To access it, you need to create a global account. Within your global account are sub-accounts. Each sub-account can be configured differently, so that a single enterprise can run several different platforms but manage their subscription using just the single global account. Inside the sub-account, you deploy a runtime such as Cloud Foundry or Kyma. Only then you can deploy an ABAP instance.

In this course, we are using an ABAP instance deployed on the SAP Business Technology Platform or BTP. However, the material is also relevant for other ABAP deployments, such as an on-premises SAP S/4HANA system or an SAP S/4HANA Cloud system.

How to Set Up the Service Key

To retrieve the service key, complete the following steps.

Steps

  1. Log onto your global account.

  2. Navigate to the corresponding subaccount in which the ABAP service is running.

  3. Choose Instances and Subscriptions on the left-hand side of the screen.

  4. Scroll to Instances.

  5. Find the ABAP instance.

  6. In the Credentials column, there is a link to the service key.

  7. Select the link to access the Creating an ABAP Cloud Project dialog box.

  8. To copy the contents of the key to the clipboard, choose Copy JSON.

Create your ABAP Cloud Project

Business Example

You must already have an SAP BTP account with an ABAP service and service key. You must also have installed Eclipse and the SAP ABAP Development Tools.

Prerequisites

Steps

  1. Log on to your subaccount in SAP BTP and copy the ABAP service key into your clipboard.

    1. Start the SAP BTP Cockpit and choose the subaccount containing your ABAP service.

    2. Choose Instances and Subscriptions.

    3. In the Instances box, select the Key(s) entry under Credentials.

    4. Choose Copy JSON and select Close.

  2. Open Eclipse and switch to the ABAP perspective.

    1. Open Eclipse and close the Welcome tab (if it is open).

    2. Choose WindowPerspectiveOpen PerspectiveOther.

    3. In the dialog box, double-click ABAP.

    4. Choose FileNewABAP Cloud Project.

    5. Select Use a Service Key and choose Next.

    6. Paste the service key into the editor with the key combination, Ctrl + V, and choose Next.

    7. Choose Open Logon Page in Browser.

      When you see the message, you have been successfully logged on.

    8. Close the browser window and return to Eclipse.

    9. To finish creating the project, choose Finish.

    Practice

Save progress to your learning plan by logging in or creating an account