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

Implicit enhancement not executed

Former Member
0 Likes
2,057

Hello All,

I have a problem that I created an enhancement and got it active(I am sure about it), but when I set a break point on the line in it and debugged it, it shows the enhancement was not executed at all! Thus I am wondering Y it can't work.

Program: MF05AFF0_FCODE_BEARBEITUNG

It is appreciated if someone could help me on this.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,943

Hi,

Check if the Subroutine at line no 3875 deco_leave_screen is actually leaving the screen. Then it will not reach your enhancement.

Cheers,

Shambu

Message was edited by: Shambu VS

12 REPLIES 12
Read only

BH2408
Active Contributor
0 Likes
1,943

Hi ,

May be some condition is there before that where it is not going that point.

Regards,

Bharani

Read only

Former Member
0 Likes
1,943

I guess that's not the reason, cause I have tried to set a break point just before the enhancement, the one before the enhancement was executed, but my enhancement was not.

the form deco_leave_screen.

Read only

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes
1,943

Did you make sure that DECO_LEAVE_SCREEN is not raising any errors/exceptions due to which the control is not reaching your enhancement?

Read only

Former Member
0 Likes
1,943

I am sure there are no errors/exceptions arose cause the program run well and the result is right just like there is no enhancement at all.

Read only

Former Member
0 Likes
1,943

Hi,

Hard-code the break-point.

BREAK-POINT or BREAK SAPUSER.

If still it does not stops in the code this means there is some validation / condition that is restricting it.

Thanks,

Tooshar Bendale

Read only

0 Likes
1,943

Yep...I have tried several times in this way. I typed BREAK (my username).

Read only

Former Member
0 Likes
1,943

Go to  se19, put the Enhancement name and taking in change option.Then u will select the row and click on the control mentioned as ABAP .Now u can see two buttons below .You press the button(Save Icon) which mentioned as  Sichern source.

Read only

0 Likes
1,943

Could you detail it? I don't understand you clearly.

Read only

former_member16322
Participant
0 Likes
1,943

Is this enhancement in an include file used by multiple programs?

Is this still the development system; or has the change been activated and transported to the quality system?

Read only

0 Likes
1,943

Yep...my enhancement is in an include file named MF05AFF0_FCODE_BEARBEITUNG


Read only

Former Member
0 Likes
1,944

Hi,

Check if the Subroutine at line no 3875 deco_leave_screen is actually leaving the screen. Then it will not reach your enhancement.

Cheers,

Shambu

Message was edited by: Shambu VS

Read only

0 Likes
1,943

Right, it is actually leaving the screen indeed. I got it. Thank you for your precise analysis.