I just wanna show the cell I set to be selected when the alv run, but the same time the original default selected cell is still shown, I need to cancel the original default cell, which located at 1st row and 1st column.
Here is my code:
DATA: GT_CELLNO TYPE LVC_T_CENO.
LS_CELLNO TYPE LVC_S_CENO.
LS_CELLNO-ROW_ID = 5.
LS_CELLNO-COL_ID = 4.
APPEND LS_CELLNO TO GT_CELLNO.
CALL METHOD OF CL_GUI_ALV_GRID *
CALL METHOD GR_ALVGRID->SET_SELECTED_CELLS_ID
IT_CELLS = GT_CELLNO.
The result is the the cell located at 5th row, 4th column and the another one located at 1st row, 1st column.
Thanks & Best Regards