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 is the difference between interface and global diffinations in smartforms?
with out using chain and end chain how you will do validations
What are th control break events in abap?
In ALV, i have to display list in which some records has to display. starting of each record it should display checkox. and we have to display push button delete. when user select chekc box and press delete button, that entry should delete. please tell me how to do it?
How can we handle table control in bdc? : abap bdc
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
what is the output of given code? data : f1 type i, f2 type i. write : / f1, f2. do 2 times. perform addfld. enddo. write : / f1, f2. form addfld. data : f1 type i, f2 type i. add 1 to f1. add 1 to f2. write : / f1 , f2. endform. int : f1 , f2.
where is security relevent information such as Password for ITS are stored?
what is the use of select for all entries in an internal table?
What are the attributes of the data? : abap data dictionary
hi friends, In smart form how can we convert the decimal to whole no. for ex. i have date like 5.456. now i want convert to whole no. after point value more then 5 means the no should come 6. below 5 means its come 5. any body can help me with code. its urgent. Thanks.
Can we change the IDoc number ? if yes..How ?