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 |
1) What is read with binary search? 2) I have initialization write ?a? Top-of-page write ?b? what is the output for this/ 3) If I don?t have start of selection event in report will it execute?it is mandatory or not? 4) What is table maintenance generator? 5) Is it advisable to have secondary index/ 6) How we will imlement BAPI? 7) What is process code in idoc? 8) Where the information msg will display? 9) Where warning msg will display? 10) Where we use watch point?what exactly watch point means? 11) What is a spool? 12) What is program name that contains all print program names and form names other than TNAPR? 13) How we will capture errors in bapi? 14) How to transfer std text from production to quality?
in a loop of an internal table, what is the use of at first & at last statements?
Control Break St........i have written At new for customer and in the loop customer came in the 3rd record....weather it'll trigger in the 1st record of the loop or 3rd record ?
Can a domain, assigned to a data element be changed? : abap data dictionary
what is BDCDATA structure?
How to debug a smartform otherthan putting break-point in initializatin section?
5 Answers BirlaSoft, IBM, KPIT,
What are the output type and Tcodes?
Explain the Types of Select statements?
Exception handling and how does it transfer from called method to calling method?
What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr
Difference Between Call By Value and Call By Reference?
24 Answers Cognizant, Intel, Reliance, TATA, TCS, Wipro,
how can be restore a project deleted in lsmw?