Application Development and Automation 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: 
Read only

Problem with Aggregation in CL_SALV_HIERSEQ_TABLE

sergiocannelli
Explorer
0 Likes
570

Hi Experts .

I'm having a problem with the totals, in my report. When I run it, the totals row is displayed an "X". I've tested it with different options, but it has not worked. I will be very grateful, if anyone could help me.

My code :

TRY.

LR_AGGREGATION = CH_AGREGAT->ADD_AGGREGATION( COLUMNNAME = IM_CAMPOS-FIELDNAME ).


CALL METHOD LR_AGGREGATION->SET.
CH_AGREGAT->SET_AGGREGATION_ALLOWED(
COLUMNNAME = IM_CAMPOS-FIELDNAME
VALUE = IF_SALV_C_BOOL_SAP=>TRUE ).

Thank you very much.

Sergio.

Hi Experts .

I'm having a problem with the totals, in my report. When I run it, the totals row is displayed an "X". I've tested it with different options, but it has not worked. I will be very grateful, if anyone could help me.

My code :

TRY.

LR_AGGREGATION = CH_AGREGAT->ADD_AGGREGATION( COLUMNNAME = IM_CAMPOS-FIELDNAME ).


CALL METHOD LR_AGGREGATION->SET.
CH_AGREGAT->SET_AGGREGATION_ALLOWED(
COLUMNNAME = IM_CAMPOS-FIELDNAME
VALUE = IF_SALV_C_BOOL_SAP=>TRUE ).

Thank you very much.

Sergio.

0 REPLIES 0