01-10-2007 2:15 PM
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
01-10-2007 2:18 PM
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.
01-10-2007 2:18 PM
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.
01-10-2007 2:26 PM
Hello J J,
Make the DO_SUM = 'X' of the field in the field catalog table.
If useful reward.
Vasanth
01-10-2007 2:26 PM
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
01-10-2007 2:43 PM
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
01-10-2007 2:51 PM
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