Tutorials

Naimesh Patel | Last Updated on May 7, 2013

SALV Table 1 : Normal ALV Table Display

SAP has introduced a new programming model to devleop Object Oriented ALV (OO ALV) using class CL_SALV family class. This class family is avaliable in the SAP Netweaver 04. Some Background: Prior to SAP Netweaver, we have so many different starting point to start the ALV. The starting point entirly depends of the flavour of…

SALV Table 2 : Adding Default PF STATUS in ALV

We have discussed in post to generate an ALV using new the SALV Model. It is a true object oriented way to generate an ALV. Today, we will see how to add standard PF Status (GUI Status) in this Standard ALV created using the class CL_SALV_TABLE. The object created with reference to CL_SALV_TABLE contains the…

SALV Table 3 : Adding Custom PF STATUS in ALV

We have seen in the previous posts of this Blog series about the new SALV model to Create ALV: Sometimes we need to create our own PF Status (GUI Stauts) with more buttons which can provide the users more ways to interact with the ALV. To set our custom PF status we need to: First…

Tutorials

SALV Table (2D) Display SALV Hierarchical (Sequential) List Display Dynamic Internal Table Generic Object Services (GOS) Bring Data to Life Exception Handling Application Log Table Maintenance ABAP Unit Testing Enhancement Implementation in Enhancement Framework Looking for ABAP Objects (OO ABAP) index? Check out for ABAP objects concepts, Design Patterns, Tools usage and more.

SALV Table 4 : Setting up Layout

Today we will see how easy it is to set up the Layout for the ALV which was created using the reference of the CL_SALV_TABLE calss. All these discussions can be found under . Layouts provides greate flexibility to users for saving their own layouts which contains settings like – sum, subtotal, filter, sort etc….

SALV Table 5 – Add Header (Top of page) & Footer (End of Page)

Today we will discuss how to add the Header and Footer using the SALV model. In ALV, header (top-of-page) and footer (end-of-page) play important role in presentation of the data. Header and footer are imortant when we need to print the report and use it for later decisions. Assume the report which has only columns…

SALV Table 6 – Display Settings

In the series of the SALV Simple Model, we will see how we can set the Display Settings to the entire ALV. You can find the previous discussions in this blog series at To set the display settings, we need to use the reference of the class CL_SALV_DISPLAY_SETTINGS. We will ask the reference of the…

SALV Table 7 – Changing Column settings

Today in the SALV model tutorial series, we will see how we can change the Column properites. You can find all the previous discussion in this series can be found at . To change the propeties of the Columns first we need to get the Column object from the SALV Object. The reference of the…

SALV Table 8 – Add & Handle Hotspot

In the series of the SALV model table display, today we will see how to add the hotspot and after adding, how to handle that hotspot. You can find all the previous discussion at . Hotspot is useful in most of the ALV reports to drill-down from the main list. For example, in the Sales…

SALV Hierarchical Table 1 – Simple table display

The new model of ALV – SALV Model – also provides the interface for application developer to develop the Hierarchical list. This type of list are also known as the Sequential List. We use the hierarchical-sequential table to display simple hierarchical structures. In addition, exactly two hierarchy levels are available for the use: the header…

SALV Hierarchical Table 2 – Adding Default PF Status

Today we will discuss how easy it is to add a Default PF status. In the previous post, we have discussed how to create a simple hierarchical table: . All discussion related to hierarchical (sequential) table can be found under . To add a default PF status in the hierarchial (sequential) list created using the…

SALV Table 9 – Apply Colors

In the series of the SALV Model Table display, today we will see how to apply colors to the ALV Grid. In this regards, we will see how to apply colors to the Specific Cell, Specific Row or Specific Column. You can find all the Previous discussion at . Color plays a very important role…

SALV Hierarchical Table 3 – Add Expand/Collapse Option

Today in the series of the SALV Hiearchical list display, we will see how to add the Expand/Collapse button in the Hierarchical ALV. All discussion related to the Hierarchical table display can be found under . Expand/Collapse button will provide an option to users to only see the Header List. By selecting the expand button,…

SALV Table 10 – Editable SALV Model (Overcome the restriction of SALV Model)

We all know that ABAP Object is very powerful over the classical ABAP. Here I want to share one of my best experiments with the ABAP objects to overcome the restrictions of SALV mdoel.

SALV Table 11 – Apply Aggregations

Apply Aggregations like Totals, Minimum values to SALV Table In the series of the SALV Model Table display in SAP ABAP, today we will see how to apply aggregations to the ALV Grid. You can find all the Previous discussion at . Aggregations plays important role in the reporting. E.g. Providing the TOTALS, Minimum values,…

SALV Table 12 – Apply Filters

Apply Filters to SALV Table In the series of the SALV Model Table display in SAP ABAP, today we will see how to apply Filters to the ALV Grid. You can find all the Previous discussion at . Filters are important to display only values required by the users. i.e. See only the “Red” Lights…

SALV Table 13 – Apply Sorts

Apply Sorts to SALV Table In the series of the SALV Model Table display in SAP ABAP, today we will see how to apply Sorting to the ALV Grid. You can find all the Previous discussion at . Sorts are very important in the reporting. Sorting also provides us the functionality to have the Subtotal…

SALV Table 14 – Editable Checkbox

Editable Checkbox in the SALV table In the series of the SALV Model Table display in SAP ABAP, today we will see how to get the editable checkbox in ALV Grid. You can find all the Previous discussion at . To get the selectable (editable) checkbox, we need to get the specific column from the…

SALV Table 15 – Show Count of Displayed Rows

Today, I came across an interesting question regarding SALV OM Model. The query was regarding to show the count of displayed rows on the screen. Initially we think it is very easy – just use DESCRIBE table, get count and show. But we need to also remember that users can use the Filters. Users can…

SALV Table 16 – Static Filters

While writing the last post, , I remembered that I wrote an interesting piece of code to solve the unique requirement – Static Filters on the ALV. The trick here is to save the Filter after applying it for the first time and check for the filter changes or deletion in the event handler of…