‎2013 Jan 23 10:08 AM
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.
‎2013 Jan 23 3:23 PM
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
‎2013 Jan 23 10:11 AM
Hi ,
May be some condition is there before that where it is not going that point.
Regards,
Bharani
‎2013 Jan 23 10:15 AM
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.
‎2013 Jan 23 10:39 AM
Did you make sure that DECO_LEAVE_SCREEN is not raising any errors/exceptions due to which the control is not reaching your enhancement?
‎2013 Jan 24 2:25 AM
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.
‎2013 Jan 23 10:19 AM
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
‎2013 Jan 24 2:27 AM
Yep...I have tried several times in this way. I typed BREAK (my username).
‎2013 Jan 23 1:06 PM
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.
‎2013 Jan 24 2:38 AM
‎2013 Jan 23 3:03 PM
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?
‎2013 Jan 24 2:48 AM
Yep...my enhancement is in an include file named MF05AFF0_FCODE_BEARBEITUNG
‎2013 Jan 23 3:23 PM
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
‎2013 Jan 24 2:58 AM
Right, it is actually leaving the screen indeed. I got it. Thank you for your precise analysis.