ERPClimb logoERPClimb

SAP Architect API Strategy Interview Questions

API Strategy comes up in SAP Architect interviews because it is one of the few areas where an interviewer can tell, in two questions, whether you have worked with the process or only read about it.

API Strategy for SAP landscapes covers how architects decide which integration technologies, governance models, and lifecycle practices to use when exposing and consuming APIs across ECC, S/4HANA (on-premise, private cloud, public cloud) and BTP. It addresses clean core alignment, security, versioning, and long-term maintainability of the integration landscape.

This page carries 10 reviewed SAP Architect api strategy interview questions, each with a complete written answer and no sign-in required. The set breaks down into 3 foundational, 4 mid-level and 3 advanced questions, so you can start at the top for a first interview or skip ahead to the scenario-based items for a senior round.

The fastest way to use this page is to read the question, answer it yourself, and only then read the answer. The gap between your version and the written one is your actual revision list for api strategy.

10 API Strategy questions with answers

easyAPI Strategy

1. What are the core concepts of API Strategy, and how would you explain them clearly in an SAP interview?

API Strategy for SAP landscapes covers how architects decide which integration technologies, governance models, and lifecycle practices to use when exposing and consuming APIs across ECC, S/4HANA (on-premise, private cloud, public cloud) and BTP. It addresses clean core alignment, security, versioning, and long-term maintainability of the integration landscape. Key lesson areas: API Types, Patterns and Governance Foundations in SAP; Choosing Integration Patterns: Point-to-Point, API-Led Connectivity and Event-Driven Design; Long-Term API Governance, Cost Control and Roadmap Evolution; Securing APIs Across a Hybrid SAP Landscape: Authentication, Authorization and Principal Propagation; Why API Strategy Matters in SAP Landscapes Compares point-to-point, API-led (managed API layer) and event-driven integration patterns and gives criteria for choosing between them in an SAP-centric landscape. Covers the main categories of SAP APIs, common integration patterns, and the governance foundations needed to manage them consistently across a landscape. Explains the security decisions an architect must make when exposing SAP APIs across ECC, S/4HANA and BTP, including authentication mechanisms, authorization scoping and principal propagation trade-offs. How to sustain an API strategy over multi-year S/4HANA and BTP evolution: governance operating model, cost accountability, deprecation policy, and roadmap sequencing to avoid API sprawl and technical debt. Introduces the business and technical reasons SAP architects need a deliberate API strategy, and how it differs from ad-hoc point-to-point integration.
easyAPI Strategy

2. Using this SAP project situation — A retail company migrating from ECC to S/4HANA public cloud discovered during the initial assessment that over 40 custom ABAP RFC-based interfaces connected ECC to its warehouse management and e-commerce platforms — explain Why API Strategy Matters in SAP Landscapes. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

