alv for web

9
1 ALV for Web Dynpro

Upload: kranthi-kumar

Post on 31-Oct-2014

44 views

Category:

Documents


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Alv for web

1

ALV for Web Dynpro

Page 2: Alv for web

2

© SAP AG 2005, ABAP Web Dynpro

ALV integration in Web Dynpro

ALV Configuration Model

Contents:

ALV for Web Dynpro

Page 3: Alv for web

3

© SAP AG 2005, ABAP Web Dynpro

After completing this lesson, you will be able to:

Describe the ALV usage in Web Dynpro

Use the ALV in Web Dynpro

ALV for Web Dynpro: Objectives

Page 4: Alv for web

4

© SAP AG 2005, ABAP Web Dynpro

ALV in NetWeaver 2004s

ALV in Web DynproProvide a more advanced display component compared to Table UI elementOffer same functionality as common ALV in ABAP

ALV realized as WD Component not as UI element

More complex interfaceIncluded via Component UsageData binding by reverse context mapping

ALV Pattern Component

Web Dynpro ALV Component

Web DynproUI elements

Page 5: Alv for web

5

© SAP AG 2005, ABAP Web Dynpro

ALV in NetWeaver 04s

Web Dynpro ABAP based UI componentProvide an optional list-header and list-footer area for displaying additional informationOffer a set of generic functions

Choose columns which you want to display out of a set of columnsInteractive sorting by simple header click or by choosing multiple criteriaInteractive 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) changesEditabilityPersistence of configurations (layouts)Export to PDF

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

Page 6: Alv for web

6

© SAP AG 2005, ABAP Web Dynpro

Not in Scope for Paris

Deal with more complex filter criteria (e.g. regular expressions)Semantics of exceptionsOffer Export functionality to spreadsheets like ExcelSwitch view to Graphics or Formatted ReportHierarchical lead columnPopIns in the tableBroadcasting of results (e.g. mail, cRoom, …)

Page 7: Alv for web

7

© SAP AG 2005, ABAP Web Dynpro

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

Page 8: Alv for web

8

© SAP AG 2005, ABAP Web Dynpro

Overview ALV Configuration Model

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

CL_SALV_WD_CONFIG_TABLE

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

WDDOINIT everything can be changedWDDOMODIFY meaningful subset can be changed

ALV refresh method need to be called

ALV Config ModelTable Settings (# rows,…)Field Settings (filter, …)Column Settings (vis cols…)Function Settings

Page 9: Alv for web

9

© SAP AG 2005, ABAP Web Dynpro

You should now be able to:

Describe the ALV usage in Web dynpro

Use the ALV in Web Dynpro

ALV for Web Dynpro: Summary