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: 

EXIT or BADI???

Former Member
0 Kudos
133

HI,

I am in the process of upgrading myself from 4.6 to ECC 6.0.

I have small requirement for whether to use exits or a badi in a transaction IE01. Can you tell me what should be used in ECC6.0 for this transaction? When should we use exit and when should we use badi???

Rgds,

SRVD.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
86

the order should always be:

search for enhancement spots in enhancement framework,

then in BADI,

then in EXIT.

5 REPLIES 5

Former Member
0 Kudos
87

the order should always be:

search for enhancement spots in enhancement framework,

then in BADI,

then in EXIT.

0 Kudos
86

Hi,

How to go about find them, can you explain breif procedure of finding & implementing the first two: Enhancement spots & BADI's? Even useful links suffice.

Rgds,

SRVD.

0 Kudos
86

in any editor window, IN ECC, you have a button just before check button called enhancements( Shift+F4)

click it.

then in menubar->EDIT->enhancements ->show enhancement sopts.

OR

goto SE24, cl_exithandler.

method: get_instance.

put a break point there. then run your tcode. it will tell you all the available BADIs there

0 Kudos
86

HI,

Can i find some documents somewhere to go about it in a detailed way for both of these methods???

SRVD.

Former Member
0 Kudos
86

Hi,

Please use the following steps

For EXIT

1. Open transaction SE24.

2. Now open the object CL_EXITHANDLER in display mode.

3. Go to the method tab and double click on the method GET_INSTANCE.

4. Put a break point on cl_exithandler=>get_class_name_by_interface.

5. Now execute the transaction you want to find EXIT for, it will take you to the above method.

6. Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the EXIT used for your transaction.

7. Hit F8 and it will tell you all the EXITu2019s for your transaction.

to find the BADI attached to the Transaction..

go to T-code>se15>expand enhacements tabel>expand Business addins>enter package attached to t-code ( enter package and execute..

you will find the badi attached to t-code..

Regards,

Manish