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.

Author:Fenrimuro Meztikinos
Language:English (Spanish)
Published (Last):28 June 2006
PDF File Size:8.22 Mb
ePub File Size:20.99 Mb
Price:Free* [*Free Regsitration Required]

ITP offers comprehensive planning, resource allocation, implementation, upgrade, and training assistance to companies. You can reach him at ajcecchini itpsap. Lists created in this way are often referred to as classical lists everything in SAP that is old is lovingly termed Classical and represent the standard output method of data.

Granted, the effort to create a classical list for just simple output of data is minimal. But amass a few lists across a few applications, each created by a different developer, and things get a bit more complicated. Responsibility for list layout and interface design is also left to the developer. This is why you find different schemes for list handling and layout in different applications. Lack of standard, baseline list processing functions means that developers devise their own methods for common list handling activities such as headings, sorting, filtering, rendering subtotals, and the like.

The result is that end users who work with more than one application may have to deal with different ways to access these simple list functions based on the developer who coded the solution.

Now why use SALV? This new ALV object oriented model has many advantages: Simplified design: This Model uses a highly integrated object oriented design which provides the simplicity to programmers to develop the ALV. Unified Object models: This model has only one main class which will get and set the parameters of entire layout. Specifically it is the Factory-Method Pattern. Why use this? This will get the instance of the ALV Object.

This is known as a Design pattern. Specifically this is the Factory-Method design pattern. Each successive post will build on the previous so be sure to check back each month.

Lets get started! It should work as-is. OK, lets take each section of the code above and discuss why we are doing what we are doing…. Next we need to create the ALV object for the 2D table. You can create the ALV Grid, as a classical list display, as a full screen grid, and finally embedded into a screen container. Now what about actually displaying the results?

We simply call it. You can quickly display any table this way. All the OO is built into the Class for us. This method instantiated the ALV object for us which allowed us to display the results using another method call to the display method.


ABAP Mentor

I also show you the most common ALV settings that you might need. But, I have good news for you! What is covered in the bonus content: Source Code in 7. These programs usually consists of the following three parts: selection screen, database query, and ALV list. It consists of different ALVs such as table, hierarchy, and tree. I will demonstrate you different settings one by one that you can use later to customize your ALV lists. In this blog post series, we will cover all the most commonly used settings.


OO ABAP ALV Tutorials

I have taken a scenario of displaying the PO Header and Item data for a vendor by creating event driven interactive report. The interaction will be done on vendor number and PO document number. The names of the programs should be same and keep on saving the progress with time to time. Here we will add two fields which will take the vendor number as input from user.

Related Articles