Application Development 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: 

Sub total in alv

Former Member
0 Kudos

Hi friends,

Could you please tel me how to do subtoal in alv?

I am using REUSE_ALV_HIERSEQ_LIST_DISPLAY.I searched in fourm and tried all the ways ,but could not come the answer....

I used like

fieldcatalod<stu>-DO_sum ='X'

its coming on only one time and also display in last...

I used alternate way for subtotal using sort tab...it also could not come and some times getting short dump too....

HB

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

I think you have to use SORT table with subtot = 'X'.

But you may have to apply an OSS [Note 938937 - ALV HierSeq list: Termination during first call|https://service.sap.com/sap/support/notes/938937]

Regards

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

I think you have to use SORT table with subtot = 'X'.

But you may have to apply an OSS [Note 938937 - ALV HierSeq list: Termination during first call|https://service.sap.com/sap/support/notes/938937]

Regards

former_member188829
Active Contributor
0 Kudos

Hi Hans,

Check this thread....

0 Kudos

HI ,

thnaks for ur reply... I already find and tried this way...but couldn't give any subtotal...please tel any other sugestion

0 Kudos

Whenever KEY(that means key fields) is changed Subtotal is displayed .My problem is solved.....

Thanks for ur all replies