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

Troubleshooting code with enhancement spots

Former Member
0 Likes
1,064

So, I'm back to ABAP after 10 years in SAP management and quite happy of my move.

As expected, while I was away some things have changed(the worst I have seen so far: inline declaration.... what a terrible move, but that's another subject) but surprisingly, not that much!

One of the neat changes I have witnessed is the enhancements spot.

But after working a bit with it, there is something that I really don't get.

Since the custom code is now apart from the actual code, when you "version compare" to troubleshoot some issue, the custom changes don't show up in the comparison since they are not in the actual code anymore!!!

So, how are we supposed to be able to compare the code as a whole to be able to find a hidden bug?

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
982

Well, that's the whole point of enhancement framework that the enhancements are a separate object. Can you not access just the enhancement code and see the version history for it?

P.S. Inline declarations are OK. At first I also thought it was a dumbest idea ever but it saves tons of time because you don't have to figure out what type to use in declaration.

Well, that's the whole point of enhancement framework that the enhancements are a separate object. Can you not access just the enhancement code and see the version history for it?

P.S. Inline declarations are OK. At first I also thought it was a dumbest idea ever but it saves tons of time because you don't have to figure out what type to use in declaration.

1 REPLY 1
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
983

Well, that's the whole point of enhancement framework that the enhancements are a separate object. Can you not access just the enhancement code and see the version history for it?

P.S. Inline declarations are OK. At first I also thought it was a dumbest idea ever but it saves tons of time because you don't have to figure out what type to use in declaration.