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: 

statements which should not use in BADIs

Former Member
0 Kudos

One Question ...

Any specific statements are there which we should not use in BADIs ?

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

BADI is an OO ABAP approach, therefore any statement which won't work in the OO context won't work here! Instead breaking your head on what is to be used? and what not? , run a "code inspector" and "EPC" on your implementation class.it will show list of illegal statements in your BADI implementation

Regards

Naren

6 REPLIES 6

Former Member
0 Kudos

Hi

we cant use tables with header lines.

0 Kudos

Thanx Deepika...any more such kind of statements which we shud not use in BADI or even whcih are obsolete in ECC version

0 Kudos

HI , One should not use COMMIT statement also in BADIS coz sometimes it results in many problems like even dump .

0 Kudos

Thank you Manik...

Guys please post if any other statements are there?

Former Member
0 Kudos

Hi,

BADI is an OO ABAP approach, therefore any statement which won't work in the OO context won't work here! Instead breaking your head on what is to be used? and what not? , run a "code inspector" and "EPC" on your implementation class.it will show list of illegal statements in your BADI implementation

Regards

Naren

0 Kudos

Thnx arun...I will try this and come back to u incase if I findany difficulties.

closing the thread.