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

Enhancement Implementation Issue

Former Member
0 Likes
2,130

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,331

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

Read only

Former Member
0 Likes
1,331

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.

Read only

Former Member
0 Likes
1,331

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

Read only

0 Likes
1,331

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

Read only

0 Likes
1,331

Hi Tom,

Go throgh below link

http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+Debugger#ABAPDebugger-ABAPDebuggerWhydebuggerdon%2527....

There is one pont mentioned in this link Little bugs in enhancement framework check the solution provided if it works for you.

Thanks,

Pawan

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,331

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.

Read only

GauthamV
Active Contributor
0 Likes
1,331

Did you activate the main program and corresponding include in which the enhancement implementation is created ?

Try this and it should work.

Read only

Former Member
0 Likes
1,331

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.

Read only

Former Member
0 Likes
1,331

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.