Day 1: Introduction to ABAP on HANA
Day 1: Introduction to ABAP on HANA
What is ABAP on HANA?
Code Pushdown concept
Differences: Classical ABAP vs ABAP on HANA
Tools: Eclipse/ADT, HANA Studio vs SE80
Setup environment (if needed)
What is ABAP on HANA?
Code Pushdown concept
Differences: Classical ABAP vs ABAP on HANA
Tools: Eclipse/ADT, HANA Studio vs SE80
Setup environment (if needed)
Tasks:
Read SAP Help documentation
Watch SAP DevTuts video (YouTube/learning.sap.com)
Write Hello World CDS view in ADT
1️⃣ What is ABAP on HANA?
Verified Source: SAP Help: ABAP on SAP HANA
ABAP on HANA is not a new language — it's the modern way to write ABAP code that uses SAP HANA’s in-memory capabilities.
It focuses on performance, clean architecture, and code pushdown to the database.
2️⃣ Code Pushdown Concept
Verified Source: SAP Blog - Code Pushdown Explained
Traditional ABAP fetches all data, then filters it in memory.
With HANA, logic should be executed at the DB level (pushdown), using:
CDS Views
AMDP (ABAP Managed DB Procedures)
Table Functions
Benefit: Less data transfer = Faster, more efficient programs.
3️⃣ Classical ABAP vs ABAP on HANA
4️⃣ Tools: Eclipse/ADT, HANA Studio vs SE80
Verified Source: SAP Help - ABAP Development Tools
✅ For ABAP on HANA & RAP, use Eclipse + ADT (ABAP Development Tools).
5️⃣ Write "Hello World" CDS View in ADT (Modern way)
Using: DEFINE VIEW ENTITY (SAP Recommended)
🔧 Steps:
In Eclipse → Right-click on your package → New → Data Definition
Name it ZDEMO_HELLO_ENTITY
Replace the code with:
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Hello World CDS View - ENTITY'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
define view entity ZDEMO_Hello_Entity as select from t100
{
key sprsl as Language,
key arbgb as MessageClass,
key msgnr as MessageNumber,
text as MessageText
}
where sprsl = 'E'
Activate it: Ctrl+F3
Right-click → Open With → Data Preview 🎉
📝 Task Checklist for Day 1:
✅ Understand ABAP on HANA basics✅ Learn the concept of Code Pushdown
✅ Know key differences: Classical vs HANA-Optimized ABAP
✅ Get familiar with tools: ADT, Eclipse
✅ Create your first CDS View (DEFINE VIEW ENTITY)
✅ Explore data in Data Preview
Comments
Post a Comment