Introduces the business and technical reasons SAP architects need a deliberate API strategy, and how it differs from ad-hoc point-to-point integration. Deep explanation: An API strategy is the set of decisions an organization makes about how systems expose and consume functionality and data in a consistent, governed, and reusable way. In SAP contexts this matters because a typical enterprise landscape includes ECC or S/4HANA as the digital core, satellite systems for procurement, HR, CRM or logistics, and increasingly BTP services, third-party SaaS tools and custom applications. Without a strategy, teams build point-to-point interfaces using whatever mechanism is convenient at the time: direct RFC calls, custom SOAP services, database links, or ad-hoc file transfers. This creates a tightly coupled web of integrations that is expensive to change, hard to secure consistently, and fragile during upgrades or migrations. An API-led approach treats integration as a product. Instead of exposing raw tables or transaction-specific function modules, teams define stable, versioned interfaces (APIs) that hide internal implementation details. This is closely tied to the Clean Core principle in S/4HANA: business logic and data structures inside the ERP core should not be tightly coupled to how external systems consume them. If a custom field is added or a table structure changes, well-designed APIs can absorb that change without forcing every consuming system to be modified simultaneously. From a business perspective, API strategy affects speed of delivery. When new integration requirements arise, if reusable APIs already exist, the new team can integrate against a published contract rather than negotiating a new point-to-point interface with a functional consultant. From a technical perspective, it affects landscape stability. APIs published through a gateway or API management layer (such as the capabilities available on BTP) allow centralized authentication, throttling, versioning, and monitoring, rather than each integration handling security independently and inconsistently. It is critical to distinguish deployment contexts here. In ECC, integration was largely accomplished with RFC/BAPI, IDoc, and custom ABAP-based interfaces, often maintained by the ABAP team with limited separation between core logic and integration logic. In S/4HANA on-premise or private cloud, more OData and REST-based services are available out of the box, and custom extensions can still be built inside the ABAP stack, though the Clean Core guidance recommends using released APIs and extension points rather than modifying core objects directly. In S/4HANA public cloud, the system is far more locked down: only released APIs (documented through SAP's API references for that product) and defined extensibility techniques are permitted, because customers do not have direct access to the underlying repository. This forces a much stricter API-first mindset because there is no fallback to direct table access or core modification. An architect starting an API strategy must first inventory what already exists: what interfaces are live, what protocols they use, who owns them, and what business capability they expose. Only after this discovery can meaningful decisions be made about consolidation, deprecation, and future direction. Skipping this step is one of the most common reasons API strategies fail to gain traction - teams design an ideal target state without accounting for the operational reality of hundreds of existing point-to-point interfaces that cannot be replaced overnight. Recommended practices: • Begin any API strategy initiative with a landscape-wide interface inventory before proposing target architecture. • Explicitly document which SAP deployment model (ECC, on-premise S/4HANA, private cloud, public cloud, BTP) each integration touches, since capabilities differ. • Treat APIs as products with clear ownership, versioning, and lifecycle rather than one-off technical artifacts. • Align API strategy discussions with the organization's Clean Core roadmap so extension and integration decisions are made together, not in isolation. • Socialize the strategy with both functional and technical stakeholders early to avoid rework driven by business requirements discovered late. Common mistakes to challenge: • Assuming all ECC-style RFC/BAPI integration patterns will carry over unchanged to S/4HANA public cloud. • Treating API strategy as a purely technical exercise without involving business process owners who understand which integrations are business-critical. • Starting API design work without first inventorying existing point-to-point interfaces. • Underestimating the effort needed to identify undocumented or unofficial interfaces built outside of IT governance. • Confusing having an API gateway product with actually having an API strategy; the tooling does not replace governance decisions. Interview angle: Interviewers often ask candidates to explain why an organization would move away from point-to-point integration toward an API-led approach, and to identify the risks of not having a strategy during an S/4HANA migration. Strong answe
easyAPI Strategy

3. Using this SAP project situation — Three years after an S/4HANA private cloud go-live, an enterprise architecture review found over 40 custom APIs registered, several duplicating the same customer master exposure with slightly different field sets built by different project teams under delivery pressure — explain Long-Term API Governance, Cost Control and Roadmap Evolution. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

How to sustain an API strategy over multi-year S/4HANA and BTP evolution: governance operating model, cost accountability, deprecation policy, and roadmap sequencing to avoid API sprawl and technical debt. Deep explanation: An API strategy is not a one-time design decision; it is an operating model that must survive years of releases, tenant migrations, and organizational change. By the time an enterprise has moved core ECC processes to S/4HANA and started exposing capabilities through BTP integration and extension suites, the number of APIs in play can grow quickly: SAP-delivered communication scenarios and OData services, custom APIs built on Clean Core extensibility, and integration flows in the integration suite. Without deliberate governance, this leads to API sprawl - duplicate APIs solving the same problem, undocumented point-to-point calls bypassing the intended integration layer, and unclear ownership when something breaks in production. Governance operating model. At the architect level, the key artifact is an API catalog or register that tracks every API's purpose, owning team, consumers, lifecycle stage (proposed, active, deprecated, retired), and classification (system API, process API, experience API - a common layering used to separate raw system access from business-process-oriented and UI-oriented interfaces). This catalog should be reviewed at defined intervals, not just at go-live. A lightweight API review board - architects, security, and representative consumer teams - approves new APIs before they are published for reuse, checking for duplication, correct classification, and adherence to naming and versioning conventions established earlier in the topic. This is a governance control point, not a bureaucratic gate; the goal is to prevent uncontrolled proliferation while not blocking legitimate delivery. Deprecation and retirement policy. Every API strategy must define how an API is retired. In practice this means: publishing a deprecation notice with a defined sunset date, communicating to known consumers through the API catalog or developer portal, providing a migration path to the replacement API, and only decommissioning after a verification period showing zero or near-zero traffic on the old version. For SAP-delivered APIs and communication scenarios, deprecation is controlled by SAP's own release policy, which differs by product - public cloud APIs typically follow release-tied deprecation cycles, while on-premise/private cloud interfaces may remain available longer but eventually reach end of maintenance. Architects must track SAP's own compatibility and deprecation communications for the specific product editions in use rather than assuming a uniform timeline across ECC, S/4HANA on-premise, private cloud, and public cloud. Cost control. API cost is often underestimated because it is distributed: integration suite message packages, BTP runtime capacity, API gateway throughput tiers, and the ongoing labor of maintaining custom APIs on Clean Core extensions all carry cost. A mature strategy assigns cost ownership per API domain (for example, order management APIs, finance APIs) so that consumption growth is visible to the teams driving it, not absorbed silently by a shared integration cost center. Regular reviews of message volume trends against contracted capacity tiers help avoid unplanned overage costs, and architects should push back on point-to-point integrations that bypass the governed layer specifically because they hide cost and duplicate effort. Roadmap sequencing. Because S/4HANA and BTP capabilities evolve release over release, an API roadmap should be reviewed against SAP's published product roadmaps at a cadence aligned with major release cycles, not ad hoc. When SAP introduces a new strategic API or extends the scope of the Clean Core extensibility model, the architecture team should evaluate whether existing custom APIs can be retired in favor of the standard capability, reducing long-term maintenance burden. Conversely, roadmap reviews should flag known gaps early enough to plan custom development or extension work before a downstream project is blocked. This closes the loop from the initial outcome-driven design decisions made early in the API strategy back through NFRs, security, and migration planning covered elsewhere in this topic, ensuring the strategy remains a living discipline rather than a static document. Recommended practices: • Maintain a living API catalog with owner, lifecycle stage, and classification for every reusable API, reviewed on a fixed cadence • Establish a lightweight review board to approve new APIs and catch duplication before publication • Define an explicit deprecation and retirement process with sunset dates and consumer migration paths • Assign cost ownership for API consumption to the domain teams driving volume, not a shared anonymous budget • Review the API roadmap against SAP's published product and deprecation roadmaps at each major release cycle, and actively look for opportunities to retire custom APIs in favor of standard capabilities Common mistakes to challenge: • Treating the API catalog as documentation only, wi
mediumAPI Strategy

4. How would you apply API Strategy in a real SAP project? Walk through the design or implementation approach.

A logistics company had three different teams independently building OData services to expose shipment status, each with slightly different field naming and no shared versioning convention. When a BTP-based tracking portal tried to consolidate data from all three, it required custom mapping logic for each service and broke repeatedly whenever any team changed a field without notice. The architecture team introduced a lightweight API catalog requiring every new service to register its owner, version, and a change notification process before it could be connected to the portal, which significantly reduced integration incidents over the following months. A retail company migrating from ECC to S/4HANA public cloud discovered during the initial assessment that over 40 custom ABAP RFC-based interfaces connected ECC to its warehouse management and e-commerce platforms. None of these were compatible with public cloud because direct RFC calls into custom function modules were not permitted. The architect team had to build an API inventory, map each interface to an equivalent released API or extension technique, and phase the migration so that business-critical order flows were re-platformed first, while lower-priority reporting interfaces were temporarily rebuilt using simpler released OData services. An architect reviewing a landscape found that a single material master change in S/4HANA Cloud triggered six separate outbound RFC-style calls maintained by different teams, each built as point-to-point over two years as new consumers appeared. Every S/4HANA release cycle required regression testing of all six calls even though most consumers only needed a subset of the same data. The remediation plan classified the scenario as clearly multi-consumer and migrated it to a single system API published through SAP Integration Suite's API Management, with consumer-specific experience APIs replacing the direct calls, reducing regression testing surface to one contract instead of six. During a security review before go-live of a partner-facing order status API, the review found that all calls used a single technical service user mapped to full authorization in S/4HANA, regardless of which partner or end user triggered the request. This meant any partner could technically query order data belonging to any other partner if they guessed an order number, because the backend had no visibility into the calling end user. The remediation required introducing OAuth2 authorization code flow with partner-specific scopes enforced at the API gateway, plus a data-filtering check keyed t
mediumAPI Strategy

5. Suppose you inherit an existing API Strategy solution. How would you review it before making a change?

First understand the current business requirement, dependencies, configuration or code path, integrations, production usage, and known pain points. Do not redesign before establishing the existing behavior. Lesson areas to review: API Types, Patterns and Governance Foundations in SAP; Choosing Integration Patterns: Point-to-Point, API-Led Connectivity and Event-Driven Design; Long-Term API Governance, Cost Control and Roadmap Evolution; Securing APIs Across a Hybrid SAP Landscape: Authentication, Authorization and Principal Propagation; Why API Strategy Matters in SAP Landscapes Known mistakes: • Assuming all ECC-style RFC/BAPI integration patterns will carry over unchanged to S/4HANA public cloud. • Treating API strategy as a purely technical exercise without involving business process owners who understand which integrations are business-critical. • Starting API design work without first inventorying existing point-to-point interfaces. • Underestimating the effort needed to identify undocumented or unofficial interfaces built outside of IT governance. • Confusing having an API gateway product with actually having an API strategy; the tooling does not replace governance decisions. • Choosing a heavy API-led architecture for a single stable internal integration, adding unnecessary latency and operational cost. • Continuing to add point-to-point connections as consumer count grows instead of promoting the scenario to a managed API layer. • Treating event-driven design as a default "modern" choice without accounting for eventual consistency and duplicate-event handling in downstream logic. • Failing to document the pattern decision, so future architects cannot tell why a given integration was built a certain way. • Ignoring latency and consistency requirements when picking between synchronous API calls and asynchronous events. • Choosing SOAP or RFC-based integration for new development simply because existing teams are more familiar with it, without evaluating OData or event-driven alternatives. • Publishing APIs without a version in the identifier, making future breaking changes disruptive to all consumers. • Treating an API gateway as the entire governance solution while ignoring organizational ownership and approval processes. • Using synchronous APIs for scenarios that are naturally asynchronous, creating unnecessary tight coupling and latency sensitivity. • Failing to maintain a central catalog, resulting in duplicate APIs built by different teams for the same business capability. • Relying on basic authentication with shared credentials for produc
mediumAPI Strategy

6. A project encounters this situation while working on API Types, Patterns and Governance Foundations in SAP: A logistics company had three different teams independently building OData services to expose shipment status, each with slightly different field naming and no shared versioning convention. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Covers the main categories of SAP APIs, common integration patterns, and the governance foundations needed to manage them consistently across a landscape. Deep explanation: Once an organization accepts the need for an API strategy, the next step is understanding the categories of APIs available in SAP environments and the patterns used to combine them. Broadly, SAP exposes several API styles. OData services are widely used for exposing business data and simple transactional operations, and are the primary mechanism for Fiori apps and many BTP integration scenarios; they follow REST-like conventions with a defined metadata contract. SOAP-based web services remain common in older ECC and some S/4HANA on-premise scenarios, often generated from BAPIs or custom function modules through service enablement tools. RFC and BAPI-based interfaces are lower-level and typically used for system-to-system ABAP communication or through connectors like the SAP RFC adapter in integration middleware; they are not naturally web-friendly and are increasingly avoided in favor of OData or REST equivalents. Event-driven interfaces, increasingly relevant with S/4HANA and BTP, allow systems to publish business events (such as a sales order being created) that other systems can subscribe to asynchronously, reducing tight synchronous coupling. Patterns matter as much as protocols. A synchronous request-response pattern is appropriate when the caller needs an immediate result, such as checking stock availability before confirming an order. An asynchronous event pattern is more appropriate for downstream notification scenarios, such as informing a warehouse system that an order was created, where the caller does not need to wait for a response and can tolerate eventual consistency. Batch-oriented patterns, often still implemented using IDocs or file-based interfaces in ECC-heavy landscapes, remain relevant for high-volume, non-time-critical data exchange, though they are less flexible for real-time processes. Governance is the layer that makes all of this manageable at scale. Without governance, every team may independently version, secure, and document APIs differently, leading to fragmentation. Practical governance foundations include: a naming and versioning convention (so consumers can predict what a v2 endpoint means relative to v1), a central catalog or registry of published APIs with ownership and status metadata (active, deprecated, retired), consistent authentication and authorization standards (such as OAuth2 client credentials for system-to-system calls, mediated through an API gateway rather than embedding credentials in individual interfaces), and a deprecation policy that gives consuming teams advance notice before an API version is retired. Deployment context again matters. In S/4HANA public cloud, SAP publishes a defined set of released APIs with documented stability guarantees; architects should prefer these over custom-built equivalents because they are maintained across upgrades. In private cloud or on-premise, teams have more latitude to build custom OData services on top of custom logic, but should still apply the same governance discipline - undocumented, unversioned custom APIs become just as brittle as the point-to-point interfaces they were meant to replace. On BTP, API management capabilities (policies, rate limiting, analytics) can be applied centrally regardless of which backend system an API ultimately calls, which is often the most practical place to enforce governance across a hybrid landscape. A mature governance model also addresses ownership: who approves a new API before it is published, who is accountable when a downstream consumer reports an incident, and how changes are communicated. Skipping this organizational dimension and focusing only on protocol choice is a common reason API strategies remain aspirational rather than operational. Recommended practices: • Prefer OData or REST-based services for new development over SOAP or direct RFC where feasible, especially in cloud-oriented landscapes. • Use asynchronous event-driven patterns for non-blocking downstream notifications rather than forcing synchronous calls. • Enforce explicit versioning in every published API and maintain a documented deprecation timeline. • Maintain a central, accessible catalog of APIs with clear ownership so teams can discover and reuse existing interfaces instead of duplicating them. • Apply consistent authentication and authorization policies through a gateway or API management layer rather than per-interface custom logic. Common mistakes to challenge: • Choosing SOAP or RFC-based integration for new development simply because existing teams are more familiar with it, without evaluating OData or event-driven alternatives. • Publishing APIs without a version in the identifier, making future breaking changes disruptive to all consumers. • Treating an API gateway as the entire governance solution while ignoring organizational ownership and approval processes. • Using synchronous APIs for scenarios that are naturally asynchronous, creating unnecessary tight coupling and latency sensitivity. • Failing to maintain a
mediumAPI Strategy

7. A project encounters this situation while working on Choosing Integration Patterns: Point-to-Point, API-Led Connectivity and Event-Driven Design: An architect reviewing a landscape found that a single material master change in S/4HANA Cloud triggered six separate outbound RFC-style calls maintained by different teams, each built as point-to-point over two years as new consumers appeared. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Compares point-to-point, API-led (managed API layer) and event-driven integration patterns and gives criteria for choosing between them in an SAP-centric landscape. Deep explanation: Most landscapes accumulate integration debt because early point-to-point connections (RFC, IDoc, direct database links) are fast to build but expensive to change later. An API strategy exists to prevent this by deciding, up front, which pattern fits which integration category so that the architecture stays maintainable as the number of consumers grows. Point-to-point integration (a single system calling another directly, e.g. an ABAP RFC call or a direct OData consumption without an intermediary layer) is appropriate for low-volume, stable, tightly coupled scenarios where both endpoints are controlled by the same team and change together. It minimizes latency and infrastructure but does not scale organizationally: every new consumer requires a new connection, and every backend change risks breaking multiple callers because there is no contract boundary. API-led connectivity introduces a managed layer (an API gateway or hub, such as capabilities found in SAP Integration Suite's API Management or a third-party gateway) between producers and consumers. This layer typically separates concerns into system APIs (thin wrappers close to source systems), process APIs (compose or orchestrate several system APIs into a business capability) and experience APIs (shaped for a specific consumer, such as a mobile app or portal). The benefit is decoupling: a consumer only depends on the contract published by the gateway, not on the internal implementation of the backend. This is especially valuable in clean core strategies, where S/4HANA Cloud extensibility is intentionally constrained and integration logic should sit in BTP rather than in custom ABAP. Event-driven design (publishing business events, e.g. via SAP Event Mesh or a message broker, and letting consumers react asynchronously) fits scenarios where near-real-time reaction matters more than immediate response, where multiple unrelated consumers need the same signal, or where backend systems should not be blocked waiting for downstream processing. Typical candidates include stock changes, order status updates, or master data changes that trigger downstream recalculations. Event-driven patterns reduce coupling further because producers do not need to know who consumes an event, but they introduce eventual consistency, message ordering and duplicate-delivery concerns that request/response APIs do not have. In practice, an API strategy should classify integration scenarios into three buckets: (1) simple, stable, single-consumer scenarios where lightweight direct integration is acceptable and building an API layer would be over-engineering; (2) multi-consumer, business-capability scenarios where an API-led layer with clear contracts and versioning is justified; and (3) reactive, decoupled, multi-subscriber scenarios where events are the right fit. Architects should document this classification and revisit it periodically, because scenarios that start simple often grow additional consumers and need to be promoted to API-led or event-driven patterns before technical debt accumulates. A common architectural mistake is defaulting to one pattern for everything, either building a heavy API gateway layer for a single internal, stable connection (unnecessary cost and latency) or relying on point-to-point calls for a scenario with five or more consumers (unmanageable coupling). The right approach is to make the pattern decision explicit and reviewable, tied to consumer count, change frequency, coupling tolerance and latency requirements, not to team habit or tooling familiarity. Recommended practices: • Classify each integration scenario by consumer count, change frequency and latency tolerance before choosing a pattern. • Reserve API-led connectivity for multi-consumer or business-capability scenarios, not simple stable single connections. • Use event-driven design when consumers should not block producers and when multiple unrelated subscribers need the same signal. • Document pattern decisions and the conditions that would trigger migrating a scenario to a different pattern. • Revisit integration classifications periodically as consumer counts grow, rather than only at initial build time. Common mistakes to challenge: • Choosing a heavy API-led architecture for a single stable internal integration, adding unnecessary latency and operational cost. • Continuing to add point-to-point connections as consumer count grows instead of promoting the scenario to a managed API layer. • Treating event-driven design as a default "modern" choice without accounting for eventual consistency and duplicate-event handling in downstream logic. • Failing to document the pattern decision, so future architects cannot tell why a given integration was built a certain way. • Ignoring latency and consistency requirements when picking between synchronous API calls and asynchronous events. Interview angle: Interviewers assess whether a candidate can justify an integration pattern choice using concrete criteria (
hardAPI Strategy

8. A production issue is reported in API Strategy. What would you check first, and how would you troubleshoot it systematically?

Start by reproducing and scoping the issue, then validate the relevant master/configuration/runtime data and isolate the failing step before changing anything. Common failure patterns from the lesson set: • Assuming all ECC-style RFC/BAPI integration patterns will carry over unchanged to S/4HANA public cloud. • Treating API strategy as a purely technical exercise without involving business process owners who understand which integrations are business-critical. • Starting API design work without first inventorying existing point-to-point interfaces. • Underestimating the effort needed to identify undocumented or unofficial interfaces built outside of IT governance. • Confusing having an API gateway product with actually having an API strategy; the tooling does not replace governance decisions. • Choosing a heavy API-led architecture for a single stable internal integration, adding unnecessary latency and operational cost. • Continuing to add point-to-point connections as consumer count grows instead of promoting the scenario to a managed API layer. • Treating event-driven design as a default "modern" choice without accounting for eventual consistency and duplicate-event handling in downstream logic. • Failing to document the pattern decision, so future architects cannot tell why a given integration was built a certain way. • Ignoring latency and consistency requirements when picking between synchronous API calls and asynchronous events. • Choosing SOAP or RFC-based integration for new development simply because existing teams are more familiar with it, without evaluating OData or event-driven alternatives. • Publishing APIs without a version in the identifier, making future breaking changes disruptive to all consumers. • Treating an API gateway as the entire governance solution while ignoring organizational ownership and approval processes. • Using synchronous APIs for scenarios that are naturally asynchronous, creating unnecessary tight coupling and latency sensitivity. • Failing to maintain a central catalog, resulting in duplicate APIs built by different teams for the same business capability. • Relying on basic authentication with shared credentials for production-facing APIs. • Treating authentication as sufficient security without defining separate authorization scopes. • Using a single generic technical user for all API calls when backend-level, end-user-specific authorization is actually required. • Assuming principal propagation configuration is identical across ECC, S/4HANA on-premise and S/4HANA public cloud without checking deployment-specifi
hardAPI Strategy

9. What are the most important design decisions, trade-offs, and best practices in API Strategy?

• Begin any API strategy initiative with a landscape-wide interface inventory before proposing target architecture. • Explicitly document which SAP deployment model (ECC, on-premise S/4HANA, private cloud, public cloud, BTP) each integration touches, since capabilities differ. • Treat APIs as products with clear ownership, versioning, and lifecycle rather than one-off technical artifacts. • Align API strategy discussions with the organization's Clean Core roadmap so extension and integration decisions are made together, not in isolation. • Socialize the strategy with both functional and technical stakeholders early to avoid rework driven by business requirements discovered late. • Classify each integration scenario by consumer count, change frequency and latency tolerance before choosing a pattern. • Reserve API-led connectivity for multi-consumer or business-capability scenarios, not simple stable single connections. • Use event-driven design when consumers should not block producers and when multiple unrelated subscribers need the same signal. • Document pattern decisions and the conditions that would trigger migrating a scenario to a different pattern. • Revisit integration classifications periodically as consumer counts grow, rather than only at initial build time. • Maintain a living API catalog with owner, lifecycle stage, and classification for every reusable API, reviewed on a fixed cadence • Establish a lightweight review board to approve new APIs and catch duplication before publication • Define an explicit deprecation and retirement process with sunset dates and consumer migration paths • Assign cost ownership for API consumption to the domain teams driving volume, not a shared anonymous budget • Review the API roadmap against SAP's published product and deprecation roadmaps at each major release cycle, and actively look for opportunities to retire custom APIs in favor of standard capabilities • Prefer OData or REST-based services for new development over SOAP or direct RFC where feasible, especially in cloud-oriented landscapes. • Use asynchronous event-driven patterns for non-blocking downstream notifications rather than forcing synchronous calls. • Enforce explicit versioning in every published API and maintain a documented deprecation timeline. • Maintain a central, accessible catalog of APIs with clear ownership so teams can discover and reuse existing interfaces instead of duplicating them. • Apply consistent authentication and authorization policies through a gateway or API management layer rather than per-interface custom logic. • Sepa
hardAPI Strategy

10. You are the senior consultant/architect responsible for Securing APIs Across a Hybrid SAP Landscape: Authentication, Authorization and Principal Propagation. The project situation is: During a security review before go-live of a partner-facing order status API, the review found that all calls used a single technical service user mapped to full authorization in S/4HANA, regardless of which partner or end user triggered the request. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?

Explains the security decisions an architect must make when exposing SAP APIs across ECC, S/4HANA and BTP, including authentication mechanisms, authorization scoping and principal propagation trade-offs. Deep explanation: Security is often treated as an afterthought in API design, but for an architect it must be decided at the same time as the integration pattern, because retrofitting authentication or authorization into a live API is disruptive and risky. The core decisions are: how does a caller prove its identity (authentication), what is that caller allowed to do (authorization), and does the backend need to know which end user is behind the call (principal propagation)? Authentication mechanisms commonly available in SAP landscapes include basic authentication (credentials in every call, acceptable only for low-risk internal test scenarios, not production), client certificates (mutual TLS, strong for system-to-system integration where both parties are known and stable), and OAuth2 client credentials or authorization code flows (token-based, suited to modern API gateways such as SAP Integration Suite's API Management or BTP's identity services). Architects should treat basic authentication as a legacy fallback only, because credentials are static, hard to rotate safely, and typically shared across many calls without granular audit. Authorization is a separate concern from authentication: proving who is calling does not determine what that caller may do. A well-designed API strategy defines scopes or roles at the API gateway level (for example, read-only versus write access to a given API product) so that backend systems are not the only enforcement point. This matters especially for clean core environments, where the extensibility model in S/4HANA Cloud limits how much custom authorization logic can be added directly in the backend; pushing authorization decisions into the API management layer keeps backend systems simpler and more upgrade-safe. Principal propagation is the hardest and most frequently mishandled piece. Some integrations only need system-level trust (the calling application is authorized, and the backend does not need to know which named end user triggered the call). Others require the backend to enforce end-user-specific authorizations, for example so that a manager sees different data than a regular employee even through the same API. Propagating the actual end user's identity through a gateway to backend systems (often via SAML assertion-based mechanisms or user-mapping features in BTP destinations) preserves segregation of duties defined in the backend's own authorization model, but it adds complexity: certificate or assertion lifecycle management, mapping of cloud identities to backend user IDs, and additional points of failure. Using only a generic technical/service user for every call is simpler operationally but risks bypassing backend authorization checks entirely, which can be a serious control gap in finance or HR-related APIs. Deployment-specific differences matter here and should not be generalized. In classic ECC, authentication is typically anchored in the ABAP system's own user store and trusted RFC/SNC configurations. In S/4HANA on-premise or private cloud, additional flexibility usually exists to configure custom OAuth or SAML trust relationships directly in the ABAP stack. In S/4HANA public cloud, the extensibility and configuration options for custom authentication trust are more constrained, and architects should expect to rely more heavily on standard, supported integration and identity services rather than backend-side customization; exact capabilities should be verified against current product documentation for the specific release, since this area evolves. Operationally, an API security design must also cover credential and certificate rotation, token expiry handling, and what happens when a trust relationship breaks (do calls fail loudly, or silently fall back to a less secure path?). Architects should require that every production API have a documented rotation procedure and a tested failure mode before go-live, not just a working happy-path demonstration. Recommended practices: • Separate authentication, authorization and principal propagation as distinct design decisions for every API. • Enforce authorization scopes at the API gateway layer to keep backend systems simple, especially under clean core constraints. • Use OAuth2 or certificate-based authentication for production APIs; reserve basic authentication for non-production or clearly low-risk cases. • Decide explicitly whether an integration needs end-user-level principal propagation or can safely rely on system-level trust, based on the sensitivity of the data involved. • Require a tested credential/certificate rotation and failure-handling procedure before any production API go-live. • Verify deployment-specific authentication and trust capabilities against current documentation rather than assuming parity across ECC, on-premise and public cloud. Common mistakes to challenge: • Relying on basic authentication with shared credentials for production-facing APIs. • Treating authentication as s

Related lesson

Securing APIs Across a Hybrid SAP Landscape: Authentication, Authorization and Principal Propagation (Part 5)

Related topics

Next practice step

Go deeper on this topic