‎2011 Sep 28 2:12 AM
I cannot set a break point in the enhancement implementation I created. Also when I try to select it in SE80 Navigator it says object does not exist. I've re-generated programs, and activated the enhancement, but obviously something is not right because while my transaction hits the SAP subroutine (where my implicit enhancement is located), it is not hitting the enhancement implementation? It syntax checks and activates OK, but SAP acts like it is not there?
Thank-You
‎2011 Sep 28 4:44 AM
HI ,
If you are implemented Implicit Enhancement in subroutine need to check initail code line of subroutine consist of following
control braek statement
1) CHECK
2) CONTINUE
3) EXIT
If Above control break staement available iniatial and u have implemented Implicit Enhancement at end of subroutine
you EI will not triger .
My Sugestion is : if possibele Implement Implicit Enhancement at beginging of subroutine.
Thanks and Regards
Santosh
‎2011 Sep 28 5:48 AM
Hi,
If you are trying to debugg in development system then hard code break point where you want to check using statement
BREAK-POINT.
and later on after testing you can remove this statement before transporting the code.
If you are testing in other systems, my suggestion is not to put brek point where any enhancement written and put break point at some if condintion inside your implicit or explicit enhancement or you can also put break-point in main program just before where you have implemented this enhancement, hope it will help you.
If you are still struggling then post with the details, will guide you, it is not so difficult.
‎2011 Sep 28 9:44 AM
Hi Tom,
Seems some activation problem in enhancement so first check whether enhancement is activated properly or not you can check the implicit enhancement implentation in SE19 also activate it properly.
If enhancement is active and still system does not stops at your breakpoint then verify if you are getting the desired results for which you implemented this enhancement.And certainly if you are in development system then harcode break-point or break <your user id> statement and check.
Thanks,
Pawan
‎2011 Sep 28 3:08 PM
Thanks for all three responses. Unfortunately, I have tried what is suggested in all three with no luck.
One other item of importance that may help, when I do a SE19 and enter the EI, when I select the 'Program' I get a message that the "Object ' does not exist'"?
Like the system doesn't even think it is there, I've re-generated and re-activated everything?
Thank-You
‎2011 Sep 29 9:47 AM
Hi Tom,
Go throgh below link
There is one pont mentioned in this link Little bugs in enhancement framework check the solution provided if it works for you.
Thanks,
Pawan
‎2011 Sep 29 5:43 AM
Does this implicit enhancement comes in any fm called in update task ?
Also try this in se80 choose repository information systems,go to your implemenation,open you enhancement,click on the ABAP button and save and activate.
or tyr placing the break in the enhancement itself.
‎2011 Sep 29 6:00 AM
Did you activate the main program and corresponding include in which the enhancement implementation is created ?
Try this and it should work.
‎2011 Sep 29 6:55 AM
Hi,
Well, I feel the problem is not related to activation of the enhancement. If it was system would have given a message "You can set/delete breakpoints only in a active source".
Try hard coding BREAK-POINT in your enhancement. I mean inside your enhancement and not when the enhancement is called.
Did you try a using External Break point ?
Regards,
Danish.
‎2016 Apr 28 5:51 PM
Hi Tom, I am facing the same issue. Were you able to resolve this issue? Can you please tell us how you resolved it?
Thanks in advance.