Application Development 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: 

display totals on the first line in ALV grid and ALV LIST

Former Member
0 Kudos

Generally we wll display totals at the end..

bu the requirement is to display it in the first line of the column.

how to display the totals in the first line?

I have used ALV GRID and ALV LIST (choice) using function modules.

Plz help me

.for example : Po qty : Should display total po qty on the first line of the Po line item.

2 REPLIES 2

Former Member
0 Kudos

IN LAYOUT

ILAYOUT-totals_before_items = 'X'.

REGARDS

SHIBA DUTTA

Former Member
0 Kudos

U can also do the summation and append it as a first line to the internal table.

Then pass that table to the FM 'Reuse_alv_grid_display' or LIST.