Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI and OOPS

Former Member
0 Likes
1,257

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

3 REPLIES 3
Read only

Former Member
0 Likes
781

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...

Read only

0 Likes
781

All programs that have BADIs are 100% percent OO. Is this assumption correct?

Regards

Nanda Kishore

Read only

0 Likes
781

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.