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: 

About OO alv Total

Former Member
0 Kudos
118

hi, all

I use OO alv, and total the quantity field.

But when i append a record to table and refresh the display,

the total don't refresh.

How can i refresh the total display after refresh the table display?

Thanks for your help!

1 ACCEPTED SOLUTION

Former Member
0 Kudos
62

when you are appending the row then you have to append the row into the internal table, sort the internal table again, and then again calculate the total of quantity field (if you are not using subtotal in ALV).

however if you are using sub-total in ALV then only sorting will solve the problem.

Reward points if helpful

2 REPLIES 2

Former Member
0 Kudos
63

when you are appending the row then you have to append the row into the internal table, sort the internal table again, and then again calculate the total of quantity field (if you are not using subtotal in ALV).

however if you are using sub-total in ALV then only sorting will solve the problem.

Reward points if helpful

jayanthi_jayaraman
Active Contributor
0 Kudos
62

Hi,

Are you refreshing like this?

CALL METHOD o_grid->refresh_table_display.