Hi Salil ,
As you havn't mentioned what you are using to display the ALV.There can be 2 possibilities -
1) In case you are using REUSE_ALV_GRID_DISPLAY , try to clear the internal table before populating the records.
2) If you are using method 'set_table_for_first_display' ,
In your PBO module , write like this
data : container1 type ref to cl_gui_custom_container.
If container1 is initial
create object container1
exporting
container_name = <container name u used on layout>
exceptions
.....................
................
endif.
if alv_grid is initial .
create alv_grid
exporting
i_parent = container1
call method alv_grid->set_table_for_first_display
...................................
..................................
...................................
else.
call method alv_grid->refresh_table_display.
endif.
Regards,
Saddam