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

implicit enhancements.

Former Member
0 Likes
3,903

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

6 REPLIES 6
Read only

Former Member
0 Likes
3,568

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.

Read only

0 Likes
3,568

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

Read only

0 Likes
3,568

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,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/26bfca90-0801-0010-11b2-ba7...

/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

Read only

0 Likes
3,568

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

Read only

Former Member
0 Likes
3,568

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.

Read only

Former Member
0 Likes
3,568