|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Step by Step guide for BADI Multiple use implementation
the method you can use the PATTERN option as shown below from the ABAP editor.
Do a CTRL
+ F6 to get the pattern button or click on the PATTERN button from the
application tool bar. Select the ABAP OBJECT patterns radiobutton and click on
the continue button.
next screen enter the class name and the method to be called as shown below
not matter whether you are calling the static method or the instance method.
Click on the continue button.
changes as required and pass the respective parameters. In the above case we
changed the EXIT_NAME and the INSTANCE parameters.
the method from the interface using the interface reference l_BADI_INSTANCE as
parameters required and any additional code required for the report.
report and you will get the output as shown below
go back and create a new IMPLEMENTATION in SE19 as we have enabled MULTIPLE USE
in the BADI DEFINITION.
Go to SE19
and enter a new name and click on the create button
asked for the definition enter the same definition name.
on the continue button.
meaningful description and save and activate the second implementation. Next
double click on the method you wish to implement and write the code.
above in the second implementation we have hard coded the value for the email id
instead of getting the value from the tables. Save and activate the method and
then return to the main screen and activate the implantation again.
Now try to
go to each of the implementation and place a breakpoint at the methods. So we
first go to the implementation 1 and place a break point as shown below.
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