SAP API Deprecation Policy: 2-Year Minimum Support, 1-Year Decommission Notice

Type: ERP Integration System: SAP S/4HANA Cloud (2408), SAP BTP Confidence: 0.88 Sources: 8 Verified: 2026-03-01 Freshness: 2026-03-01

TL;DR

System Profile

This card covers SAP's cross-product API deprecation policy as documented in the SAP API Style Guide and SAP Business Accelerator Hub. The policy applies to APIs published on the SAP Business Accelerator Hub across SAP S/4HANA Cloud, SAP SuccessFactors, SAP Ariba, SAP Concur, SAP BTP, and other SAP cloud products. On-premise SAP systems (ECC, BW) follow different support lifecycle rules tied to SAP's product maintenance schedule. [src1, src2]

PropertyValue
VendorSAP SE
SystemCross-product (S/4HANA Cloud, SuccessFactors, Ariba, Concur, BTP)
API SurfaceOData v2/v4, REST, SOAP, ABAP Cloud, RFC
Current Policy VersionSAP API Style Guide (Public), updated continuously
Editions CoveredAll cloud editions; on-premise follows product maintenance lifecycle
DeploymentCloud (primary), Hybrid
API DocsSAP Business Accelerator Hub
StatusGA (policy actively enforced)

API Surfaces & Deprecation Policy Scope

API SurfaceDeprecation Policy ScopeRelease ContractClean Core LevelFormal Stability?Typical Deprecation Notice
OData v2/v4 (released)SAP API Style GuideC2 (remote API)Level AYes2-yr min before deprecation; 1-yr before decommission
ABAP Cloud CDS/RAPSAP API Style GuideC0/C1Level AYesSame as OData released
SOAP (classic)Product-specificNone formalLevel BNo (generally stable)Varies by product
RFC/BAPI (classic)Product maintenanceNone formalLevel B-CNoTied to product support lifecycle
REST (BTP services)SAP API Style GuideN/ALevel AYes2-yr min; 1-yr decommission
IDocProduct maintenanceNone formalLevel CNoTied to product support

[src1, src2, src5]

Constraints

Integration Pattern Decision Tree

START -- Need to assess SAP API deprecation risk for an integration
|-- Is the API published on SAP Business Accelerator Hub?
|   |-- YES --> Covered by SAP API Deprecation Policy
|   |   |-- Is the API status "Active"?
|   |   |   |-- YES --> Safe to use; minimum 2 years before deprecation can begin
|   |   |   |-- NO --> Check status below
|   |   |-- Is the API status "Deprecated"?
|   |   |   |-- YES --> Still functional; minimum 1 year until decommission
|   |   |   |   |-- Is a successor API identified?
|   |   |   |   |   |-- YES --> Begin migration to successor API
|   |   |   |   |   |-- NO --> Monitor Business Accelerator Hub for successor
|   |   |-- Is the API status "Decommissioned"?
|   |   |   |-- YES --> API is disabled; migrate immediately
|   |   |-- Is the API status "Beta"?
|   |       |-- YES --> Not production-ready; no deprecation guarantees apply
|   |-- NO --> Not covered by formal deprecation policy
|       |-- Is it a classic ABAP API (RFC, BAPI, classic CDS)?
|       |   |-- YES --> Level B/C; generally stable but no formal contract
|       |   |   |-- Check Simplification Database for upgrade impact
|       |   |   |-- Use ATC check before upgrades
|       |-- Is it a direct SAP table access or modification?
|           |-- YES --> Level D; expect breakage on any upgrade
|               |-- Migrate to released API immediately

[src1, src4, src5, src7]

Quick Reference

SAP API Lifecycle States

StateDefinitionCan Consume?Bug Fixes?New Features?Duration Guarantee
BetaPre-release, may change without noticeTesting onlyNoN/ANone
ActiveProduction-ready, published on Business Accelerator HubYesYesYesMin 2 years before deprecation
DeprecatedStill works, being phased out; successor identifiedYes (migrate)YesNoMin 1 year before decommission
DecommissionedDisabled in productive environmentsNoNoNoN/A — API removed

[src1, src3, src4]

SAP API Deprecation Timeline

