🎯 State of SAP 2024 ReportFind the State of SAP 2024 ReportCheck Report
Back to Glossary

BADI

Core Concepts

Definition

BADI stands for Business Add-In, a SAP enhancement technique that allows functional enhancements to SAP applications without modifying the original code.

Detailed Description

A BADI (Business Add-In) is a type of SAP enhancement tool used in the SAP R/3 system to modify standard functionality in a controlled manner. BADI allows developers to enhance and customize SAP applications by providing pre-defined hooks where custom code can be executed. Essentially, it enables the implementation of business-specific requirements while retaining SAP's core stability and upgrade compliance. BADIs are part of the SAP enhancement framework and consist of an interface and multiple implementations.

Key Features

  • Backward compatible and upgrade-safe format for extensions.
  • Enables custom enhancements without impacting SAP standard code.
  • Provides a clear structure through interfaces and methods.
  • Supports multiple implementations to allow diverse application requirements.

Common Modules

SAP CRM

Customer Relationship Management operations can be customized using BADIs.

SAP ERP

SAP's core module where BADIs are frequently used to extend functionality.

Examples

Simple BADI Implementation

Example of implementing a BADI to alter the default behavior of a SAP transaction.

METHOD if_ex_badi_example~method1.
  " custom code here
ENDMETHOD.

Popular Implementations

Customizing Sales Order Processing

A BADI implementation that adds custom checks during the sales order process to ensure compliance with business rules.

Enhancing Material Master Data

Use of BADIs to add additional validation logic for material master data entry.