what is difference between User Exit and BADI

Answer Posted / anonymousabapdeveloper

Let us not confuse ourselves with user exits and customer exits. They are not the same. If you are referring to user exits - these are subroutines in a subroutine pool which provide an SD transaction a way to enhance its standard logic. You need an SAP access key to implement them. In a user exit, you can manipulate all the global data in the standard program.

Customer-exits on the other hand are function modules which follows naming convention EXIT_<program name>_<3 digit suffix>. Customer exits are grouped into Enhancement IDs which can be displayed in transaction SMOD. Customer exits can be activated/deactivated using a project in CMOD. Customer exits are called using CALL CUSTOMER-FUNCTION '<3 digit suffix>' but can also be called using ABAP statement CALL FUNCTION 'EXIT_<program name>_<3 digit suffix>'.
The difference between these two calls is only the latter implicitly checks if the customer exit is active or not.

BADI or business add-in is an enhancement based on ABAP objects. It benefits from the concept of polymorphism which allows it to have more than 1 implementation if defined as multi-use. The first two enhancements cannot.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can i Have Some Realtime Examples On Modulepool programming.

5550


What are the events driven batch jobs?

591


Exception handling and how does it transfer from called method to calling method?

874


When a function module is activated syntax checking is performed automatically. State yes or no. : abap modularization

614


Table events aNd table maintains generation

991






Have you processed BDCs ?

634


How we can give authorization on the fields of table control in a dialog-programming?

1849


What are lock objects?

599


Where do you code the hide statement?

573


There is a delivery that is being created through the ABAP code and in the middle it says delivery created but someone is modifying , how would you rectify this issue

7591


Can a transparent table exist in data dictionary but not in the database physically? : abap data dictionary

705


HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM?

1635


What are indexes? : abap hr

593


Under Data Transfer Portion of ABAP, what do you mean by DX Project

1853


What is the use of table control in bdc is it same in module pool table control? : abap bdc

678