| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Implementing BADI for the transactions VL02 & MM02By Truptimaya Mishra, Capgemini India Introduction
to BADI
Step
1: Run the
transaction SE24. Under object type
put the class name ‘CL_EXITHANDLER’. Click on
display button.
Under this
class ‘CL_EXITHANDLER’ select the
method ‘GET_INSTANCE’ and double
click.
Under
the method ‘GET_INSTANCE’ put
break point on a function module called ‘CALL
METHOD CL_EXITHANDLER=>GET_CLASS_NAME_BY_INTERFACE’
Step
2: Then
according to the requirement run the transaction. In this example transaction
code is VL02. Run the
transaction VL02. As in 1st
step we have putted a break point, that function module will give all BADI used
by the transaction in each screen and activity on the application (VL02).
Under the
parameter EXIT_NAME this debugger
screen will give all BADI name for
each screen.
Each time
press F8, you will get all BADI used for the screen. After that system will go
for next screen. BADI NAME:
EHS_DG_001
LE_SHP_DELIVERY_PROC
LE_SHP_PRICING
BADI_LAYER
CU_CONFIG_DELEGATION 1st
screen of transaction VL02.
Step
3: Choose
your BADI name and you can see the detail in transaction SE18. Lets take a BADI ‘BADI_LAYER’.
Click on display button.
Press F8
to get the details of the corresponding BADI.
Here we
can get the attribute and interface details of the BADI. As this one is screen
BADI sub-screen tab also is there.
Step
4: To
implement the BADI, we have transaction SE19. To create
new BADI to implement the put your BADI name here. If the BADI is an
enhancement-point then put the BADI name in option NEW BADI and if only BADI then put the name in CLASSIC BADI.
Give the
BADI name and click on create button.
Press F8.
Again
press F8. Give an implementation name. Let it be ZTTTTT
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
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 |
||