IMPLEMENT BADI FOR MM01
BUSINESS REQUIREMENT : Put a message prompt when material of type IBUS(ASSEMBLY MAINTENANCE ) is created in MM01 .
IN this case , we need to search the badi , we use se24 and put the break point and if you find the badi where you need to put your own code to enhance the standard code .
In my case , i had to put on save , so used badi_material_check.
go to SE 18 then put the badi name . Then go to interfaces ,create implementation
GO INSIDE , CHECK DATA METHOD AND WRITE YOUR CODE .
BUT BE SURE CHECK THE SIGNATURE , AND DATA THAT IS TO BE PASSED. AND
GO BACK AND ACTIVATE THE IMPLEMENATATION.
AFTER ACTIVATION , GO TO MM01 AND ENTER THE DETAILS TO CREATE MATERIAL.
ENTER THE BASIC DATA , AND THEN SAVE IT'S DETAIL AND YOU WILL HAVE MESSAGE .