Upload
dineshkumar-akula
View
60
Download
1
Embed Size (px)
DESCRIPTION
alv programming
Citation preview
SAP AG 2005, Title of Presentation / Speaker Name / 1
ALV integration in Web Dynpro
ALV Configuration Model
Contents:
ALV for Web Dynpro
SAP AG 2005, Title of Presentation / Speaker Name / 2
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 realized as WD Component not as UI element
More complex interface
Included via Component Usage
Data binding by reverse context mapping
ALV Pattern Component
Web Dynpro ALV Component
Web DynproUI elements
SAP AG 2005, Title of Presentation / Speaker Name / 3
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 / 5
WD ALV and Table Node
Application ALV
LocalITAB
Context
Node
Context
Node reverse context mapping
bind_table() ITAB' = get_static_attributes_table()
invalidate()
bind_table(ITAB')
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
SAP AG 2005, Title of Presentation / Speaker Name / 6
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 everything can be changed WDDOMODIFY 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 / 7
You should now be able to:
Describe the ALV usage in Web dynpro
Use the ALV in Web Dynpro
ALV for Web Dynpro: Unit Summary