‎2007 Feb 18 9:22 AM
Hi friends,
I have a query regarding implcit enhancements.
I go to Enhancements->Show implicit enhancements and there i observe that all the spots where the ehancement can be done like the end of a method, end of a structure, end of a form etc are switched on.
However i am unable to add any code to the desired spot. Pls clarify how the same can be done. Useful answers will be rewarded.
Cheers,
Jaydeep
‎2007 Feb 18 1:05 PM
Hello,
Have you try to do it on tcode se19?
Get the interface name and implement a new Z one class using that interfase.
Hope this helps,
Gabriel P.
‎2007 Feb 18 1:24 PM
Hi Gabriel,
Thanks for the reply. I already know the technique using tcode SE19 and implementing the BADI.
I would like to know how to add the code in case of implicit enhancements.
Cheers,
Jaydeep
‎2007 Feb 20 6:50 AM
Hello,
Look what i found:
This is the right way to do it:
1. Show object in displaymode.
2. Click button enhancements
3. Menu Change / Bearbeiten / Bewerken > show implicit enhancements
4. RightClick on the enhancement-point. aso
Or check this links,
/people/dj.adams/blog/2005/11/17/sap-and-open-source-an-analysis-and-letter-to-sap-and-shai
Anyways try to look in the forums using 'implicit enhancements'...you should find something else....
Hope this helps!!
Gabriel
‎2007 Feb 21 2:40 PM
Hi,
you have to switch to the enhancement mode in the editor. After that display the implicit enhancements again. Then select one of the implicit points with the mouse and choose 'Create Enhancement Implementation' from cotext menu.
Please have also a look at <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/thenewEnhancementFrameworkandthenewkernel-basedBAdI& <https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/thenewEnhancementFrameworkandthenewkernel-basedBAdI&>">Enhancement Framework</a>
Regards
Michael
‎2007 Jul 30 11:31 PM
This is how you could implement Implicit enhancements:
Prerequisite:
1. Create Composite Enhancement Implementation in your own package (In SE80 open your package, right-click and select Create -> Composite Enhancement Implementation)
2. Giive a name and description for the Composite Enhancement Implementation
Implementation:
1. Open the development object (SAP standard program) you want to enhance in ABAP editor.
2. Click the "Enhance" button (the spiral Icon). The Change Enhancements editor opens up.
3. Chose the menu path Edit -> Enhancement Operations -> Show Implicit Enhancement Options. The implicit enh options are shown in the code with comments such as """""""""""""""""$"$\SE:(1 ) I"
4. Highlight the entire line of the Implicit Enhancement Options.Right-click to select the contaxt menu path Enhancement Implementation -> Create
5. In the popup screen enter a (Simple) enhancement name and description. Assign this to a composite enhancement.
6. On clicking the enter button on the popup screen the code ENHANCEMENT and ENDENHANCEMENT gets inserted. You can add your code there.
‎2007 Jul 31 3:06 AM
refer this link
Message was edited by:
Karthikeyan Pandurangan