ERPClimb logoERPClimb
Enhancements
ABAP Developmentintermediate 8 min read

Enhancements Part 3: Implicit vs Explicit Enhancement Points

Preview · a free account unlocks the full lesson

Key takeaway

Compare explicit enhancement points and sections (placed by SAP in the code) with implicit enhancement options (available at standard positions everywhere): where each exists, how to display them, stability across upgrades and when to use which.

In this lessonShow sections

Visual overview

Enhancements Part 3: Implicit vs Explicit Enhancement Points — learning sheetFlow: Search program SAPMV45A for ENHANCEMENT-POINT (Ctrl+F) and pick one inside an include → Show implicit options in a FORM of the same program → Compare: what data is available at each place (use the debugger). Key ideas: EXPLICIT ENHANCEMENT POINT; EXPLICIT ENHANCEMENT SECTION; IMPLICIT ENHANCEMENT OPTIONS; HOW TO SEE THEM. Watch out: An ENHANCEMENT-SECTION implementation REPLACES SAP's code in that section — high risk.ERPClimb.com / ABAP / LESSON 3/10 / LEARNING SHEETEnhancements Part 3: Implicit vs Explicit EnhancementPoints1 · HOW IT FLOWS1Search program SAPMV45Afor ENHANCEMENT-POINT(Ctrl+F) and pick one…2Show implicit options ina FORM of the sameprogram3Comparewhat data is available at eachplace (use the debugger)2 · KEY IDEAS EXPLAINEDExplicit Enhancement PointYour code is inserted at that point (additionallogic).Several implementations can exist and all run.Explicit Enhancement SectionSAP source:Implicit Enhancement OptionsStart and end of FORM routines, function modules,methods (for methods: pre-/post-/overwrite-exitmethods of global classes).End of includes, reports, structures (appendfields in structures with care), end of thePUBLIC/PROTECTED/PRIVATE section of classes.How To See ThemSource editor → Enhance (spiral) → Edit →Enhancement Operations → Show Implicit EnhancementOptions: markers appear as lines of quotes…3 · REMEMBER · WATCH OUTRememberExplicit options (ENHANCEMENT-POINT / ENHANCEMENT-SECTION) are placeddeliberately by SAP where extensions are expected.Implicit options exist automatically at the start/end of FORMs,function modules and methods, at the end of includes and in some…Explicit points are more stable: SAP designed the context; implicitones depend on internal code that may change.!Watch outAn ENHANCEMENT-SECTIONimplementation REPLACES SAP's codein that section — high risk.4 · IN A REAL PROJECTA project replaced an ENHANCEMENT-SECTION for plant determination with its own code for one salesorganisation. After a support package, SAP corrected the original logic in that section for another country,but the project's systems kept the old behaviour because the section was replaced. The team moved the rule to…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 2 introduced both explicit and implicit enhancement options; this lesson compares them in detail so you can choose correctly between them.

An explicit enhancement point appears in SAP source code as ENHANCEMENT-POINT ep_xy SPOTS es_xy. Your code is inserted at that point as additional logic, several implementations can exist there and all of them run, and because SAP designed the surrounding context deliberately, the variables available there tend to remain valid across upgrades. A STATIC variant, ENHANCEMENT-POINT … STATIC, exists for declarations.

An explicit enhancement section looks like ENHANCEMENT-SECTION es_xy SPOTS es_spot. followed by SAP's own code, ending with END-ENHANCEMENT-SECTION. Here, your implementation replaces the SAP code between the markers rather than adding to it. Only one active implementation should replace a given section, and because you now own the replaced logic, SAP's own corrections to that logic no longer reach you. An ENHANCEMENT-SECTION implementation replaces SAP's code in that section, which makes it high risk.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.