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.
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.
III. Select the view and click on the Enhance button to enhance it and please provide Enhancement name in the next popup.
IV. Now to view will be converted to Change mode as like this.
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.
Save the changes and activate the whole component along with your enhancement implementation and run the application.
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.
To add new view into the standard web Dynpro abap component right click on the view and select the option create as enhancement.
Then it will be asking for the enhancement implementation, then select the implementation that we have created.
After the selection of enhancement it will be like the process of normal view creation.
Enhance the window using same enhancement implementation, and bind the view for view container that we created.
Activate the whole component along with the enhancement implementation and execute the application.
- Gowtham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
37 | |
10 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 |