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

Subtotals when using ALV Object Model-Hier Sequential

former_member192818
Active Participant
0 Likes
276

Hey Everybody,

I am using the ALV Object Model for a report, and not the ALV Grid object. I have programmed a Hierarchical Sequential list. I have to do some subtotaling. I see the documentation regarding this on help.sap.com at http://help.sap.com/saphelp_nw04/helpdata/en/ec/9e084136b5f423e10000000a155106/frameset.htm

The only problem is there is no sample on the site on how to use the methods and classes.

Would any of you have an example for subtotaling.

Do I have to do something like

CL_SALV_HIERSEQ_LEVEL->GET_AGGREGATIONS

which gives me the aggregation object, for which I have to do CL_SALV_AGGREGATIONS->ADD_AGGREGATION

Thank You for the help.

Sumit.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
256

Hi Punters,

Along with the above question i have another query. I am working on ALV object model. I need to display sub total text. Please help me in this regard.

1 REPLY 1
Read only

Former Member
0 Likes
257

Hi Punters,

Along with the above question i have another query. I am working on ALV object model. I need to display sub total text. Please help me in this regard.