You are on page 1of 6

ALV for Web Dynpro

Contents:
ALV integration in Web Dynpro ALV Configuration Model

SAP AG 2005, Title of Presentation / Speaker Name / #

ALV in NetWeaver 2004s

ALV in Web Dynpro


Provide a more advanced display component compared to Table UI element Offer same functionality as common ALV in ABAP
ALV Pattern Component Web Dynpro ALV Component Web Dynpro UI elements

ALV realized as WD Component not as UI element


More complex interface Included via Component Usage Data binding by reverse context mapping
SAP AG 2005, Title of Presentation / Speaker Name / #

ALV in NetWeaver 04s

Web Dynpro ABAP based UI component


Provide an optional list-header and list-footer area for displaying additional information

Offer set of generic functions


Choose columns which you want to display out of a set of columns Interactive sorting by simple header click or by choosing multiple criteria Interactive filtering by entering a filter-string in the edit field above the column

Aggregation on multiple key figures (total, min, max, average, count)


Sub-aggregation if group-level (defined by sort criteria) changes Editability Persistence of configurations (layouts) Export to PDF

Offer interface to application to enhance set of generic functions with application specific functions

SAP AG 2005, Title of Presentation / Speaker Name / #

WD ALV and Table Node


Most common application scenario:
Application has its data available as an internal table and would like to display the data in an ALV as efficient as possible
ALV

Application

Context Node
reverse context mapping

Context Node

bind_table()

ITAB' = get_static_attributes_table() invalidate()

Local ITAB

bind_table(ITAB')

SAP AG 2005, Title of Presentation / Speaker Name / #

Overview ALV Configuration Model


ALV is steered by Configuration Model, which is kind of handle to manipulate look, feel and behavior of ALV Hierarchical class structure

CL_SALV_WD_CONFIG_TABLE

ALV creates a default configuration model at initialization Application can modify configuration model at 2 points of time

WDDOINIT WDDOMODIFY

everything can be changed meaningful subset can be changed ALV refresh method need to be called

ALV Config Model


Table Settings (# rows,) Field Settings (filter, ) Column Settings (vis cols) Function Settings

SAP AG 2005, Title of Presentation / Speaker Name / #

ALV for Web Dynpro: Unit Summary

You should now be able to: Describe the ALV usage in Web dynpro Use the ALV in Web Dynpro

SAP AG 2005, Title of Presentation / Speaker Name / #

You might also like