MilestoneMinimum TimelineWhat Happens
API initial releaseT+0API enters "Active" state on SAP Business Accelerator Hub
Earliest deprecationT+24 monthsSAP may change status to "Deprecated"; successor typically identified
Deprecation announcementT+24 months (earliest)API marked "Deprecated"; deprecation date and successor documented
Decommission announcementAfter deprecationSAP announces retirement date, at least 1 year in advance
Earliest decommissionT+36 months (at minimum)API disabled in productive environments; all calls fail
Support during deprecationDeprecation to decommissionBug fixes continue; no new features; full backward compat maintained

[src1, src2, src3]

Release Contracts (C0-C3)

ContractNameScopeStability GuaranteeUse Case
C0ExtensionExtension points of a repository objectStable extension points across upgradesKey user extensibility, custom fields, CDS extend
C1System-Internal UseObject stable for same-system consumptionUpgrade-stable for on-stack development; field length extensions allowedABAP Cloud on-stack development, internal integrations
C2Remote APIObject stable for external consumptionStrictest stability; no field length changes allowedExternal integrations, side-by-side extensions on BTP
C3ConfigurationConfiguration content deliveryContent stabilityCustomizing table entries

[src6]

Clean Core Levels (A-D)

LevelNameAPI TypeStabilityUpgrade RiskRecommendation
ACloud ReadyReleased APIs only (ABAP Cloud)Formal stability contractsZero — guaranteed upgrade-safeUse exclusively for new development
BClassic APIClassic APIs from Cloudification RepositoryGenerally stable (expert-nominated)Low — may have successorsAcceptable; monitor changelogs
CUnclassifiedInternal objects (not released, not noAPI)No guaranteesMedium-High — check Simplification DBMigrate to Level A when successors available
DNot Clean CorenoAPI objects, modifications, direct table accessNoneVery High — expect breakageMigrate immediately

[src5, src7]

Step-by-Step Integration Guide

1. Check current API status on SAP Business Accelerator Hub

Navigate to the SAP Business Accelerator Hub and search for your API. The lifecycle badge (Active, Deprecated, Decommissioned) appears on each API page. For deprecated APIs, the page documents the deprecation date, successor API, and planned decommission date. [src1, src4]

# Check API status via SAP Business Accelerator Hub
# Navigate to: https://api.sap.com/
# Search for your API name or browse by product
# Look for lifecycle badge: Active | Deprecated | Decommissioned
# For deprecated APIs: note deprecation date, successor API link, decommission date

Verify: API page shows lifecycle state badge and, if deprecated, links to the successor API.

2. Determine your Clean Core level

Assess your existing extensions and integrations against the 4-level model. Use the ATC (ABAP Test Cockpit) check in your S/4HANA system to identify which APIs your custom code consumes and their release status. [src5, src7]

" In SAP S/4HANA (ADT or SE80):
" 1. Run ATC check on your custom package
" 2. Look for findings related to:
"    - Use of non-released APIs (Level C/D violations)
"    - Use of deprecated APIs
"    - Direct table access instead of CDS views
" 3. Navigate to each finding to see the released successor
"
" In Eclipse (ADT):
" Right-click package > Run As > ABAP Test Cockpit
" Filter by: "Cloud Readiness" check variant

Verify: ATC results show 0 findings for Level C/D usage in new development.

3. Map deprecated APIs to successors

For each deprecated API your integration consumes, use the API Comparator on SAP Business Accelerator Hub to see a side-by-side comparison of deprecated fields vs. successor fields. [src3, src8]

# On the deprecated API page in SAP Business Accelerator Hub:
# 1. Click "Successor API" link
# 2. Use API Comparator (if available) to compare field-by-field
# 3. Document: removed fields, renamed fields, changed data types
# 4. For CDS views: check the "Deprecated and Decommissioned CDS Views"
#    help page for your S/4HANA Cloud version

Verify: Migration mapping document exists for each deprecated API with field-level changes documented.

4. Plan migration timeline

Based on the guaranteed timelines, build your migration plan. The minimum window from deprecation to decommission is 1 year, but SAP recommends migrating as soon as the successor is available. [src1, src2]

Migration Timeline Template:
|-------|-------|-------|-------|-------|-------|
T+0     T+6mo   T+12mo  T+18mo  T+24mo  T+36mo
|       |       |       |       |       |
API     Earliest         Earliest Earliest Earliest
released deprec.         decomm.  decomm.  decomm.
        announce         announce (best    (worst
                         (1yr     case)    case)
                         before)

