Skip to Content
UI Web Dynpro ABAP

SAP List Viewer (ALV)

In Web Dynpro ABAP

SAP List Viewer (ALV) is a flexible tool used to display lists and tabular structures. It provides common list operations as standard functions and can be enhanced by user-specific functions. This allows you to use ALV in a large range of application programs.

What is it?

SAP List Viewer Functions at Runtime Source: SAP (Video, Time 00:04:21)

If you do not know at all what the SAP List Viewer (ALV) really is and what functions it provides, watch this video by Thomas Jung. It demonstrates the basic ALV functionality available for Web Dynpro ABAP. It walks through an example application and shows many of the runtime personalization that can be done.

Get Started

SAP List Viewer for Web Dynpro ABAP Source: SAP (PDF 789 KB)

If you want to use the famous ALV in your Web Dynpro ABAP application, maybe you sometimes want to have a look into the documentation. This article provides a printable version of the latest version of the SAP List Viewer in Web Dynpro ABAP (ALV) documentation for SAP NetWeaver 7.0 Enhancement package 2. Besides the new features documented you can find a lot of updated content that's also relevant for other releases.

SAP List Viewer in Web Dynpro for ABAP Source: SAP (SAP Help Portal)

Integration of the SAP List Viewer is solved by offering a specially preconfigured Web Dynpro Component which can be used by any other component. Read more about ALV integration in the official documentation.

Tutorial Series

This set of tutorials, authored by Senior SAP Development Consultant Claudia Dangers, demonstrate how to utilize the SAP List Viewer (ALV) in Web Dynpro ABAP. All these tutorials are also available in your SAP NetWeaver Application Server, you can check out them directly using the samples mentioned below.

  • Simple Example for Using ALV (PDF 342 KB)
    In this tutorial, an ALV table is used to display the content of a context node.
  • Programming the ALV Configuration Model (PDF 340 KB)
    In particular, this tutorial shows you the usage of the ALV configuration model for doing the following tasks: setting the row count of the ALV table, fading out columns, sorting the table, and displaying icons instead of text.
  • Editing ALV (PDF 316 KB)
    This tutorial shows you how to make a column of your ALV table editable.
  • Using Events with ALV Tables (PDF 294 KB)
    This tutorial shows you how to use events inside an ALV table in Web Dynpro.
  • Using ALV with a Dynamic Context Node (PDF 304 KB)
    In this tutorial the structure of the context is not known at design time, but at runtime. If an ALV table should be used to display a context node, which is built up at runtime, it is not possible to do external context mapping. This tutorial shows you how to handle the ALV table in combination with dynamic context nodes.


Frequently Asked Questions - SAP List Viewer (ALV) Source: SAP

In the FAQ section you may find information on features which seem special on the first view, but we got to know them as often used. Find detailed information and coding samples that help you to solve your issues.

Individual Functions

Select Option and ALV Component Usage Source: SAP (Video, Time 00:10:24)
Step-by-step tutorial, by Thomas Jung, showing you how to create an application that implements both ALV and Select Options. Users can learn the basic mechanisims for working with both of these reusable components.

ALV and Standard Table as Hierarchy in Web Dynpro ABAP (PDF 199 KB)

This article deals with the Hierarchy using ALV and Standard Table in Web Dynpro ABAP.

Conditionally Assigning Colors and Input Enable to ALV Columns in Web Dynpro for ABAP (PDF 77 KB)

This document explains how to assign colors and how to make columns editable conditionally of ALV in Web Dynpro for ABAP.

Dynamically Make the Columns Editable on an Action of Cell Edit in ALV (PDF 90 KB)

This Article explains how to make the some columns editable and some are non editable when the on an action of cell edit.

Generating Self-Defined Functions for ALV in Web Dynpro for ABAP (PDF 275 KB)

This tutorial explains how to generate custom defined functions in ALV. It also explains how to associate UI elements with the defined functions and thereby embedding UI elements in ALV.

Creating Totals and Subtotals using ALV Source: SAP (PDF 287 KB)

The tutorial explains how to configure ALV and how to make use of Totals and Subtotals feature provided by ALV component in Web Dynpro for ABAP.

How to Create Top of List and End of List of the ALV Output (PDF 126 KB)

This document explains how to create a Top of list nothing but a Header area and End of list nothing but a Footer area of ALV Table.

Former Member

No comments