2011 May 31 11:17 PM
Hi Experts,
I have created an implicit enhancement implementation in a sub-routine. There was an already existing implicit enhancement implementation at the same spot. I am trying to place my enhancement code before this. However it's not letting me to do it.
I tried: SE38 ->Enhance->Edit->Enhancement Operations->Show Implicit Enhancements->Create.
When creating my new implementation, it shows mine top of the existing implementation. However after activing my implemenation though, it places the code under the existing one.
What am I doing wrong? Please help.
Thanks.
2011 Jun 01 10:37 AM
Hi Ravi,
There's nothing wrong in your action. Actually implicit enhancements you can write only at the beginning or at the end of the standard program source code. It is not possible to insert our custom code in-between standard code in case of implicit enhancements.
You may search and use any BADI or user exit if possible to meet your requirement.
Hope this helps.
Regards,
Abhijeet Kapgate
2011 Jun 01 11:03 AM
Hi,
Instead of creating a new one why don't you use your code in the already existing enhancement.. Inside the enahncement you can write your logic first and after that the other logic would follow.
Regards,
Nagaraj
2011 Jun 01 11:38 AM
You need not create another implementation but just change the existing one.
Try: SE38 ->Enhance->Edit->Enhancement Operations->Show Implicit Enhancements->Change
@ Nagaraj - I didn't saw your post.
Please do what Nagaraj has suggested.
Edited by: rumhat on Jun 1, 2011 12:40 PM