Application Development 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: 

what is IF_BADI_INTERFACE

Former Member
0 Kudos

what is IF_BADI_INTERFACE ? When im creating a badi ... in the interface it i shwoing as include : IF_BADI_INTERFACE

Why is it gettting created when i m creating an interface ?

1 REPLY 1

matt
Active Contributor
0 Kudos

If you look at the interface in SE24, you'll see it is described as "Tag Interface for BAdIs" That means it is used to identify BADI classes. It's a neat way of grouping classes with a particular attribute. It means you can define a method, (or even a function module) with a parameter of type IF_BADI_INTERFACE, which can be used to process any class which has this interface.

For more about tag interfaces, which is a general object oriented term, see here: http://c2.com/cgi/wiki?TagInterface

There's some SAP specific stuff here: http://help.sap.com/saphelp_nwpi71/helpdata/en/72/581c42f0705033e10000000a155106/content.htm

matt