RAP, BOPF, SEGW or CAP: for each of these, which would you choose today and why? A new custom app in SAP S/4HANA 2025 on-premise. A SEGW service a partner already calls. A cloud-native app combining S/4HANA and non-SAP data. A small change to an old CDS-plus-BOPF app.
Say your answer out loud first.
Practise another way
New app in S/4HANA 2025: RAP, managed, ABAP Cloud, OData V4. The partner's SEGW service: keep it running and change it carefully; I only rebuild it in RAP when it needs real change, and version the API.
Cloud-native mixing SAP and non-SAP data, with a Java or JavaScript team: CAP on SAP Business AI Platform. Small change to the BOPF app: make it in place; migrate to RAP only when the app needs RAP features.
1. New custom app on S/4HANA 2025 on-premise: RAP
- RAP is SAP's strategic ABAP model (SAP's RAP FAQ). Build it in ABAP Cloud on released APIs where possible, managed and draft-enabled, exposed as OData V4.
- Why not SEGW: you would hand-code paging, filtering, locking and ETags. SAP's Andre Fischer also noted SEGW-based services cannot be deployed to the embedded ABAP Cloud environment, and SEGW is not recommended for V4.
- Why not BOPF: not part of RAP and not the model for new development.
2. Partner already calls a SEGW service: keep, then evolve
- Working code-based services keep running; there is no forced migration. Rewriting a stable API creates risk for the partner and nothing for the business.
- When it needs real change, rebuild it as a RAP service, expose a new version or a new API, move the partner, then retire the old one.
3. Cloud-native app across S/4HANA and non-SAP data: CAP, or the ABAP environment
- SAP's BTP developer guide: Cloud Foundry and Kyma with CAP for Java/Node.js teams, open standards and scale; the ABAP environment for teams with ABAP skills and close S/4HANA integration.
- A web/Java team and many non-SAP sources point to CAP on SAP Business AI Platform (formerly SAP BTP). An ABAP team that mainly extends S/4HANA data side by side points to RAP in the ABAP environment.
4. Small change to an old CDS + BOPF app: change in place
- The model is still supported and migration is not mandatory. A two-day change does not justify a migration project.
- Migrate when the app needs RAP features (EML consumers, events, V4, extensibility) or ABAP Cloud consumers; then use SAP's CDS-based BOPF to RAP migration tool (S/4HANA 2023 onwards).
The criteria to state out loud
| Criterion | Pushes toward |
|---|---|
| Runs inside S/4HANA, ABAP team | RAP |
| Existing stable API, external consumer | Keep, version |
| Non-ABAP team, multi-source, cloud scale | CAP |
| Upgrade safety, clean core | RAP on released APIs, or side by side |
Senior signal: the answer is a lifecycle decision, not a technology preference. Name the platform, the team's skills and the consumer before naming the framework.
Gives a different, reasoned answer for each case with SAP's current position (RAP strategic, SEGW and BOPF supported but not for new work, CAP for non-ABAP cloud-native teams). States the criteria.
Answers 'always RAP' or 'CAP is the future', or proposes rewriting stable SEGW and BOPF apps without a business reason.
Treating 'supported' as 'recommended'. SEGW and CDS-plus-BOPF keep running, but SAP positions RAP for new ABAP development; rewriting stable apps without a reason is also a mistake.
- What would make you choose RAP in the ABAP environment over CAP for a side-by-side app?
- How do you retire an old SEGW service without breaking the partner?
- Can a CAP app and a RAP BO work together in one solution?
4 official pages and 2 prep guides. Confidence: high. Checked 2 Dec 2026.
- Prep guide Gives the question.
- Prep guide Describes the round.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.