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 r the limitations of BADI?

Former Member
0 Kudos

I mean what cannot b done or not allowed while working with BADI' S?

2 REPLIES 2

h_senden2
Active Contributor
0 Kudos

You're restricted to the interface of the related methods. So you cannot use other variables.

And sometimes there are badi's that are SAP use only, so you cannot create an implementation for it.

regards,

hans

uwe_schieferstein
Active Contributor
0 Kudos

Hello Siva

BAdIs are the most flexible approach to user-exits.

Hans' remark is not correct if you know the trick how to access data from the BAdI calling program:

[SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]

And do not forget that the BAdI interface is implemented by a class! You may not know when the calling program instantiates your BAdI yet when it happens you can implement any kind of logic you would like to have in the CONSTRUCTOR method of the BAdI implementing class.

Regards

Uwe