This document will help you to understand the concept of the Enhancement implementation in standard web Dynpro ABAP Component.

Basically there is no option to enhance the Web Dynpro ABAP component through BADI or User Exit, hence sap has provided a way to do that called “Enhancement Implementation”.

Using Enhancement Implementation we can do the following enhancements.


  • Enhancement of Component
    • Creating New view
    • Creating New window
    • Creating New Controller
    • Creating New Application
  • Enhancement of Window
    • Enhancing Embed views / Adding new views
    • Enhancing navigation link / Adding New links
  • Enhancement of View
    • Enhancing UI elements / Adding New UI elements
    • Enhancing Plugs / Adding New Plugs
  • Enhancement of Controller
    • Enhancing standard methods & Actions / Adding New methods & Actions
    • Enhancing standard Context / Adding New Context
    • Enhancing standard Attributes / Adding New Attributes
  • Deleting the Enhancement Implementation

And in this part we will be seeing about Enhancement of View and Window Controller.


Enhancement Implementation for View:

To create the enhancement implementation for view follow the steps.

  1. Open the Web Dynpro Component using SE80.
  2. Open the desired View to Enhance, in this given example I will take Standard Test component WDR_TEST_BG_BLEND.

Untitled.png

     III.     Select the view and click on the Enhance button to enhance it and please provide Enhancement name in the next popup.

     Untitled.png

Untitled.png

     IV.  Now to view will be converted to Change mode as like this.

     Untitled.png

So now you will get an option to add new UI elements and remove the existing UI elements under the enhancement option that you have created.

Now I am going to add a new text view under the root container and give some text to that.

Untitled.png

Untitled.png

Save the changes and activate the whole component along with your enhancement implementation and run the application.

Untitl1ed.png

Enhancement implementation for Window:


Here we are going to see about enhancing the Window and adding the new view,

In this example I am going to create a new view and call that view inside another view using view container and enhancing the window controller.

Enhance the View 1 and add the view container (VC_MAIN) at last to bind another view.

Untitl1ed.png

To add new view into the standard web Dynpro abap component right click on the view and select the option create as enhancement.

Untitled.png

Then it will be asking for the enhancement implementation, then select the implementation that we have created.

Untitled1.png

After the selection of enhancement it will be like the process of normal view creation.

Untitled2.png

Untitled3.jpg

Enhance the window using same enhancement implementation, and bind the view for view container that we created.

Untitl1ed.png

Untitled.png

Activate the whole component along with the enhancement implementation and execute the application.

Untitled1.png

– Gowtham

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply