SAP BTP training notes from real projects

I work on SAP integration and BTP projects, and this is where I write down what I teach: how Integration Suite, CPI-DS, API Management, Advanced Event Mesh, SAP Cloud ALM, SAP CAPM, RAP ABAP, Joule, generative AI, Intelligent RPA and IBP actually work, with the steps, settings and mistakes you only learn on a project.

Every course is free to read. Each module ends with a short lab and a quiz so you can check yourself.

Courses

Finished courses are linked. The others are being written and will appear here as they are ready.

CourseWhat you learnLengthStatus
SAP Integration SuiteTenant setup, iFlow design, every mapping node function, adapters, security, JMS and error handling, B2B, PI/PO migration, and a full Pipeline Concept example (sync and async)15 modulesAvailable
SAP API ManagementProxies and flows, traffic, mediation and security policies with working XML, products, monetization, analytics, and an end-to-end Partner Order API14 modulesAvailable
SAP Intelligent RPA / Build Process AutomationClassic IRPA and today's SAP Build Process Automation: capture, design, testing, triggers, monitoring, plus an invoice bot and an attended bot12 modulesAvailable
SAP Advanced Event MeshEvent-driven basics, brokers, topic design, queues, S/4HANA business events, the Cloud Integration adapter, mesh and operations8 modulesAvailable
RAP ABAPCDS view entities, behavior definitions, managed and unmanaged, draft, EML, service binding and testing10 modulesStudy guide on this page
SAP CAPMCDS models and services in Node.js, handlers, HANA Cloud, security, MTA deployment and Fiori elements—In preparation
Open ConnectorsConnector instances, common resources and calling SaaS apps from iFlows—In preparation
JouleJoule setup and Joule Studio skills and agents—In preparation
Generative AI and agentic AI on BTPAI Core, Generative AI Hub, RAG on HANA Cloud, agents that use SAP APIs as tools—In preparation
SAP IBPPlanning areas, key figures, supply and demand planning and IBP integration—In preparation

Where to start

Three orders I recommend, depending on the job you want.

Integration developer

For PI/PO consultants moving to the cloud, or anyone new to SAP integration.

  1. Integration Suite, modules 1 to 8
  2. API Management
  3. Advanced Event Mesh
  4. Pipeline Concept example and PI/PO migration

BTP developer

For ABAP and JavaScript developers building clean-core extensions.

  1. RAP ABAP study guide
  2. SAP CAPM (in preparation)
  3. Designing and consuming APIs
  4. Integration Suite basics

Automation and AI

For people automating processes with bots, workflows and AI.

  1. Intelligent RPA / Build Process Automation
  2. Why APIs need to be managed
  3. Generative AI on BTP (in preparation)
  4. Joule (in preparation)

RAP ABAP study guide

My notes for learning the ABAP RESTful Application Programming Model, in the order I teach it. Each module has what you learn, the terms to know, and an exercise. All exercises build one Travel app.

01ABAP Cloud and clean coreWhy RAP ABAP exists and where it runs45 min

You will learn

  • The ABAP Cloud development model and the clean-core idea
  • Released APIs and the language version "ABAP for Cloud Development"
  • Where RAP ABAP runs: BTP ABAP Environment, S/4HANA Cloud Public and Private Edition, on-premise 2022+
  • Packages, software components and transport with gCTS or abapGit

Key terms

ABAP CloudReleased APIC1 contractTier 1 / Tier 2ADTSoftware component
Exercise · Create package ZTRAVEL_RAP and a class that implements IF_OO_ADT_CLASSRUN. Run it with F9 and write "RAP ABAP setup OK" to the console.
02Data model with CDS view entitiesTables, root entity, child entity1 h 30 min

You will learn

  • Designing the persistence: UUID keys and admin fields (created/changed by, timestamps)
  • Root view entities and the business object hierarchy
  • Associations versus compositions, and the to-parent association
  • Semantic annotations for currency, quantity and ETag fields

Key terms

define root view entitycomposition ofassociation to parent@Semanticssysuuid_x16
define root view entity ZR_TRAVEL
  as select from ztravel_a
  composition [0..*] of ZR_BOOKING as _Booking
{
  key travel_uuid    as TravelUUID,
      travel_id      as TravelID,
      begin_date     as BeginDate,
      @Semantics.amount.currencyCode: 'CurrencyCode'
      total_price    as TotalPrice,
      currency_code  as CurrencyCode,
      @Semantics.systemDateTime.localInstanceLastChangedAt: true
      local_last_changed_at as LocalLastChangedAt,
      _Booking
}
Exercise · Create tables ZTRAVEL_A and ZBOOKING_A, then root entity ZR_TRAVEL with a composition to ZR_BOOKING. Fill test data with a classrun class and check it in the Data Preview.
03Projections, UI annotations and value helpsShaping the app for one consumer1 h

You will learn

  • Projection views with provider contract transactional_query
  • Metadata extensions (.ddlx) for @UI.lineItem, @UI.facet and @UI.selectionField
  • Value helps with @Consumption.valueHelpDefinition
  • Search and text associations

Key terms

as projection ontransactional_query@Metadata.allowExtensions@UI.facetvalueHelpDefinition
Exercise · Build ZC_TRAVEL and ZC_BOOKING, add a metadata extension with a list report and an object page with a Bookings table facet.
04Behavior definition and the managed scenarioMaking the business object transactional1 h 30 min

