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

the code inside the enhancement-spot is not executing.

Former Member
0 Likes
790

Hello folks,

Iam running the tcode CN22. in that I found one enhancement spot in include COFORMKD

at line 313 ENHANCEMENT 2 /CWM/APPL_PM_COFORMKD, satisfying my requirement. But when I put the code in that enhancement the code is not excuting and even with break point it is

not stopping in that enhancement.

kindly suggest me how to activate the code, is there any special activation is required for enhancement spots as Iam new to this.

<removed_by_moderator>

Regards,

cnu.

Edited by: Julius Bussche on Jan 9, 2009 2:30 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
690

Hi,

Usually we have trouble viewing code written in a spot with a break point...an alternative i suugest is to put a pop-up message for testing with "messages" or even a call pop up function module once the code is activated ....just for the sake of testing.........

eg: message 'Spot triggered' type 'I'/'W'.

So when the code getstriggered in the spot... we have an information pop up or a warning...

once tested..just remove the code,activate again...if the code is activated we can find the comment beside it as shown

313 ENHANCEMENT 2 /CWM/APPL_PM_COFORMKD. "active version

Hope it helps

Regards

Byju

3 REPLIES 3
Read only

Former Member
0 Likes
691

Hi,

Usually we have trouble viewing code written in a spot with a break point...an alternative i suugest is to put a pop-up message for testing with "messages" or even a call pop up function module once the code is activated ....just for the sake of testing.........

eg: message 'Spot triggered' type 'I'/'W'.

So when the code getstriggered in the spot... we have an information pop up or a warning...

once tested..just remove the code,activate again...if the code is activated we can find the comment beside it as shown

313 ENHANCEMENT 2 /CWM/APPL_PM_COFORMKD. "active version

Hope it helps

Regards

Byju

Read only

Former Member
0 Likes
690

Hi ,

Can you please check in SE18 of the enhancement spot that you have created is visible their.

Or please do one thing delete the enhancement spot created and try creating a new one with only break point inside that.

Regards,

Avi.....

Read only

former_member246728
Participant
0 Likes
690

you may try enabling system debugging and update debugging. these options can be found in the debugger.