Saturday, December 29, 2007

Implementing Enhancements in a view

In this tutorial, I would like to explain about Implementing Enhancements in a Webdynpro View. If you do not wish to display certain UI elements that exist in the layout, you can suppress such elements in your enhancement. The Enhancement can be created using the SAP standard webdynpro applications and custom applications. In this tutorial I am doing enhancement in custom application that should be in display mode and simply select the respective UI element and then choose its context menu entry Remove Element”.

In this demo, I am executing a WebDynpro application that already exists.

The application having two images result shown below

Get back to the Webdynpro component and select the “Layout” in the view for UI enhancement and you can observe two different Groups in the “RootElementContainer”.

Switch to change mode to display mode and select the “GROUP_CP” UI component.

Go to the menu bar “ViewàEnhance”.

Enter the enhancement name “ZENHANCEMENT_2IMAGE”, Description “Second Image Group Enhancement” and Click “Continue Button”.

Enhancement Created

Select the Enhanced UI component; Open the Context menu and “Remove Element”

It has indication as deleted and shown below

Save, Check and Activate the enhancement.

Test the Application and result looks like

The Enhancement has suppressed the UI element.

No comments:

Blog Archive