what is difference between User Exit and BADI
Answers were Sorted based on User's Feedback
Answer / venkata ramamohana rao s
in userexists every exist has only one implimentaion.
in Badis have the definitions, definitions are acts as a
interfaces means one definition have many implimentations.
all the implimentations executed one by one.
in userexist if u want to find out the enhancement spots
for using SMOD and activation for Using CMOD.
in Badis, find out ths definitions using SE18 and
Implimentaion are done in SE19.
Userexists is a Procedural approach.
Badi is Object Oriented approach.
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / pnrao.abap
User Exit:Depend on the function modules
It is only one time implemented.
No Reusability
BADI: Depend on the classes and methods.
Reusability
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / 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 |
Answer / nahid
Object oriented form of inhancement is used in BADI while
user exit is traditinal one.
User exit comes under modification while badi is
enhancement.
Is This Answer Correct ? | 3 Yes | 1 No |
What are the different types of luws?
identify valid statement when coding a field exit ? a) submit RSCA101X b)MESSAGE E101 C)MESSAGE I101 d)BREASK-POINT
What is the difference between a dialog program and a report?
What is the tcode for sapscript forms?
list the important field symbol?
What is a collect statement?
How can we send data to external programs?
What is the Difference between Transparant Tables , Pooled & cluster Tables?
1 Answers Patni, Satyam, Siemens,
What are the 2 other types of views, which are not allowed in release 3.0?
What is an internal table?
What is the difference between value table and check table?
4 Answers Accenture, TechCatalyst,
What are the different types of work process?