Beruflich Dokumente
Kultur Dokumente
Its going to display the status, double click the screen program name. Get the package
from Goto -> Attributes.
Whats an interface?
Well, an Interface is a container that contains unimplemented methods. Thats the Point,
now we are going to implement the methods of this interface. Lets find out, of all these
methods which method does the work for us (remember, the badi implementation must
raise a message whenever the user tries to change the unit of measure in MM02
Transaction). Intuitively, CHECK_CHANGE_MARA_MEINS does the work for us.
Well if you are not convinced enough look for the description in the description part.
Step 10. Lets get into the business now, creating an Implementation of the Business Add-
in.
Step 11. Look for the Menu bar, you will find the Implementation Menu, Click it.
Step 12. Press the Create menu item.
Step 13. Its going to ask the Implementation name, Give a name and press Enter.
Step 14. Give a Short description and save it.
Step 15. Press the Interface tab. You will see the Interface name and the class that is
going to implement it.
Step 16. Double click the method CHECK_CHANGE_MARA_MEINS. The following
screen appears.
Step 17. Write the necessary code,
ENDIF.
Well, Whats happening here, wondering where I got these variables from. Do not worry,
I will let you know. In the previous screen shot you have seen a class that was
implementing the Business Add-in. Double click the class name, you will be lead into a
screen where all the methods of the class are shown. Place the cursor on the following
method IF_EX_BADI_MATERIAL_CHECK~CHECK_CHANGE_MARA_MEINS,
and click the Parameters Push Button which is above. You will find old_meins and
new_meins in the parameters list.
What is this
IF_EX_BADI_MATERIAL_CHECK~CHECK_CHANGE_MARA_MEINS?
Read the following points