on 07-06-2009 3:00 PM
Dear all,
I've enable collapsing of the entries for the aggregation but when I try to expand it does not work...
Should i do something to enable that ? A function to enable ?
IM_ALV->IF_SALV_WD_STD_FUNCTIONS~SET_AGGREGATION_ALLOWED( ABAP_TRUE ).
LR_FSET ?= IM_ALV.
LR_FIELD = LR_FSET->GET_FIELD( 'PERNR' ).
LR_FIELD->IF_SALV_WD_SORT~CREATE_SORT_RULE( GROUP_AGGREGATION = ABAP_TRUE ).
LR_FIELD->IF_SALV_WD_SORT~SET_SORT_ALLOWED( ABAP_TRUE ).
LR_FIELD = LR_FSET->GET_FIELD( 'CATSHOURS' ).
LR_FIELD->IF_SALV_WD_AGGR~CREATE_AGGR_RULE( AGGREGATION_TYPE = IF_SALV_WD_C_AGGREGATION=>AGGRTYPE_TOTAL ).
LR_FIELD->IF_SALV_WD_AGGR~SET_AGGREGATION_ALLOWED( ABAP_TRUE ).
IM_ALV->IF_SALV_WD_FIELD_SETTINGS~SET_GROUP_AGGR_COLLAPSED(
VALUE = ABAP_TRUE
).
IM_ALV->IF_SALV_WD_FIELD_SETTINGS~SET_GROUP_AGGR_DISPLAYED(
VALUE = ABAP_TRUE
).
thanks in advance
No body can help me ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.