ALV REPORTS in SAP ABAP Your Way To Success
- Ishnoor Singh Sethi
- Sep 14, 2021
- 2 min read
Updated: May 31, 2022

ALV Reports
Sap provides a set of ALV (ABAP LIST VIEWER) function modules, which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain up to 90 columns in the display with the wide array of display options. These reports are advanced than Normal Reports.
Function Modules in ALV Reports—>
REUSE_ALV_GRID_DISPLAY —> used to display the data in grid format.
REUSE_ALV_LIST_DISPLAY —> used to display the data in list format.
SY-CPROG - CPROG is a standard field within SAP Structure that stores Calling Program information. ABAP system field. In externally called procedures, this is the name of the calling program; otherwise it is the name of the current program. If an externally called procedure calls another external procedure, sy-cprog keeps the name of the first master program and is not set to the name of the master program of the other caller.
CODING SCREEN (DISPLAYING ALL FIELDS OF TABLE MARA) — >

OUTPUT —>

For displaying particular fields in ALV Reports —>
FIELD CATALOG —> The field catalog is a table of type LVC_T_FCAT that contains information on the fields to be displayed. For example, the ALV uses this table to identify the type of a field.
Use — You can use fields of this catalog to determine the number format and column properties of the list to be output.
NOTE--> If there is ‘T’ in field catalog structure then it is for internal table only.
CODING SCREEN—>


OUTPUT —>

Field Catalog property to colour a particular field—> EMPHASIZE

OUTPUT—>

Field Catalog property to do a sum of a particular field—>

OUTPUT—>

Blocked ALV Reports
It is used to display the multiple records on a single output screen.
Function modules to be used—>
REUSE_ALV_BLOCK_LIST_INIT
REUSE_ALV_BLOCK_LIST_APPEND
REUSE_ALV_BLOCK_LIST_DISPLAY
CODING SCREEN —>



OUTPUT—>

Program to join more than 2 tables using For All Entries in ALV Reports
CODING SCREEN—>



OUTPUT —>


Interactive ALV Report
CODING SCREEN —>



OUTPUT —>

AFTER DOUBLE CLICKING ON ANY PURCHASING DOCUMENT NUMBER


ISHNOOR SINGH SETHI







Creating ALV reports in SAP ABAP is a crucial skill for developers aiming to present data efficiently and professionally. ALV (ABAP List Viewer) allows dynamic tables, sorting, filtering, and interactive reporting, making it easier to analyze business information. Mastering ALV reports enhances productivity and opens doors to advanced SAP ABAP projects.
Just like designing a Kemono Fursuit requires attention to detail, creativity, and precision, developing ALV reports demands careful planning, structured coding, and a focus on usability. By combining technical skills with thoughtful design, you can create reports that are both functional and visually appealing, setting yourself up for success in SAP development.
I’ve read multiple articles on Fairplay pro and Fairplaypro .com , but this one stood out because of its clarity and depth. You’ve covered points that are usually ignored. Really appreciate the effort!
This article is very helpful and well-structured. It explains Dreamexch , Dreamexch and overall usage in a simple and user-friendly way. I didn’t feel bored or overwhelmed at all. Definitely useful for anyone searching for dreamexch.a information.
I’ve read multiple articles on gurubhai247 , but this one stood out because of its clarity and depth. You’ve covered points that are usually ignored. Really appreciate the effort!
I really liked how clearly everything was explained. The content flow makes it easy for new users to understand Apbook in and the features of apbook in without confusion. One of the most informative posts I’ve read recently. Great work by the apbook login india team.