Wednesday, June 25, 2008

Using the ALV Views List Viewer in Web Dynpro for ABAP

The ALV component contains the following views, which you can use as required:

•TABLE
This is the central ALV view. To display the ALV output, you require this view.
The TABLE view is the container in which the ALV output is displayed. It is a fundamental part of the ALV component. You cannot, therefore, change the layout.

•SERVICE
This view contains the Settings dialog box with which the user can make changes to the settings for column display, sorting, filtering, and so on.
By default, the view is displayed above the ALV output when the user chooses the Settings hyperlink in the toolbar. You use this view when you want to display the dialog box elsewhere on the screen.

Inserting a TABLE View

You require the TABLE view if you want to display an ALV output in your application.

You can insert the TABLE view in various ways:

•You insert it directly into a window of your application.

In this case, you cannot display any another element on the screen except for the ALV output.

•You insert it into a cell of a view set in your application.

•You generate a UI element of the type ViewContainerUIElement in the position you want in one of the views. You then insert the TABLE ALV view into this UI element.

No comments:

Archive