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: 

How do I get totals to display on ALV grid when first displayed?

Former Member
0 Kudos

How do I get totals to display on ALV grid when first displayed? I dont want to have the user do it. I want the grid to display with columns totaled.

thx, J

1 ACCEPTED SOLUTION

Former Member
0 Kudos

For the field where you want the total make the parameter DO_SUM of the field catalog to 'X'

This will enable the Sum of the totals at first display.

5 REPLIES 5

Former Member
0 Kudos

For the field where you want the total make the parameter DO_SUM of the field catalog to 'X'

This will enable the Sum of the totals at first display.

Former Member
0 Kudos

Hello J J,

Make the DO_SUM = 'X' of the field in the field catalog table.

If useful reward.

Vasanth

Former Member
0 Kudos

Hi,

When u populate Fieldcatalog, set DO_SUM = 'X' for that field to which u want total at the begining of the display.

regards,

Aravind

Former Member
0 Kudos

Hi JJ,

WA_FIELDCAT-FIELDNAME = 'EBELN'.

WA_FIELDCAT-COL_POS = '1'.

WA_FIELDCAT-JUST = 'R'.

WA_FIELDCAT-SELTEXT_L = 'PO Number'.

WA_FIELDCAT-LOWERCASE = 'X'.

<b> WA_FIELDCAT-DO_SUM = 'X'.</b>

APPEND WA_FIELDCAT TO IT_FIELDCAT.

Thanks

Vikranth Khimavath

Former Member
0 Kudos

Hi,

U can enable the

SUM

option to '

X

in the fieldcatalog.

Also refer this link

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm