sapui5tutors SAPUI5 • Fiori • SAP BTP Step-by-step tutorials Real project examples Interview Q&A
Practical SAPUI5 • Fiori • SAP BTP tutorials and interview prep
Showing posts with label 2026. Show all posts
sapui5tutors

SAP Integration Suite Interview Questions

05:21:00

Integration Suite Overview

What is SAP Integration Suite, and what does it replace?

Integration Suite is SAP's BTP-based integration platform as a service, succeeding SAP PI/PO for cloud and hybrid scenarios. It bundles Cloud Integration (message flows), API Management, Event Mesh, Integration Advisor, and Open Connectors. The strategic message: new integrations go to Integration Suite; PI/PO stays for legacy on-premise maintenance.

What are the main capabilities inside the suite?

Cloud Integration designs and runs iFlows — the successor to PI/PO message mappings. API Management exposes and governs APIs with policies and developer portals. Event Mesh provides event-driven messaging across systems. Integration Advisor suggests mappings using machine learning. Know all four by name and one-line purpose.

How is Cloud Integration licensed and structured in 2026?

Cloud Integration runs on BTP as a subscribed service with message-based metering. Development happens in the web-based Integration Flow designer; deployment targets the Cloud Integration runtime tenant. Avoid quoting specific prices in interviews — pricing models change; instead show you understand the message-volume concept.

Key takeaway: Integration Suite = iPaaS on BTP. Cloud Integration is the iFlow engine; API Management, Event Mesh, and Integration Advisor orbit it.


iFlows: Design and Mapping

What is an iFlow, and what are its core building blocks?

An iFlow is a graphical integration flow: sender adapter, message processing steps, and receiver adapter. Core steps include Content Modifier (headers, properties, body), Message Mapping (structure transformation), Groovy scripting, Router (conditional branching), and Request-Reply for synchronous calls. If you can sketch an iFlow on a whiteboard, you pass the practical bar.

How does message mapping work in Cloud Integration?

The graphical Message Mapping editor transforms source to target structures with drag-and-drop and standard functions (concat, formatDate, constants). Complex logic goes to Groovy scripts or XSLT mappings attached as mapping steps. Integration Advisor can propose mappings from its knowledge base of B2B and SAP interfaces.

When do you use Groovy script instead of graphical mapping?

Groovy handles logic the mapper cannot: dynamic lookups, complex string manipulation, JSON parsing edge cases, and custom validation. Keep scripts small and testable — a 300-line Groovy step is a maintenance liability. Interviewers like hearing that you prefer the mapper for structure and Groovy for logic.

// Groovy: read a header and set a property for routing
def message = message;
def region = message.getHeader("Region", String);
message.setProperty("TargetSystem",
    region == "EU" ? "S4_EU" : "S4_US");
return message;

What is the difference between synchronous and asynchronous iFlows?

Synchronous flows use Request-Reply with sender adapters like HTTPS or SOAP waiting for the response — used for real-time lookups. Asynchronous flows use polling or event-based senders (SFTP, IDoc, JMS) with guaranteed delivery through the messaging system. The choice affects error handling, timeouts, and exactly-once semantics.


Adapters and Connectivity

Which adapters matter most, and when is each used?

HTTPS/SOAP for web services and synchronous calls, SFTP for file transfer, IDoc and RFC for SAP backend connectivity, OData for S/4HANA APIs, JMS for messaging, and Mail for email alerts. The Cloud Connector bridges on-premise systems to the BTP tenant securely. Name the adapter by scenario, not from memory of a list.

How do you connect Cloud Integration to an on-premise S/4HANA system?

Install the Cloud Connector in the corporate network, define the accessible backend hosts and ports, and reference the virtual host in the iFlow's receiver channel. Authentication typically uses basic auth, client certificates, or OAuth2 via a destination in BTP. The Cloud Connector initiates outbound TLS, so no inbound firewall holes are needed.

What is a JMS queue's role in reliable integration?

JMS queues decouple sender and receiver with persistent, transactional messaging — the backbone of exactly-once processing in async scenarios. Failed messages land in dead-letter handling for analysis and replay. When an interviewer asks about guaranteed delivery, JMS persistence is the core of the answer.

Key takeaway: Adapters are chosen by scenario; the Cloud Connector is the on-premise bridge; JMS gives you reliability guarantees async HTTP cannot.


Security, Monitoring, and Operations

How is security handled in Cloud Integration artifacts?

Credentials live in the Security Material section as User Credentials, OAuth2 credentials, or keystore entries — never hardcoded in flows. PGP encryption, message-level signatures, and HTTPS/TLS cover transport and payload protection. Certificate expiry monitoring is an operational duty interviewers love to probe.

How do you monitor and troubleshoot iFlows?

The Monitor section shows message processing logs with per-step trace, payloads (where logging is enabled), and error details. Enable trace selectively — full payload logging in production is a performance and compliance risk. Common triage: check the failed step, inspect the payload at that step, then verify connectivity and credentials.

What is exception handling best practice in an iFlow?

Use Exception Subprocesses to catch errors per integration process or per step, route failures to alerting (mail, ticket creation), and persist the failed payload for replay. Design for idempotent receivers so replays don't duplicate business documents. "It just fails and someone checks the monitor" is not an acceptable answer.

What does API Management add on top of Cloud Integration?

API Management governs API exposure: rate limiting, quota policies, API keys and OAuth scopes, developer portal for discovery, and analytics on usage. Cloud Integration implements the integration logic; API Management productizes the resulting API for consumers. In interviews, keep the separation crisp: build vs govern.

How does Event Mesh fit into an integration architecture?

