Setting Up ADT (Eclipse) for ABAP Cloud Development
Step-by-step guide to install Eclipse, add ABAP Development Tools, connect to SAP BTP ABAP Environment trial, and write your first ABAP Cloud program.
Setting Up ADT (Eclipse) for ABAP Development
What You'll Learn
- How to install Eclipse IDE and ABAP Development Tools (ADT)
- How to create a free SAP BTP ABAP Environment trial account
- How to connect ADT to your cloud system
- How to create your first ABAP Cloud project and package
- Your first "Hello World" in ABAP Cloud
Goodbye SE80, Hello Eclipse
If you've been using SE80 your entire ABAP career, this lesson is a significant shift. Eclipse with ADT is not just a different editor — it's a different way of working. You'll have code completion, inline error checking, refactoring tools, integrated testing, and the ability to work on multiple objects simultaneously in tabs.
Think of the shift like this: SE80 is a flip phone. It makes calls, it sends texts, it works. Eclipse ADT is a smartphone — same core functions, but with a modern interface that makes you dramatically more productive once you get past the learning curve.
Step 1 — Install Eclipse
Download Eclipse IDE for Java Developers (yes, Java — ADT runs as an Eclipse plugin):
- Go to
https://www.eclipse.org/downloads/ - Download Eclipse IDE for Java Developers (latest release)
- Install it — accept the defaults
- Launch Eclipse and choose a workspace directory (e.g.,
C:\eclipse-workspace\abap)
Important: Use the "Java Developers" package, not "Enterprise Java" or "C/C++". ADT is compatible with the Java Developers package.
Step 2 — Install ABAP Development Tools (ADT)
ADT is an Eclipse plugin provided by SAP:
- In Eclipse, go to Help → Install New Software
- Click Add and enter:
- Name:
ABAP Development Tools - URL:
https://tools.hana.ondemand.com/latest
- Name:
- Check ABAP Development Tools from the list
- Click Next, accept the license, and finish the installation
- Restart Eclipse when prompted
After restart, you should see ABAP-specific perspectives and menu options.
Expected Output (ADT Installed Successfully)
Eclipse Menu Bar now shows:
File | Edit | Navigate | Search | Project | Run | ABAP | Window | Help
ABAP Perspective available:
Window → Perspective → Open Perspective → Other → ABAP
Step 3 — Create a SAP BTP ABAP Environment Trial
SAP provides a free trial system — no cost, no credit card:
- Go to
https://www.sap.com/products/technology-platform/trial.html - Create a SAP Universal ID (or log in if you have one)
- Activate the SAP BTP Trial in your preferred region
- From the BTP cockpit, navigate to Instances and Subscriptions
- Create an instance of SAP BTP, ABAP Environment (trial plan)
- Wait for provisioning (~10 minutes)
Once provisioned, you'll see a service key with connection details.
Note: The trial has limitations (storage, runtime quotas), but it's more than enough for this entire course. TechMart's training environment uses the same trial system.
Step 4 — Connect ADT to Your BTP System
- In Eclipse, switch to the ABAP Perspective (Window → Perspective → Open Perspective → ABAP)
- In the Project Explorer, right-click → New → ABAP Cloud Project
- Select SAP BTP ABAP Environment
- Enter your service key or use the SAP Logon Service URL from the BTP cockpit
- Log in with your SAP Universal ID
- Name your project (e.g.,
TECHMART_CLOUD) - Click Finish
You should now see the system in your Project Explorer with expandable nodes for packages, dictionary objects, and more.
Expected Output (Connected to BTP)
Project Explorer:
▼ TECHMART_CLOUD [your-system-id]
▼ Favorite Packages
▼ Released Objects
▼ Core Data Services
▼ Classes/Interfaces
▼ ...
Step 5 — Create Your Package
Every object in ABAP Cloud lives in a package. Let's create TechMart's development package:
- Right-click your project → New → ABAP Package
- Enter:
- Name:
ZTECHMART_MODERN - Description:
TechMart Modern ABAP Development - Superpackage:
ZLOCAL(for local development on trial)
- Name:
- Click Next, select a transport request (or create a new one)
- Click Finish
Project Explorer:
▼ TECHMART_CLOUD
▼ Favorite Packages
▼ ZTECHMART_MODERN
(empty — we'll add objects starting next lesson)
Step 6 — Your First ABAP Cloud Program
Let's write a simple class to confirm everything works:
- Right-click
ZTECHMART_MODERN→ New → ABAP Class - Enter:
- Name:
ZCL_TM_HELLO_CLOUD - Description:
TechMart Hello Cloud - Add interface:
IF_OO_ADT_CLASSRUN
- Name:
- Click Next → select transport → Finish
The IF_OO_ADT_CLASSRUN interface lets you run a class directly from ADT — it's the ABAP Cloud equivalent of a Classic report program.
CLASS zcl_tm_hello_cloud DEFINITION
PUBLIC
FINAL
CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
ENDCLASS.
CLASS zcl_tm_hello_cloud IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
out->write( |Welcome to ABAP Cloud, TechMart developer!| ).
out->write( |Today's date: { cl_abap_context_info=>get_system_date( ) }| ).
out->write( |Your user: { cl_abap_context_info=>get_user_technical_name( ) }| ).
ENDMETHOD.
ENDCLASS.
Run it: Right-click the class → Run As → ABAP Application (Console)
Expected Output
Welcome to ABAP Cloud, TechMart developer!
Today's date: 2026-04-12
Your user: CB9876543210
Notice what's different from Classic ABAP:
- No
REPORTstatement — we use a class, not a program - No
WRITEstatement — we useout->write() - String templates with
| |instead of concatenation cl_abap_context_infoinstead ofsy-datumandsy-uname(those aren't available in ABAP Cloud)
ADT Tips for SE80 Veterans
| SE80 Habit | ADT Equivalent |
|---|---|
| Double-click to navigate | Ctrl+Click on any object name |
| F1 for help | F2 shows inline documentation |
| SE38 to create a report | Right-click package → New → ABAP Class (with IF_OO_ADT_CLASSRUN) |
| SE11 to view tables | Ctrl+Shift+A → search for table/CDS entity name |
| Pretty Printer | Shift+F1 (ABAP Formatter) |
| SE24 for classes | Just open the class file directly in ADT |
| Activation (Ctrl+F3 in SE80) | Ctrl+F3 in ADT too (this one stayed the same!) |
Pro tip: Learn Ctrl+Shift+A (Open ABAP Development Object) immediately. It's the universal search — type any object name and jump to it instantly. This alone makes ADT faster than SE80.
Common Mistakes
- Installing the wrong Eclipse package — The "Eclipse IDE for Enterprise Java and Web Developers" has conflicts with ADT. Use "Eclipse IDE for Java Developers."
- Not switching to ABAP Perspective — ADT features only appear in the ABAP perspective. If you don't see ABAP options, check Window → Perspective.
- Using
sy-system fields in ABAP Cloud —SY-DATUM,SY-UNAME,SY-SUBRCafter SQL are not available. Usecl_abap_context_infofor system info and inline error handling for SQL. - Creating objects in $TMP —
$TMPis for local throwaway objects. Use a proper Z-package for anything you want to keep. - Expecting SAP GUI transactions to work — SE11, SE37, SE80 — none of these are available in the BTP trial. Everything happens in ADT.
Key Takeaways
- Eclipse with ADT is the mandatory IDE for ABAP Cloud development. SE80 cannot create or edit cloud objects.
- SAP BTP ABAP Environment trial gives you a free cloud system for learning — no cost, no credit card.
- In ABAP Cloud, everything is a class. The
IF_OO_ADT_CLASSRUNinterface replaces classic report programs for console output. - Learn Ctrl+Shift+A, Ctrl+Click, and F2 immediately — they'll make you productive in ADT fast.
- Classic system fields like
sy-datumare replaced bycl_abap_context_infomethods.
Next Lesson
Now that your environment is ready, let's learn the modern ABAP syntax — inline declarations, string templates, constructor operators, and the new internal table expressions. If Classic ABAP was prose, modern ABAP is poetry — same ideas, fewer words. We'll convert TechMart code from Classic to Modern style side by side.