Action items:
1. Month 0-6 after deprecation: Analyze successor API, document field mapping
2. Month 6-9: Develop and test migration in sandbox
3. Month 9-12: Deploy to production; decommission old integration
4. Buffer: Always complete migration 3 months before announced decommission date

Verify: Migration plan has target completion date at least 3 months before announced decommission date.

Code Examples

Python: Check API deprecation status heuristic

# Input:  SAP API name or path
# Output: Current lifecycle status and deprecation details

def check_api_status_heuristic(api_name: str, product: str = "S/4HANA Cloud") -> dict:
    """
    Heuristic check for SAP API status.
    In production, integrate with SAP API Metadata service or
    parse SAP Business Accelerator Hub programmatically.
    """
    known_deprecated = {
        "API_PURCHASEORDER_PROCESS_SRV": {
            "status": "deprecated",
            "deprecated_date": "2024-05",
            "successor": "API_PURCHASEORDER_2",
            "decommission_date": "TBD (min 2025-05)"
        },
        "SFAPI_Partner_API": {
            "status": "deprecated",
            "deprecated_date": "2023-01",
            "successor": "OData APIs per entity",
            "decommission_date": "2024-01 (SuccessFactors)"
        }
    }
    if api_name in known_deprecated:
        return known_deprecated[api_name]
    return {"status": "active", "note": f"Verify on api.sap.com for {product}"}

# Example usage
result = check_api_status_heuristic("API_PURCHASEORDER_PROCESS_SRV")
print(f"Status: {result['status']}")
print(f"Successor: {result.get('successor', 'N/A')}")

cURL: Test if an SAP OData service is available

# Input:  SAP S/4HANA Cloud system URL, OAuth token
# Output: HTTP status code (200 = active, 404 = decommissioned)

# Check if a specific OData service is available (not decommissioned)
curl -s -o /dev/null -w "%{http_code}" \
  -H "Authorization: Bearer $SAP_TOKEN" \
  "https://$SAP_HOST/sap/opu/odata/sap/API_BUSINESS_PARTNER/$metadata"
# Expected: 200 = active, 404 = decommissioned or not available

# For S/4HANA Cloud, verify API accessibility
curl -X GET \
  -H "Authorization: Bearer $SAP_TOKEN" \
  -H "Accept: application/json" \
  "https://$SAP_HOST/sap/opu/odata/sap/API_BUSINESS_PARTNER?$top=1"
# Expected: JSON response = API is active and accessible

Error Handling & Failure Points

Common Error Codes (Deprecation-Related)

CodeMeaningCauseResolution
404 Not FoundService endpoint removedAPI has been decommissionedMigrate to successor API immediately
410 GoneResource permanently removedAPI decommissioned (if vendor returns 410)Migrate to successor API
Deprecation headerAPI is deprecated but still functionalSAP may include deprecation warningBegin migration planning; API still works
ATC findingUse of non-released APIExtension uses Level C/D APIReplace with Level A released equivalent

[src3, src7]

Failure Points in Production

Anti-Patterns

Wrong: Assuming all SAP APIs have the same deprecation timeline

// BAD -- treating SAP as a monolith
// "SAP gives us 2 years before deprecation, so we're safe"
// Reality: the 2-year policy applies to APIs on SAP Business Accelerator Hub.
// Product-specific APIs (SFAPI, Ariba, Concur) may have shorter timelines.
// Classic ABAP APIs have NO formal deprecation timeline.

Correct: Check policy scope per API surface

// GOOD -- verify which policy applies to your specific API
// 1. Is API on SAP Business Accelerator Hub? --> 2-year/1-year policy applies
// 2. Is it a SuccessFactors SFAPI? --> Check SAP Note 2682094 for dates
// 3. Is it a classic RFC/BAPI? --> No formal deprecation policy; product lifecycle
// 4. Is it a direct table read? --> Level D; no guarantees at all

Wrong: Equating release contract with backward compatibility

// BAD -- misunderstanding release contracts
// "This CDS view has a C1 contract, so it's safe for our external integration"
// Reality: C1 = system-internal use only. It allows field length changes
// that could break external consumers.
// C2 = remote API use. Only C2 guarantees stability for external integrations.