Event Mesh provides asynchronous event brokering — systems publish business events (order created, goods issued) and subscribers react without point-to-point coupling. It complements iFlows: use events for decoupled notifications, iFlows for orchestrated transformations. S/4HANA business events flowing to BTP apps is the canonical 2026 scenario.

Facing an Integration Suite interview? Drop your hardest scenario in the comments.

Read more →
sapui5tutors

SAP HANA Interview Questions for Developers

05:21:00

HANA Architecture Basics

What makes SAP HANA different from a traditional disk-based database?

HANA is an in-memory, columnar database: tables live in RAM in column format, which makes aggregations and scans dramatically faster. It combines OLTP and OLAP in one engine, so operational and analytical workloads run on the same data without replication. For developers, the practical effect is that heavy lifting moves into the database layer.

Row store vs column store — when does each apply?

Column store is the default and suits analytical access — reading few columns across many rows. Row store fits transactional patterns touching whole rows by primary key, like configuration tables. HANA chooses column store automatically for most tables; you switch to row store explicitly only for narrow, write-heavy system tables.

What is code push-down and why do interviewers keep asking about it?

Code push-down means executing data-intensive logic inside HANA (SQLScript, CDS, calculation views) instead of fetching rows to the application server. Less data transfer, parallel columnar execution, and lower ABAP memory consumption. If your answer to a performance question doesn't mention push-down, it is probably incomplete.

Key takeaway: HANA rewards set-based, in-database logic and punishes row-by-row ABAP loops over large datasets. Design with that asymmetry in mind.


SQLScript and AMDP

What is SQLScript, and when should a developer write it?

SQLScript is HANA's procedural extension to SQL for complex data logic — loops, conditionals, and table variables — that plain SQL cannot express. Use it inside table functions, procedures, and calculation view script nodes. Prefer declarative SQL or CE functions first; reach for imperative SQLScript only when set logic is genuinely insufficient.

What is AMDP and how does it relate to ABAP?

ABAP Managed Database Procedures let ABAP developers write database procedures in SQLScript managed as ABAP repository objects. The AMDP class method carries the SQLScript body, runs in HANA, and is called like a normal ABAP method. It is the sanctioned way to put HANA-native logic under ABAP version control and transport.

CLASS zcl_calc DEFINITION PUBLIC.
  PUBLIC SECTION.
    INTERFACES if_amdp_marker_hdb.
    METHODS get_totals
      IMPORTING VALUE(iv_bukrs) TYPE bukrs
      EXPORTING VALUE(et_data) TYPE ztt_totals.
ENDCLASS.
"Implementation uses METHOD ... BY DATABASE PROCEDURE
" FOR HDB LANGUAGE SQLSCRIPT.

What are table variables and CE functions in SQLScript?

Table variables hold intermediate result sets within a procedure without materializing temp tables. CE functions (CE_PROJECTION, CE_AGGREGATION, CE_JOIN) are the older calculation-engine API for column operations. Modern code favors plain SQLScript SELECTs; CE functions survive mainly in migrated legacy procedures.


Modeling: Calculation Views vs CDS

Calculation view vs CDS view — which should you use?

Calculation views are HANA-native graphical/SQLScript models, strong for complex analytics with hierarchies, unions, and scripted nodes. CDS views are ABAP-managed, transportable with the application, and integrate with OData, DCL, and RAP. In S/4HANA ABAP development, CDS is the default; calculation views fit BW/4HANA and native HANA scenarios.

What are the node types in a graphical calculation view?

Projection nodes filter and shape columns, join nodes combine data sources, union nodes stack them, aggregation nodes group and sum, and rank nodes compute top-N. Script-based nodes embed SQLScript for logic the graphical nodes cannot express. Knowing the node palette and when to use a script node is standard interview fare.

How do input parameters work in calculation views?

Input parameters make a calculation view context-dependent — a posting date or company code the consumer supplies at runtime. They enable currency conversion with date-specific rates and partitioned pruning. From ABAP, pass them via parameterized CDS consumption or explicit parameter mapping in the data preview.

Key takeaway: CDS for ABAP-managed models with security and OData; calculation views for native HANA analytics. Input parameters keep both reusable.


Performance and HANA Cloud

How do you diagnose a slow HANA query?

Start with PlanViz (the explain plan visualizer) to see where time goes — joins, aggregations, or data transfer. Check for missing partition pruning, filters applied too late, and row-store tables scanned in bulk. In the ABAP stack, ST05's SQL trace and the SQL Monitor show which statements the application actually fires.

What is partitioning and when does it help?

Partitioning splits large tables across multiple hosts or storage units by range or hash, enabling parallel scans and partition pruning — skipping irrelevant partitions when the query filters on the partition key. Date-range partitioning on transactional tables is the classic win. Wrong partition keys, though, just add overhead.

What should developers know about SAP HANA Cloud vs on-premise HANA?

HANA Cloud is the managed database-as-a-service on BTP: elastic scaling, separate compute and storage, and native integration with CAP and the Cloud Foundry environment. Developers connect via service bindings and write the same SQLScript and CDS. The operational differences — backup, scaling, multi-environment handling — are platform-managed rather than DBA tasks.

How does data tiering affect development choices?

HANA offers hot/warm/cold tiers: hot data in memory, warm in extended storage, cold in the data lake. Developers should be aware that warm-storage tables have query restrictions — some operations are slower or unsupported. Design partitioning and aging strategies with the functional team so rarely-touched history doesn't consume expensive memory.

What is the role of HANA in the clean-core S/4HANA strategy?

HANA hosts the CDS-based virtual data model that keeps custom logic out of modified standard tables. Extensions live in custom CDS views and side-by-side services rather than core modifications. For developers, clean core means: build on released CDS views and APIs, never on private tables.

Got a HANA curveball from a recent interview? Post it in the comments.

Read more →