How to implement same badi multiple times in system?
Answers
I understood the concept of BADI -----means used to enhance the standard object or functionality in system.
I have created one Badi in the system and following are the steps.
1. Create Enhancement spot in SE18.
2. Created BADI definition in the Enhancement spot.
3. Assigned Interface to the created BADI
4. Then i have created BADI implementation and where it ask for the Enhancement implementation (Enhancement Implementation also created in same step)
5. Created Badi Implementation class and also done the implementation of Interface methods.
6. Done the activation of BADI and Enhancement spot.
Calling the same Badi in the zprogram.....
Data bd type ref to zBADI_definition.
get badi bd.
call badi bd->method importing parms.
I executed the program and it worked fine.
Now again opened the enhancement spot in SE18.
I have second implementation of same Existing BADI in the new Enhancement Implementation.