Correct: Match release contract to consumption pattern

// GOOD -- use the right contract for the right scenario
// On-stack ABAP Cloud extension? --> C1 (system-internal) is sufficient
// External integration via API? --> Require C2 (remote API) contract
// Custom fields/extensibility? --> Require C0 (extension) contract
// Configuration content? --> C3 (configuration) applies

Wrong: Building on Level C/D APIs for new integrations

// BAD -- choosing convenience over stability
// "The unreleased BAPI does exactly what we need, stable for years"
// Reality: Level C/D objects have no stability guarantee.
// SAP can change or remove them without notice in any release.

Correct: Use released APIs (Level A) for all new development

// GOOD -- invest in Clean Core from the start
// 1. Search SAP Business Accelerator Hub for released equivalent
// 2. If no released API exists, use Level B (classic API) as interim
// 3. Register customer influence request for the missing released API
// 4. Plan migration to released API when SAP delivers it
// 5. NEVER build new integrations on Level C/D objects

[src5, src6, src7]

Common Pitfalls

Diagnostic Commands

# 1. Check API status on SAP Business Accelerator Hub
# Navigate to: https://api.sap.com/
# Search for API name -> check lifecycle badge (Active/Deprecated/Decommissioned)

# 2. Run ATC Cloud Readiness check (in SAP system)
# ADT (Eclipse): Right-click package > Run As > ABAP Test Cockpit
# Select check variant: "Cloud Readiness" or "ABAP Cloud Readiness"
# Review findings for: unreleased API usage, deprecated API usage

# 3. Check Simplification Database for upgrade impact
# Transaction: /n/SDF/SMON or Simplification Item Catalog
# URL: https://me.sap.com/app/simplification
# Filter by: your S/4HANA target release

# 4. Check SuccessFactors SFAPI status
# SAP Note 2795839: SFAPI feature status check tool
# SAP Note 2682094: Partner API, SFAPI Adhoc deprecation details

# 5. Verify CDS view deprecation status (in SAP system)
# ADT: Open CDS view > check "Release State" in Properties
# States: Released (C1/C2), Not Released, Deprecated
# For deprecated views: check "Successor" annotation

Version History & Compatibility

Policy VersionEffective DateStatusKey ChangesNotes
Current (SAP API Style Guide, Public)2024-presentActiveClean Core Level A-D model introducedReplaces 3-tier extensibility model
3-Tier Model2022-2024SupersededTier 1 (ABAP Cloud), Tier 2 (gap), Tier 3 (classic)Binary clean/not-clean assessment
Original API deprecation policy2020-presentActive2-year minimum before deprecation, 1-year before decommissionCentral policy unchanged

[src1, src5]

When to Use / When Not to Use

Use WhenDon't Use WhenUse Instead
Planning migration from deprecated SAP APIsNeed specific API rate limits or endpointsIndividual SAP API capability cards
Assessing risk of building on classic ABAP APIsNeed Salesforce/Oracle/other vendor deprecation policyVendor-specific deprecation policy cards
Evaluating Clean Core compliance of existing extensionsNeed SAP product end-of-support datesSAP product lifecycle / maintenance schedule
Choosing between released (Level A) and classic (Level B) APIsNeed step-by-step API authentication guideSAP authentication/integration capability cards
Building upgrade risk assessment for S/4HANA migrationNeed pricing or licensing detailsSAP commercial/licensing resources

Cross-System Comparison

Policy AspectSAPSalesforceOracle ERP CloudNotes
Min. active period before deprecation2 years3 years (API version support)Varies by serviceSAP shortest formal guarantee
Min. notice before decommission1 year3+ years (version retirement in groups)1 year typicalSalesforce most generous
Deprecation announced whereSAP Business Accelerator HubRelease Notes + Trust siteOracle Cloud docs
Formal stability contractsYes (C0-C3 release contracts)No (version-based support)No (release-based)SAP most granular
Extension level model4 levels (A-D Clean Core)No equivalentNo equivalentSAP unique
Bug fixes during deprecationYesYesYesIndustry standard
New features during deprecationNoNoNoIndustry standard

Important Caveats

Related Units