2007 Jul 11 4:52 AM
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!
2007 Jul 11 4:56 AM
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
2007 Jul 11 4:56 AM
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
2007 Jul 11 5:08 AM
Hi,
Are you refreshing like this?
CALL METHOD o_grid->refresh_table_display.