Ready to code? This guide sets up your complete ABAP Cloud development environment - from zero to your first “Hello World”.
Estimated time: 45-60 minutes
What You Need
- Computer: Windows, macOS, or Linux
- RAM: Minimum 8 GB (16 GB recommended)
- Hard Drive: 5 GB free
- Internet: Stable connection
- SAP Account: Free (Instructions)
Step 1: Install Java (10 Min)
ADT (ABAP Development Tools) is based on Eclipse and requires Java.
1.1 Check Java Version
Windows:
java -versionmacOS/Linux:
java -versionRequired: Java 17 or higher
If not installed: Continue with 1.2
1.2 Download Java
Option A: OpenJDK (recommended)
- Go to adoptium.net
- Select Temurin 17 (LTS)
- Download for your OS
- Install
Option B: Oracle JDK
- Go to oracle.com/java
- Download Java 17
- Install
1.3 Set JAVA_HOME
Windows:
- Control Panel → System → Advanced System Settings
- Environment Variables
- New:
JAVA_HOME=C:\Program Files\Java\jdk-17 - Edit Path, add:
%JAVA_HOME%\bin
macOS/Linux:
# In ~/.bashrc or ~/.zshrcexport JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Homeexport PATH=$JAVA_HOME/bin:$PATHTest:
java -version# Should show: openjdk version "17.x.x"Step 2: Install Eclipse (10 Min)
2.1 Download Eclipse
- Go to eclipse.org/downloads
- Download Eclipse IDE for Java Developers
- Version: 2024-12 or newer
2.2 Install Eclipse
Windows:
- Run the installer
- Choose installation folder (e.g.,
C:\eclipse) - Launch
macOS:
- Open DMG
- Drag Eclipse.app to Applications
- Launch (adjust security settings if needed)
Linux:
tar -xzf eclipse-*.tar.gzcd eclipse./eclipse2.3 Choose Workspace
On first launch:
- Workspace:
C:\abap-workspace(Windows) or~/abap-workspace(Mac/Linux) - Enable “Use this as default”
- Launch
Step 3: Install ABAP Development Tools (ADT) (15 Min)
3.1 Open ADT Install Site
In Eclipse:
- Help → Install New Software
- Click Add
- Name:
ADT - Location:
https://tools.hana.ondemand.com/latest - Add
3.2 Select ADT
-
List loads…
-
Expand ABAP Development Tools
-
Select all components:
- ABAP Development Tools
- ABAP Development Tools for ABAP Platform
- ABAP Development Tools for SAP BTP
- ABAP RESTful Application Programming Model Tools
- ABAP Search and Analysis Tools
-
Next → Next
-
Accept license → Finish
3.3 Wait for Installation
- Download: ~300 MB
- Duration: 5-10 min
- On security warning: Install anyway
3.4 Restart Eclipse
Important: Restart Eclipse after installation!
Step 4: Create SAP BTP Trial Account (10 Min)
If you don’t have one yet: SAP BTP Trial Account Guide
Quick version:
- Go to sap.com/products/technology-platform/trial
- Click “Start your free trial”
- Login with SAP account
- Verify phone number
- Region: Select US East (VA)
- Create account (5-10 min)
Activate ABAP Trial:
- Open Trial Subaccount
- Service Marketplace → ABAP Trial
- Click Create
- Wait (~10 min)
Step 5: Create ABAP Project in ADT (5 Min)
5.1 Open ABAP Perspective
In Eclipse:
- Window → Perspective → Open Perspective → Other
- Select ABAP
- Open
5.2 Create System Connection
-
File → New → ABAP Cloud Project
-
System Connection:
- Select Service Instance
- Cloud Foundry Environment
- Region: US East
- Login with SAP account
- Select Space & Instance
-
Next
5.3 Enter Logon Data
- User: Your SAP email
- Password: SAP account password
- Finish
Result: ABAP Project appears in Project Explorer!
Step 6: First “Hello World” (5 Min)
6.1 Create Package
- Right-click on $TMP (or ZLOCAL)
- New → ABAP Package
- Name:
ZHELLO - Description:
Hello World Package - Next → Finish
6.2 Create ABAP Class
- Right-click on
ZHELLO - New → ABAP Class
- Name:
ZCL_HELLO_WORLD - Description:
Hello World Class - Next → Finish
6.3 Write Code
CLASS zcl_hello_world DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. INTERFACES if_oo_adt_classrun.ENDCLASS.
CLASS zcl_hello_world IMPLEMENTATION. METHOD if_oo_adt_classrun~main. out->write( 'Hello ABAP Cloud!' ). out->write( |System Date: { cl_abap_context_info=>get_system_date( ) }| ). ENDMETHOD.ENDCLASS.6.4 Activate & Run
- Save:
Ctrl+S - Activate:
Ctrl+F3 - Run:
F9(or Right-click → Run As → ABAP Application)
Result in Console:
Hello ABAP Cloud!System Date: 2026-02-15Congratulations! Your first ABAP Cloud program is running!
Step 7: Configure ADT (10 Min)
7.1 Change Theme (Optional)
Dark Theme:
- Window → Preferences
- General → Appearance
- Theme: Dark
- Apply and Close
7.2 Adjust Font Size
- Window → Preferences
- General → Appearance → Colors and Fonts
- Basic → Text Font → Edit
- Size: 12-14pt
- Apply
7.3 Enable Auto-Save
- Window → Preferences
- General → Editors → Autosave
- Enable Enable autosave
- Interval: 30 seconds
7.4 Code Templates
- Window → Preferences
- ABAP Development → Editors → Source Code Editors → Code Templates
Important Templates:
method→ Method templatetrycatch→ Try-Catch blockloop→ LOOP AT template
Step 8: Install Useful Plugins (10 Min)
8.1 abapGit
Git integration for ABAP:
- Help → Install New Software
- Add:
https://eclipse.abapgit.org/updatesite/ - Select abapGit
- Finish
8.2 ABAP Cleaner
Code formatter:
- Help → Install New Software
- Add:
https://eclipse.abap-cleaner.org/updatesite/ - Select ABAP Cleaner
- Finish
Usage:
Ctrl+4→ Formats current file
8.3 ABAP Quick Fix
Already included in ADT!
Usage:
Ctrl+1→ Quick Fix suggestions
Step 9: Essential Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+Space | Code Completion |
Ctrl+S | Save |
Ctrl+F3 | Activate |
F9 | Run As ABAP Application |
F8 | Debug (Resume) |
F5 | Debug (Step Into) |
F6 | Debug (Step Over) |
Ctrl+Shift+F | Format |
Ctrl+Shift+A | Search Object |
Ctrl+Shift+G | Where-Used |
Ctrl+Shift+T | Type Hierarchy |
Ctrl+1 | Quick Fix |
Ctrl+4 | ABAP Cleaner |
Alt+← / Alt+→ | Navigation back/forward |
PDF Cheat Sheet: Eclipse Shortcuts
Step 10: First Steps After Setup
Next Tutorials
- RAP Tutorial Part 1
- ABAP Cloud Cheat Sheet
- CDS Views Deep Dive
Join the Community
Further Learning
- openSAP Courses
- SAP Learning Hub
- ABAP Cloud Developer Roadmap
Troubleshooting
Problem: “Could not connect to system”
Solution:
- Check SAP BTP Account status
- Is Trial still active? (90 days)
- Check internet connection
- Proxy settings in Eclipse
Problem: “Java version not supported”
Solution:
- Install Java 17+
- Set JAVA_HOME correctly
- Restart Eclipse
Problem: ADT not visible
Solution:
- Window → Perspective → Open Perspective → ABAP
- Restart Eclipse
- Reinstall ADT
Problem: Slow Performance
Solution:
- Give Eclipse more RAM:
- Edit
eclipse.ini - Increase
-Xmx2048mto-Xmx4096m
- Edit
Setup Checklist
- Java 17+ installed
- Eclipse IDE installed
- ADT plugin installed
- SAP BTP Trial Account created
- ABAP Trial activated
- ABAP Cloud Project created
- “Hello World” successful
- abapGit installed (optional)
- ABAP Cleaner installed (optional)
- Shortcuts learned
Everything checked? You’re ready for ABAP Cloud Development!
See also:
- Try SAP BTP for Free
- ABAP Cloud Developer Roadmap
- RAP Tutorial Series
Happy Coding!