‎2008 Jan 14 2:45 PM
Hi all....here i have a question regarding BADI...please help me.
what is the difference between single BADI and multiple BADI(how single BADI returns values)?
‎2008 Jan 14 2:48 PM
A single use BADI can only be implemented once and it will return values in it's export parameters (if they do exist).
A multiple use BADI can be implemented more than once meaning that if you have e.g. three different implementations ALL of them are called from the BADI subsequently.
Hope that helps,
Michael
‎2008 Jan 14 2:54 PM
Thanq for ur reply..but u r saying that it returns a value.. where it returns and how could we collect the returned value.
thank u in advance.
‎2008 Jan 14 3:04 PM
It depends how the method you are using was defined and if it actually has return parameters declared or not.
Not every BADI method has return parameters defined. In case they have a return parameter defined SAP standard is usually handling the collection and processing of those values.
Regards,
Michael
‎2008 Jan 14 2:52 PM
Hi.
A BADI that is of type "Multiple Use" (checked box) can be implemented many times under different Z implementations while a Single one cannot. For example, the MB_CHECK_LINE_BADI can be implemented as ZMB_CHECK_LINE_BADI_1 and as MB_CHECK_LINE_BADI_2 and in that case, both will be executed, one after the other.
Regards,
George