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

when is CL_EXITHANDLER method GET_INSTANCE is called?

Former Member
0 Likes
6,349

hi all,

for finding a BADI we go to SE27 (Class Builder) and open the CL_EXITHANDLER class. we than put a break point at GET_INSTANCE method.

i want to know while running any transaction when does this method (GET_INSTANCE) is called.

PS: its just a basic question out of curiosity. please help

5 REPLIES 5
Read only

Former Member
0 Likes
3,938

sorry .. its SE24: the class builder

Read only

adrian_mejido
Contributor
0 Likes
3,938

Hi Narender,

There are some reports that could help you to find EXITs, BADIs, etc. Try to search on the scn.

Best Regards.

Read only

0 Likes
3,938

hi Majido,

my query is not regarding finding user exits or BADIs. i want to know that - "when i execute any transaction say MM01, at what points the method GET_INSTANCE of class CL_EXITHANDER is called"

Read only

0 Likes
3,938

This Method is executed to check if there is any implementation(EXIT) for your transaction. The method that you say tries to find the EXIT_NAMEs for the transaction.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,938

Often the call occurs early in treatment, because its outcome affects the processing logic. But there are no absolute rule, a BAdi only processed at save may not be checked for implementation til actual save processing.


Apart of break-point you can use a tool like SAT ABAP trace (SE30 or old) to find it.

Regards,
Raymond