This is a test message to test the length of the message box.
Login
ABAP Quick Data model
Created by Software-Heroes

ABAP - ALV still relevant in 2022?

927

Today the joking question, do we still need reports that generate ALV outputs in 2022? In this article, we want to look into this question.

In the first step, the question is asked very provocatively. ALV is a very widespread, standardized and flexible way of bringing data to the screen in a SAP system and is also used in many reports and transactions.

 

ALV

The "ABAP List Viewer" or "Advanced List Viewer" already has a very long history. In the early stages, you use the non-released variant of the Reuse ALV via the function modules REUSE_ALV_GRID_DISPLAY and REUSE_ALV_GRID_DISPLAY_LVC to then compile the columns using a field catalog.

Then the first object-oriented variant was made available in the form of CL_GUI_ALV_GRID, which was very flexible for in-house developments and offered numerous options, including editing. Unfortunately, the class did not correspond to the usual OO principles, but was a very large class that was rather difficult to maintain.

The relatively last stage of evolution was then the CL_SALV_TABLE, a well-organized form of the ALV. First of all, it was no longer necessary to work with a container, but could directly generate an ALV with it, which greatly streamlined the programs. Unfortunately, this form of the ALV could no longer be edited.

 

Flexibility

What actually makes the ALV so powerful as a tool? Above all, one can mention the flexibility here, since you can dynamically adjust the layout and appearance. You can change the sorting, create summations and subtotals and then save and pass on the result via Excel export.

SAP has been working on a replacement in Fiori for a long time, but has not yet delivered an adequate replacement. The Report list in Fiori Elements already covers a large area, but due to the large amount of data it is not a goal to map the function one-to-one.

 

Usage

The clear answer to the question of whether ALV should still be used is definitely yes. For companies that already focus on Fiori and Launchpad themes, the question will be answered with a resounding "Yes and No". For companies that are not yet up to date with the latest standards, the GUI and the ALV will still play an important role in the future.

However, we recommend that you only use the latest versions and not use the trap. The GUI class should be used in very special cases when very custom development is needed. Otherwise, you can also use a template class for the SALV to save yourself some work.

 

Future

So what will the vision look like in the future? SAP has already sworn off the GUI and is relying heavily on the expansion of Fiori, whether as Freestyle or Elements. If you look in the direction of the extension with the ABAP Environment or S/4 Cloud, then this picture is true, because my GUI has more access there. Companies should therefore start thinking about where they want to position themselves with their SAP systems in the next few years. From our point of view, there is currently only one direction.

 

Conclusion

The provocative question at the beginning cannot be answered conclusively with this. The ALV will be with us in the backend for a while, but Fiori is already very present in the frontend. Where the journey is going, everyone has to decide for themselves.


Included topics:
QuickABAPALVRelevant
Comments (0)



And further ...

Are you satisfied with the content of the article? We post new content in the ABAP area every Friday and irregularly in all other areas. Take a look at our tools and apps, we provide them free of charge.


ABAP Quick - RFC Error handling

Category - ABAP

How do you actually handle errors when communicating via a destination in the function module? More about this in our tip.

03/05/2024

ABAP Quick - CLEAR right

Category - ABAP

Delete correctly? In this article we want to take a look at when it makes sense to delete and how you can do it effectively.

05/12/2023

ABAP Quick - Performance chained statements

Category - ABAP

Let's take a look at the performance when creating chained statements with DATA and FIELD-SYMBOL. Which variant will be ahead in terms of performance?

04/28/2023

ABAP in Change

Category - ABAP

The programming language ABAP has been changing for years and is being modernized in various concepts. In this article, we'll look at it in detail.

06/24/2022

ABAP Quick - Clean Core

Category - ABAP

In this article something about Clean Core, what does it mean for the developer, what are the requirements and what do you have to pay attention to.

06/17/2022