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: 

Problem with ALV and WRITE statement..

Former Member
0 Kudos

Hi all,

I have created a program that displays a list. Below that i have shown the grand total as a separate table. The grand total table is displayed using WRITE statements and the list is displayed using REUSE_ALV_LIST_DISPLAY.

Though my output is fine, when i export it to an excel file, due to the grand total table i get empty columns inserted between my columns of the original list.

Those empty columns in the list correspond to the columns in grand total that comes below the list.

Does anyone have a solution???

I cannot post the code because it uses user defined database tables, so there is no use of posting the code.

2 REPLIES 2

Former Member
0 Kudos

hi,

u can display grand total using list also.

use do_sum property of Fieldcat it using for summation

Message was edited by:

Dhwani shah

0 Kudos

hi dhwani,

I know about that, but it is asked to do in this way only because the list doesnt contain only the grand total but some additional data too..