You will learn

  • Managed implementation: the framework handles create, update, delete and save
  • Numbering: managed UUID, early and late numbering
  • Static field control: readonly, mandatory, readonly:update
  • Locking, ETags and the behavior pool (handler and saver classes)
  • Mapping CDS element names to table fields

Key terms

managedstrict ( 2 )lock masteretag mastermapping fornumbering : managed
Exercise · Create the behavior definition for ZR_TRAVEL with managed UUID numbering, then create, change and delete a travel through the Fiori preview.
05Determinations, validations and actionsBusiness logic in the behavior pool2 h

You will learn

  • Determinations on modify and on save (for example, set status, calculate total price)
  • Validations on save and filling FAILED and REPORTED with messages
  • Instance actions, factory actions and static actions
  • Dynamic feature control with instance features

Key terms

determinationvalidationaction … result [1] $selffeatures : instanceFAILEDREPORTED
Exercise · Add validateDates (end date after begin date), a determination that recalculates TotalPrice from bookings, and actions acceptTravel and rejectTravel that are disabled once the status is final.
06Draft handlingLet users save work in progress1 h

You will learn

  • Enabling draft with draft tables and total ETag
  • Draft actions: Edit, Activate, Discard, Resume and Prepare
  • How validations run during Prepare in a draft app
  • Exclusive locks versus draft locks

Key terms

with draftdraft tabletotal etagdraft determine action Prepare%is_draft
Exercise · Generate ZTRAVEL_D and ZBOOKING_D, enable draft, and test that an unsaved change survives a browser refresh.
07Entity Manipulation Language (EML)Reading and changing RAP ABAP objects from ABAP1 h 15 min

You will learn

  • READ ENTITIES, MODIFY ENTITIES and COMMIT ENTITIES
  • The response structures MAPPED, FAILED and REPORTED
  • IN LOCAL MODE inside the behavior pool
  • Derived types such as TABLE FOR CREATE and %cid
MODIFY ENTITIES OF zr_travel
  ENTITY Travel
    CREATE FIELDS ( TravelID BeginDate CurrencyCode )
    WITH VALUE #( ( %cid = 'T1' TravelID = '1001'
                      BeginDate = cl_abap_context_info=>get_system_date( )
                      CurrencyCode = 'EUR' ) )
  MAPPED DATA(mapped)
  FAILED DATA(failed)
  REPORTED DATA(reported).

COMMIT ENTITIES.
Exercise · Write a classrun class that creates a travel with two bookings in one EML call, commits it, then reads it back and prints the total price.
08Service definition, binding and Fiori elementsExposing the BO as OData V445 min

You will learn

  • Service definitions and the expose statement
  • OData V4 UI versus Web API bindings
  • Publishing the binding and testing in the Fiori elements preview
  • Next steps: a Fiori elements project in Business Application Studio and deployment to the Launchpad or Work Zone

Key terms

define serviceexposeOData V4 - UIOData V4 - Web APIFiori elements preview
Exercise · Create ZUI_TRAVEL and binding ZUI_TRAVEL_O4, publish it, and run the full list report and object page with draft.
09Unmanaged scenario and legacy reuseWrapping existing logic in RAP ABAP1 h 30 min

You will learn

  • When to choose unmanaged over managed
  • Implementing create, update, delete and read in the handler class
  • The transactional buffer and the saver class (finalize, check_before_save, save)
  • Managed with unmanaged save and with additional save
  • Wrapping released BAPIs and function modules

Key terms

unmanagedtransactional buffercl_abap_behavior_saverwith unmanaged savewith additional save
Exercise · Build an unmanaged Booking Supplement BO that reuses an existing function module through a buffer class.
10Authorization, testing and go-liveMaking it production ready1 h 30 min

You will learn

  • CDS access control (DCL) for read authorization
  • Global and instance authorization in the behavior definition
  • ABAP Unit tests for behavior logic with test doubles
  • Business roles, IAM apps and catalogs in the ABAP Environment

Key terms

define roleauthorization master ( global, instance )ABAP Unitcl_botd_txbufdbl_bo_test_envIAM app
Exercise · Restrict travels by agency with DCL, add instance authorization for acceptTravel, and write two unit tests for validateDates.

Code samples

Small pieces I use again and again: a CAP service definition, a Groovy script for Cloud Integration, and my RAP ABAP revision notes. Copy them and change them for your own project.

The full examples are inside the courses.

srv/cat-service.cds · SAP CAPM
using { sap.capire.bookshop as my } from '../db/schema';

// Read-only catalogue + one bound action
service CatalogService @(path: '/browse') {

  @readonly entity Books as projection on my.Books {
    *, author.name as author
  } excluding { createdBy, modifiedBy };

  @requires: 'authenticated-user'
  action submitOrder (book: Books:ID, quantity: Integer)
    returns { stock: Integer };
}
Jagadish Parri

Jagadish Parri

Senior SAP BTP Specialist

I'm a Senior SAP BTP Specialist. These are the areas I work in and teach:

  • SAP BTP Integration Suite
  • SAP Cloud Integration for data services (CPI-DS)
  • SAP API Management
  • SAP Advanced Event Mesh
  • SAP Cloud ALM
  • SAP CAPM
  • RAP ABAP
  • Joule AI
  • Generative AI on BTP
  • SAP Intelligent RPA
  • SAP IBP

I started SAPTechie to share what I teach colleagues on projects: what to set up first, which settings really matter, and what usually goes wrong. The courses here are my own notes, rewritten so anyone can follow them.

If something is unclear or out of date, tell me through the newsletter form and I will fix it.

Newsletter

One practical note a week when a new module is published.