Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI Vs User Exit

Former Member
0 Likes
9,585

What is BADI? and how does it differ from traditional User Exit?

Thanks

What is BADI? and how does it differ from traditional User Exit?

Thanks

6 REPLIES 6
Read only

Former Member
3,079

BADI is just an object-oriented version of user-exit. Instead of entering program code into some function module (as in customer-exit), you define some class which has to implement predefined methods and those methods are fired at predefined points just like an old user-exit. Some BADI can have multiple independent implementations which is much better for software deployment as several developers can implement the same BADI independently.

Difference between BADI and User Exits

Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.

As with customer exits two different views are available:

In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.

In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.

In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.

SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.

The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).

All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.

The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.

Read only

0 Likes
3,079

Thanks Amandeep. If you or any one of you have some useful PPT's or documents on BADI, that narrates the BADI implementation, please send it to [email protected]

Thanks a bunch.

Read only

0 Likes
3,079

Look at this .

Read only

0 Likes
3,079

Hi Mohan,

I sent you a PDF file on BADI.

Hope it will give you some idea.

Regards,

Vicky

PS: Award points if helpful

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
3,079

BADIs are Business add-ins. They are user exits/enhancements implemented in an Object Oriented fashion. They are put in specific places just like traditional user exits and must be activated sort of like traditional user exits.

http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/f2e540f8648431e10000000a1550b0/frameset.htm

Regards,

Rich Heilman

Read only

Former Member
0 Likes
3,079

Mohan,

<b>User exit</b> is what we call the customer exit.These are points in SAP application program planned by SAP Developers, where you can insert your own code.

The main disadvantage with this method is that it can be used only once in the system,i.e. there is no feature of reusability.

<b>BAdI</b> is customer exit plus Business transaction event.Then as it is developed on ABAP objects,it caters the need of reusability.These are planned by SAP,customers can develop on their own.

There are many stages in SAP software reaching customer,wich have increased duly and hence a need for reusable object.

Hope this makes things much clear.

regards

Bharat

Message was edited by: Bharat