2017 Nov 29 5:14 PM
2017 Nov 29 7:33 PM
I see you have a Total button in the IDA. Once you total a column, normally the Sub-Total button will display (I think).
2017 Nov 30 7:03 AM
It did not really happen, the subtotal button still doesnt appear and there is no other option availible beside grouping
2017 Nov 30 6:53 AM
You can't add subtotal button, but there are some conditions that you have to fulfill to use the subtotal facility. These are :
1. There must be atleast one column of numeric type in the grid.
2. Total of atleast one column(numeric column) is mandatory. Once you performed the total of a column, the subtotal button will be enabled, now you can perform the subtotal of the column(numeric column) you want.
2017 Nov 30 7:12 AM
Did you define at least one totalized column and one sort criteria, the icon should then appear.
NB: To add custom buttons (but should not be required) you have to implement methods add_button and function_selected of interface IF_SALV_GUI_TOOLBAR_IDA. And the second method must do the work itself.
2017 Nov 30 9:42 AM
if I have dozens of rows that is to much extra work for the user, expending each group one by one
2017 Nov 30 9:43 AM
in salv
In IDA I can use GroupBy but I am looking for an "Expand all" option like in the Subtotal in salv:
2017 Nov 30 10:09 AM
So you don't want to define sub-totals as I first understood, but want to handle some collapse/expand button. In this case you could implement the two events I already suggested to add functions not already existing in the menu (or use your own status with set_pf_status)
NB: Look at sample SALV_IDA_TOOLBAR_FUNCTION
3 weeks ago
Hello did anyone find how to handle that collapse/expand button or subtotal?