cancel
Showing results for 
Search instead for 
Did you mean: 

Debugger not going to the Overwrite Exit method

Former Member
0 Kudos

Hi,

I have enhanced a method by creating an Overwrite exit. When I put a break point, debugger is not going to that method only... Why the system behaves like this? any ideas..

Regards,

Lakshmi

Edited by: Lakshmi Atukury on Jan 25, 2011 11:47 AM

Accepted Solutions (1)

Accepted Solutions (1)

Pramanan
Active Participant
0 Kudos

Hi,

In which event the method get called. In any button click or any other method is calling the enhanced method?

Former Member
0 Kudos

Hi,

This is a component controller's method which is being called on click of a Button. After overwriting the method , the debugger still goes to the normal method instead of going to the overwrite method.

Regards,

Lakshmi.

gill367
Active Contributor
0 Kudos

Check whether enhancement is activated.

that can be the only reason i can think of.

thanks

sarbjeet

Former Member
0 Kudos

Enhancement is activated only... this is the basic thing which check .. right?

Regards,

Lakshmi.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You should look at service note 1244440.

https://service.sap.com/sap/support/notes/1244440

Enhancement exits might not be processed (which could explain why the debugger isn't stopping) becuase of the way that the SAP method is called. This has nothing to do with how you implemented the enhancement, but instead how the SAP WD Component is coded. You have to enter a support message to ask SAP to correct the source of the problem if this is in fact the case.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Lakshmi,

Please check the following things:

Is the method being enhanced was called before you created the overwrite exit?

IF No, then please check the event/condition under which the method will be called

IF Yes , then please check that the user with which you are putting the breakpoint is the same at front end (Portal) and backend.

Also check that your enhancement object is activated.

Please revert back in case of issues.

Regards,

Sumit