Bapi and Badi
Bapi and Badi
Bapi and Badi
Some BAPIs and methods provide basic functions and can be used for most
SAP Business Objects. These are called STANDARDIZED BAPI's.
Step 3.In the next dialog box, following information needs to be specified :
Method : Suggest an appropriate name for the method,
Texts : Enter description for the BAPI,
Radio buttons : Dialog, Synchronous, Instance-independent . BAPI 's
are usually implemented synchronously.
Step4.To create the method select Yes in the next dialog box.
Step5.After the program has been generated and executed, check the
program in the method just created.Thus , a BAPI is created.
Testing the BAPI
You can test the BAPI by Testing the individual method of the Business
Object in the Business Object Builder. ( or one can use the transaction
'SWUD' to test the method ) .
You can also use the BAPI Explorer (Transaction code BAPI) for 360' view on
BAPI
BADI
BADI stands for Business Add Ins Just like Customer Exits , BADI help hook
custom enhancements to SAP functionality. Example of a BADI: In
transaction CAT2 - Time Sheet Entry, HR wishes to include an interactive
acknowledgment that knowingly submitting incorrect data is grounds for
dismissal. This can be achieved using BADI
Features:
BADI's are Object Oriented
They can be implemented multiple times
It does not require SAP Software Change Registration
No effect on release upgraded on the functioning of BADI's