This class family is avaliable in the SAP Netweaver It is a true object oriented way to generate an ALV. All these discussions can be found under. Layouts provides greate flexibility to users for saving their own layouts which contains settings like — sum, subtotal, filter, sort etc…. In ALV, header top-of-page and footer end-of-page play important role in presentation of the data.
|Published (Last):||24 July 2007|
|PDF File Size:||8.3 Mb|
|ePub File Size:||7.61 Mb|
|Price:||Free* [*Free Regsitration Required]|
In case of Object-Oriented concept, the Control Framework is required as it provides global classes for various functionalities. ALV Grid control is a flexible tool which provides following capabilities: For building and displaying interactive, non-hierarchical and modern-design lists. Provides typical list functions such as sorting, filtering, summing etc. Provides common list operations and can be enhanced by user-defined options. This table can be of any flat type Field Catalog: This is an internal table which contains the list of fields as per specification.
It comprises of some additional information about display options for each column to be displayed. Container: Container is a storage area where the list will be displayed. Internal tables can be displayed in these containers. Layout Structure: It is a structure to specify general layout options for the grid.
With this structure we can set general display options, grid customizing, totals options, color adjustments etc. Event Handler: For handling events, we need to define and implement an event handler class triggered by the ALV Grid instance.
OnDrop : This event is used to use the dragged information in combination with drop source. Here, it should be checked whether the operation is successful.
OnDropComplete: This event is used to change the state after a successful drag and drop operation. For example: update the used internal table if a row has been moved.
SAP ABAP Tutorial