Application Development 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: 

Implicit Enhancement issue

k4kousik
Explorer
0 Kudos

Hello Experts,

I have made a program and transaction copying the codes of a standard transaction.
Functionality is same(with code modification). There is an implicit enhancement for the standard transaction which is not triggering for the Custom transaction. I am able to trigger the Include or Form by positioning debugger at any point (Conditions) in the include but the enhancement is not visible neither the functionality is working which means enhancement is not executing. Setting debugger in the enhancement also doesn't work. But if i create another enhancement just above the existing one my custom transaction is working perfectly. I don't understand why the existing enhancement implementation is not working for the custom one? Why do i need to create another enhancement for the same purpose with same code?

Thanks for your help.

3 REPLIES 3

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you check the switches?

0 Kudos

Thanks Horst for the response.
But how to use the switches?

matt
Active Contributor

Copy standard SAP programs is a terrible thing to do. It should absolutely be the last resort if for some reason making a direct change to the standard isn't possible*.

Clones programs are a massively expensive maintenance headache. Don't do it.

*(Isn't possible here means that technically it's not possible, not simply that some policy setter has decided that cloning better than modification).