Hi,
I have an issue with my ALV Grid.
I use a classical ALV treem from where I make a call to a screen which displays an ALV GRID ( OOPs ) .
The ALV is displayed, based on the selection made by the user in the ALV tree. The tree contains various say DB Table names , My purpose is to display the contents of the table inside an ALV Grid, based on which DB table name is chosen by the user.
This is my problem.
Every time I make a selection on the tree which subsequently call the ALV, I get the same ALV GRID. The data isnt getting refreshed.
I have used statements like FREE obj_grid, obj->refresh() , etc..but doesnt seem to work.
I have tried using SET_TABLE_FOR_FIRST_DISPLAY and also REFRESH_TABLE_DISPLAY... but nothign seems to work..
I am everytime calling the ALV using the 'Set_table_for_first_display' because the ALV columns and data are different. But during every call, I get the same ALV that I loaded initially. Though the parameters to the F.M 'Set_table_for_first_display' are always passed afresh everytime, the o/p doesnt reflect it.