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.

Prehľad procesu a biznis 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 aplikácia: Manage Requirements

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

  2. 2

    Find extension point

    SE18 / ADT

    Fiori aplikácia: Custom Fields and Logic; ADT

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

  3. 3

    Build and test

    ADT / SE80

    Fiori aplikácia: ABAP Development Tools

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

  4. 4

    Run quality gates

    ATC

    Fiori aplikácia: ABAP Test Cockpit

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

  5. 5

    Transport and monitor

    SE10 / STMS

    Fiori aplikácia: Transport Organizer

    Vplyv na ACDOCA: Moves extension and verifies runtime logs.

Kľúčové tabuľky

TableVysvetlenie
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 krokom

Start with standard capability

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

Na čo si dať 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 čo si dať pozor: Direct table updates or modifications are long-term upgrade risk.

Test the process trigger

Validate input structures, authorization, performance and failure behavior.

Na čo si dať 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 čo si dať pozor: Hidden extensions become expensive incidents after upgrades.

Bežné chyby a riešenie problémov

Extension breaks after upgrade

Pravdepodobná príčina: It used unreleased object or implicit dependency.

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

BAdI implementation slows posting

Pravdepodobná príč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

Pravdepodobná príčina: CDS, class, authorization or customizing dependency was not included.

Postup opravy: Review object list and import sequence.

Rozdiely 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

Na odomknutie certifikátu dokončite quiz aspoň na 70 %.

Spustiť generátor