2

ECC6 Enhancement Framework in 100 lines

Once upon a time, there was a very clever person at Waldorf that decided that SAP standard coding could be possible to enhance without actually changing the standard code. A then Enhancement Framework was born.

The approach that I usually take on the SAP training sessions that I provide is to highlight the Enhancement Framework as a second layer of code sitting on top of SAP standard code. The two layers connect through anchor points. These anchor points are the BADIs, the enhancement points, sections etc.
The real great advantage of using the Enhancement Framework is that upon an upgrade or installation of support packages, the new standard code enters directly on top of the standard layer without touching anything on the enhancement layer.

1. Explicit VS Implicit Enhancement

Implicit enhancement options are already in a predefined place attached to the standard code, they are provided by the framework. Explicit enhancement options need to be inserted explicitly.

2. Explicit Enhancement

  • BADIs – The interface of the BADI is already defined (attributes, methods, etc). It’s up to the developer to create one or more implementations for this interface. BADIs execution can be subjected to filters and there are old and new BADIs. The old ones are based at code level where implementations are searched by means of code execution, they are performance costly and should be avoided. The new ones are based on the kernel level and give the ability of a fast run and low level of impact on performance.
  • These explicit enhancements that are new to this ECC6 framework are the ones which can be provided at a specific place – called Enhancement Point, and another which can be used to replace a set of statements – called Enhancement Section.

SAP Enhancement Framework

3. Implicit Enhancement

These enhancements are available at certain pre-defined places. For example:

  • At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
  • At the beginning and end of all FORM subroutines
  • At the end of all ABAP Function Modules
  • At the end of all visibility areas (public, protected and private) of local class

SAP Enhancement Framework

Using these Enhancement Framework enhancing function modules, class-methods interfaces are also quite easy to perform. On our next posts we will approach all thes features and a less known one, the Dark Side of the Enhancement Framework.

See you next time, on the dark side!

About the author

Helder Goncalves (hfgoncalves) has been working with ABAP development for more than 9 years, covering all major modules, releases and technologies. Click here to view Helder’s full profile.

Author : Antonio Caldas

Author's Website | Articles from

Working as an Information Systems Consultant for over 10 years, I've found that working with SAP brought me added value on how to deal and manage IT and Information Systems Projects. More than a hobby, this blog is aimed to propagate SAP knowledge exchange and help other SAP technology or functional Consultants finding any piece of useful information. Please participate with your comments and opinions, it will help enrich the SAP community. Thanks!


Related Posts


User Comments


  1. Kalyan Misra
    January 24, 2011

    Good One!! Thanks!!

    Reply


  2. manu
    January 18, 2012

    Hi,

    When we implement implicit enhancement, does a class gets created or what becasue a class implements an interface, but in case of implicit enh i am not sure what actually we are implementing.

    Regards,
    Manu

    Reply





Community Feeds

  • Java Online Training

    very nice post thanks for sharing this article.
    Thanks
    Training Aspirants
    http://www.trainingaspirants.com

  • informatica online training/obiee online training

    We are providing the best online training by industrial IT experts with one free demo class, real time coaching and placement assistance.

  • Sap

    TallyMarks Consulting has successfully implemented SAP BI and Business Objects in a record time of 5 months at Getz Pharma. For more details on this cost effective project by the market leader, visit: http://www.tallymarks.co/

  • Learn SAP

    Refer this blog to learn some useful tips on various SAP customizing areas.

  • Free and premium SAP Training

    SAP training for all skill levels – complete beginner to very experienced. Articles, Videos and downloadable content.

  • SAP Blog

    SAP centric blog based on practical experiences of an admin

  • SAP Jobs

    Red Commerce is a leading recruitment agency which specialises in sourcing quality staff for the SAP industry. Our site is full of useful information and we are always on hand to answer any queries you may have.

  • SAP Online Training on all Major IT Courses.

    Training Aspirants provide Online Training & Corporate Training. We make sure for a right class size in order to make Online sessions most interactive.
    Training Aspirants started with a motto to provide quality and effective online training for the students worldwide with the best instructors.

    For Details Visit: http://www.trainingaspirants.com

    Call Us: US :001-713-900-7669
    US: 001-630-974-1794
    India : 091-779-985-5779
    Mail Us: mail@trainingaspirants.com

  • Expertise technique SAP, ABAP

    Expert Technique SAP, ABAP

  • SAP Training and Certification Courses

    Be a part of SAP training and online sap certification to boost up your skills and career. SAP training helps to improve your business methodologies which are beneficial to generate business around the world. JKT SAP Academy is an authorize education partner of sap and provide sap training for sap abap, sap erp, sap basis, sap fi,sap co, sap mm, sap sd, sap pp and other functional modules.

Submit More
;;