2009 May 11 8:49 AM
Hi All,
I have created a program, in this program I am working on the tree and the grid alv.
Initially on selecting a record of the tree displays the data correctly but when i select some other record form the tree the ALV contents does not change and it displays the previous data.
I have tried using flush method and refresh_table_display.
But the problem still persist.
Is there any way i can solve this problem ?
Thanks in Advance
Regards
Sohit Gulati
Hi All,
I have created a program, in this program I am working on the tree and the grid alv.
Initially on selecting a record of the tree displays the data correctly but when i select some other record form the tree the ALV contents does not change and it displays the previous data.
I have tried using flush method and refresh_table_display.
But the problem still persist.
Is there any way i can solve this problem ?
Thanks in Advance
Regards
Sohit Gulati
2009 May 11 11:15 AM
Hi Sohit ,
Try using the below code by freeing the ALV grid.
IF NOT o_alvgrid IS INITIAL.
CALL METHOD o_alvgrid->free
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
CLEAR o_alvgrid.
ENDIF.
Hope this helps.
Regards,
Chitra
2009 May 11 1:24 PM
Hi,
Please refer the std programs BCALV_TREE_DEMO or BCALVTREE* .
Regards,
Rajesh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |