2009 Jan 22 11:18 AM
If there is a BADI for a given transaction, can I assume that the transaction is purely coded in ABAP OO? In other words, can a BADI be created for a program which is written in npn OO ABAP?
Thanks in advance
Nanda Kishore
If there is a BADI for a given transaction, can I assume that the transaction is purely coded in ABAP OO? In other words, can a BADI be created for a program which is written in npn OO ABAP?
Thanks in advance
Nanda Kishore
2009 Jan 22 11:43 AM
Hi Kishore,
BADIs (Business Addins) are enhancement techniques using Object Oriented Technique.
No, you can not create a BADI for program that is not written in object oriented.
For more information on BADIs, refer to the following link:
http://help.sap.com/saphelp_erp2005/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
Hope this will help you...
2009 Jan 22 12:02 PM
All programs that have BADIs are 100% percent OO. Is this assumption correct?
Regards
Nanda Kishore
2009 Jan 22 12:20 PM
Hi Kishore,
BADI's are called and defined using OOPS concept. But that does not necessarily mean that "100%" of a program is written on OOPS concept.
Using OOPS concept generally means using METHODS and CLASSES.
Even a custom report can be developed on OOPS concept if performs and Function Modules are replaced with CLASSES and METHODS. Instead of writting a piece of code in a perform, it can be written inside a CLASS of a METHOD. This is referred to as programming based on OOPS concept.
Hope this clears your doubt.
Regards,
Abhisek.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |