‎2009 Jan 11 12:03 PM
hai,
I have three fields in my alv grid display namely empid, empname and count .Depending upon that count field
i have to do the subtotal.for that i did the subtotal but my problem is i have to hide the values of that count field but my o/p value i.e subtotal value has to come in output.if anyone knows the solution pls tell me the solution as soon as possible.
With Regards,
R.Dhineshraj.
‎2009 Jan 12 4:34 AM
Hi,
Just check for parameter totals_only in slis_layout_alv if using REUSE_ALV_GRID_DISPLAY.
Double click from report program on slis_layout_alv and then double click in slis_layout_alv_spec and then click slis_layout_alv_spec1.
Here you can check the section for Sums and use totals_only(1) type c, " show only totals.
Have a look at it.
Hope this helps you.
Thanks & Regards,
Tarun
‎2009 Jan 12 4:32 AM
hello Raj,
Refer the given below link...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=17335
Hope it will solve your problem.
Thanks
Arun Kayal.
‎2009 Jan 12 4:34 AM
Hi,
Just check for parameter totals_only in slis_layout_alv if using REUSE_ALV_GRID_DISPLAY.
Double click from report program on slis_layout_alv and then double click in slis_layout_alv_spec and then click slis_layout_alv_spec1.
Here you can check the section for Sums and use totals_only(1) type c, " show only totals.
Have a look at it.
Hope this helps you.
Thanks & Regards,
Tarun
‎2009 Jan 12 5:13 AM
Hiu2026.
To display sub totals u have to use u2018do_sumu2019 fields in field catalog.
For this u have to build sort tab and I this sort tab u have to specify based on which fields u have to display subtotal. And pass this sort tab in ALV FM.