Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

difference between alvs and normal report

Former Member
0 Likes
1,441

difference between alvs and normal report

make points clearly plz

5 REPLIES 5
Read only

amit_khare
Active Contributor
0 Likes
1,239

Alv reports provide more Graphical User Output whereas normal report dont provide that.

Regards,

Amit

Read only

Former Member
0 Likes
1,239

Check

;�

ALV is nothing but "application list viewer.

An ALV displays the output directly in the form of a grid or a list.

ie,in a tabular format with the required field names as headings.

while in a normal report,user has to design and format his output in a list or table fashion,which is a tedious process.

it is to overcome the user designing the output in list,SAP has given ALV,thro which one can deirectly get a tabulated list output.

type-pool:slis is basically declared to call the respective function module for the ALV display.

its mandatory that type-pool:slis is declared.

Imagine you have to write a report that lists out customer addresses. You will write code to get the input from the user via selection screen and then read the data based on the seletion from the database into an internal table(or a set of internal tables). Now once you have the data you will need to output this. In normal list reports, you will have to use 'WRITE' statements to format the output into columns and rows. Now suppose user wants some interactivity in it. Then you will have to provide some buttons and/or menu options through custom pf-status and then write logic for reacting to the user actions. After writing many such reportsm, you will feel like some of this can generalized and reused in every report.

That is exactly what ALV does. It takes out most of repeated sections of the code from out of you and provides you with excellent outputting functionality. It provides many standard functions like 'print', 'sort', 'filter', 'sum' etc by default. Imagine writing code yourself for all these if you were writing normal list program. One more major difference is the editing feature. If you were write a program that gives the user with editing features, then you will have to write a lot of logic. But with ALV, all the features like adding a row, deleting a row, copying a row, editing some fields of a row etc come by default.

Likewise, interactivity has become quite easy to implement. Like double clicking on a customer number, if the user wants to go to display customer transaction, it is very easy using ALV.

As pointed out here by others, go through the documentation of ALV and go through some of those demo programs and you will know the difference. ALV takes out a lot of burden of coding everything away from you and lets you worry about the business functionality that your report provides, rather than formatting the output or providing interactivity to the output.

Regards,

Santosh

Read only

0 Likes
1,239

yes

Read only

Former Member
0 Likes
1,239

Hi Rajesh,

You can refer the below link,

Regards,

Hema.

    • Reward points if it is useful.

Read only

Former Member
0 Likes
1,239

hi rajesh,

Chack this link,

Its discussed in this post.

-Priyanka.