6 Columns with Active Background
6 Columns with Active Background
Active List Item Background

24ENHANCEMENT1510 – Tools of Enhancement Framework and Transactions

1. Tools of the Enhancement Framework:

Enhancement Spots:

These are predefined hooks within the SAP standard code where enhancements can be implemented.

  • Explicit Enhancement Spots: Explicitly created in the code by SAP, allowing you to add custom code at designated points.
  • Implicit Enhancement Spots: Automatically available at specific locations such as the start and end of a program or form routine and at the end of a function module or method.

Enhancement Implementations:

These are the actual implementations or pieces of custom code that you add at an enhancement spot. You can create different types of enhancement implementations:

  • Source Code Enhancements: Insert custom code directly into the standard source code at explicit or implicit enhancement spots.
  • BAdIs (Business Add-Ins): Implementations of BAdI interfaces provided by SAP to enhance specific functionality.
  • Function Exits and Screen Exits: Modify standard processing logic or screens via user exits.

BAdI (Business Add-In):

BAdIs allow for object-oriented enhancements. They are interfaces defined in enhancement spots that developers can implement to extend or change the standard behavior of the system. There are two types of BAdIs:

  • Classic BAdIs: Defined using the transaction SE18 and implemented using SE19.
  • New BAdIs (Kernel BAdIs): Part of the modern Enhancement Framework.

Switch Framework:

This allows enabling or disabling enhancements using switches. This is useful in environments where multiple customers share a system and certain enhancements should only be activated for specific customers or users.

2. Transactions in the Enhancement Framework:

SE18 (Definition of BAdI):

  • This transaction is used to define a new BAdI (Business Add-In).
  • You can create and manage BAdIs (new or classic) and define the methods that will later be implemented.

SE19 (Implementation of BAdI):

  • This transaction is used to implement a BAdI that was defined in SE18.
  • Here, you can select a BAdI definition and write custom code to modify the SAP standard functionality.

SE20 (Enhancement Framework Browser):

  • This transaction provides an overview of the Enhancement Framework.
  • It shows all enhancement spots, implementations, and switches in one place, making it easier to manage the enhancement elements in a structured way.

SE24 (Class Builder):

  • This is the Class Builder transaction where you can view and create classes, including classes related to BAdI implementations.

SE80 (Object Navigator):

  • SE80 is the Object Navigator, and it’s an all-in-one transaction where you can browse and manage all ABAP repository objects, including enhancement spots and implementations.

SMOD (User Exits – Enhancement Management):

  • This transaction is used to search for and implement user exits in SAP, which are another way to enhance standard functionality.

CMOD (Project Management for Enhancements):

  • This transaction is used to assign user exits to a specific enhancement project and manage the enhancement implementations.

SE84 (Repository Information System):

  • SE84 helps in searching for enhancement spots, BAdIs and other enhancement-related objects.
  • It’s useful for locating enhancement options when working in large systems.

Author : Aniket Pawar, 9373518385  

24ENHANCEMENT1510 – Tools of Enhancement Framework and Transactions

1. Tools of the Enhancement Framework:

Enhancement Spots:

These are predefined hooks within the SAP standard code where enhancements can be implemented.

  • Explicit Enhancement Spots: Explicitly created in the code by SAP, allowing you to add custom code at designated points.
  • Implicit Enhancement Spots: Automatically available at specific locations such as the start and end of a program or form routine and at the end of a function module or method.

Enhancement Implementations:

These are the actual implementations or pieces of custom code that you add at an enhancement spot. You can create different types of enhancement implementations:

  • Source Code Enhancements: Insert custom code directly into the standard source code at explicit or implicit enhancement spots.
  • BAdIs (Business Add-Ins): Implementations of BAdI interfaces provided by SAP to enhance specific functionality.
  • Function Exits and Screen Exits: Modify standard processing logic or screens via user exits.

BAdI (Business Add-In):

BAdIs allow for object-oriented enhancements. They are interfaces defined in enhancement spots that developers can implement to extend or change the standard behavior of the system. There are two types of BAdIs:

  • Classic BAdIs: Defined using the transaction SE18 and implemented using SE19.
  • New BAdIs (Kernel BAdIs): Part of the modern Enhancement Framework.

Switch Framework:

This allows enabling or disabling enhancements using switches. This is useful in environments where multiple customers share a system and certain enhancements should only be activated for specific customers or users.

2. Transactions in the Enhancement Framework:

SE18 (Definition of BAdI):

  • This transaction is used to define a new BAdI (Business Add-In).
  • You can create and manage BAdIs (new or classic) and define the methods that will later be implemented.

SE19 (Implementation of BAdI):

  • This transaction is used to implement a BAdI that was defined in SE18.
  • Here, you can select a BAdI definition and write custom code to modify the SAP standard functionality.

SE20 (Enhancement Framework Browser):

  • This transaction provides an overview of the Enhancement Framework.
  • It shows all enhancement spots, implementations, and switches in one place, making it easier to manage the enhancement elements in a structured way.

SE24 (Class Builder):

  • This is the Class Builder transaction where you can view and create classes, including classes related to BAdI implementations.

SE80 (Object Navigator):

  • SE80 is the Object Navigator, and it’s an all-in-one transaction where you can browse and manage all ABAP repository objects, including enhancement spots and implementations.

SMOD (User Exits – Enhancement Management):

  • This transaction is used to search for and implement user exits in SAP, which are another way to enhance standard functionality.

CMOD (Project Management for Enhancements):

  • This transaction is used to assign user exits to a specific enhancement project and manage the enhancement implementations.

SE84 (Repository Information System):

  • SE84 helps in searching for enhancement spots, BAdIs and other enhancement-related objects.
  • It’s useful for locating enhancement options when working in large systems.

Author : Aniket Pawar, 9373518385