Badi
Badi
Badi
Transaction codes:
SE18 is used to analyze the definition of badi.
SE19 is used to implementing the badi.
Advantages of badi:
Main advantage is we can create multiple implementations for a single badi.
Difference between enhancement and badis.
Enhancements
we can create single implementation for a
single enhancement
Types of enhancements
1.user exits
2.customer exits
2.1. function exit
2.2.menu exit
2.3.screen exit
2.4. field exit
Badis
Multiple implementations for a single badi
Types of badis.
1.single implementation badi
2.multiple implementation badi.
3. filter badi
4.custom badi
3. Find out the exit name by clicking f8 ( each exit name is one badi)
Object1:
Requirement:
Find the customer delivery item.
Meaning: There are 10 customers for one vendor, and daliy limit of delivery is for a particular material
8 items.
Step1: find out the badi. Using TCODE: SPRO.
Interface tab
Double click
here
Select method name and click on parameters tab to find the required fields.
Next give short text and double click on name of implementation class
Double click
here and save it
After create again a small window opens there give enhancement implementation name and short text
and click on ok.
Next come back and click on method name you analyzed before
Next click on method name , editor will be opened and write your code and save it