‎2006 Dec 15 6:38 AM
Hi All,
I have a bsic doubt on BADI'S.
Badi's are also like userexits.
but badi's are reusable.How they are reusable .can any one explain me with any example.
Thanks in Advance.
Thanks&Regards.
Ramu.
‎2006 Dec 15 6:46 AM
There can be multiple implementations for a BADI definition.
Multiple use for BADI definitions means that there can be several
active BADI implementations
‎2006 Dec 15 6:50 AM
Hi,
Multiple use for BADI definitions means that there can be several active BADI implementations. When there is a call, they are all called up - however, in an unpredictable sequence. If you have multiple-use BADI definitions, the sequence must not play any role therefore.
regards,
pankaj singh
‎2006 Dec 15 7:00 AM
Hi Ramu,
BADI is nothing but a interface method. Which is used to put a piece of code in standrad SAP Program. For this reason some factory methods will be used in the Standrad SAP Program.
As you aware that BADI is method and part of Object oriented concept. you can create more than one instance for the class.
BADI interface method and you can implement multiple times. Based on the filter values the method will be calling. Otherwise all implement methods will be calling one by one.
Please check the class CL_EXITHANDLER for factory methods.Two types are badi availble.
1) Method BADI
2) Screen BADI
Regards
Bhupal Reddy