|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Defining and Implementing Business Add-ins (BADI) (Step-by-step with screenshots)
(b) Or go to T.code SE19.
A popup window will ask you for the definition name. Enter
the name of the BADI definition which you have created.
Enter the description for the implementation. Then save and
Double click on the method name.
Write the following code. Save and activate it.
Now create the following code , using the created BADI
The above example is Single
implementation. For multiple
implementations, define an add-in and select the Multiple Use checkbox
from the Attributes tab.
We can differentiate between
single-use and multiple use Business Add-Ins. The distinction is based on the
procedure or event character of an enhancement. In the first case, the program
waits for the enhancement to return something, usually a return code. A typical
example could be a benefit calculation in HR. Depending on the
implementation, alternative calculations can be executed. With multiple use
add-ins, an event that may be of interest to other components is processed in
program flow. Any number of components could use this event as a “hook” to
hang their own additional actions on to.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards