S4HANA & GTS hubSAP knowledge hub

ABAP · ABAP / Development

Extension-to-Deploy SAP S/4HANA training

Build clean-core extensions from requirement through API/BAdI design, test and transport.

Přehled procesu a business kontext

ABAP development in S/4HANA should protect the clean core. Developers need to choose released APIs, CDS views, BAdIs, key-user extensibility or side-by-side extensions before writing code.

Learners can evaluate an extension requirement, choose a supported extension point and deploy it with tests and rollback evidence.

End-to-end tok

  1. 1

    Analyze requirement

    Jira / Solution Manager

    Fiori aplikace: Manage Requirements

    Dopad na ACDOCA: Defines process, trigger and data ownership.

  2. 2

    Find extension point

    SE18 / ADT

    Fiori aplikace: Custom Fields and Logic; ADT

    Dopad na ACDOCA: Selects released API, BAdI or side-by-side option.

  3. 3

    Build and test

    ADT / SE80

    Fiori aplikace: ABAP Development Tools

    Dopad na ACDOCA: Implements code with unit and integration checks.

  4. 4

    Run quality gates

    ATC

    Fiori aplikace: ABAP Test Cockpit

    Dopad na ACDOCA: Finds syntax, security and clean-core issues.

  5. 5

    Transport and monitor

    SE10 / STMS

    Fiori aplikace: Transport Organizer

    Dopad na ACDOCA: Moves extension and verifies runtime logs.

Klíčové tabulky

TableVysvětlení
TADIRRepository object directory.
TRDIRABAP program directory.
DD02L / DD03LDictionary table and field metadata.
SXS_ATTR / Enhancement metadataEnhancement framework and BAdI metadata context.
E070 / E071Transport request and object list.

Postup krok za krokem

Start with standard capability

Check whether configuration, Fiori adaptation or released API solves the need.

Na co si dát pozor: Custom code should not replace available standard behavior.

Choose upgrade-stable design

Prefer released APIs, CDS views, BAdIs and side-by-side services.

Na co si dát pozor: Direct table updates or modifications are long-term upgrade risk.

Test the process trigger

Validate input structures, authorization, performance and failure behavior.

Na co si dát pozor: A BAdI can be technically correct but wrong in a mass-processing scenario.

Document support model

Record owner, trigger, side effects, rollback and monitoring.

Na co si dát pozor: Hidden extensions become expensive incidents after upgrades.

Běžné chyby a řešení problémů

Extension breaks after upgrade

Pravděpodobná příčina: It used unreleased object or implicit dependency.

Postup opravy: Replace with released API/BAdI and add ATC checks.

BAdI implementation slows posting

Pravděpodobná příčina: Expensive logic runs synchronously in a high-volume process.

Postup opravy: Move heavy logic to asynchronous processing or optimize selection.

Transport misses dependent object

Pravděpodobná příčina: CDS, class, authorization or customizing dependency was not included.

Postup opravy: Review object list and import sequence.

Rozdíly ECC a S/4HANA

S/4HANA shifts development toward released objects, ABAP Cloud principles, CDS, RAP and clean-core extensibility instead of direct modification of standard code.

Slovník

Clean core
Approach keeping extensions separated from SAP standard internals.
BAdI
Business Add-In extension point delivered by SAP.
CDS view
Core Data Services model for semantically rich data access.
ATC
ABAP Test Cockpit quality and compliance check framework.

Knowledge check

Pro odemknutí certifikátu dokončete quiz alespoň na 70 %.

Spustit generátor