Highlighting only a particular cell instead of entire row in ALV Grid
By Teja
Let us execute the standard program: BCALV_DEMO_TOOLTIP:
On the selection screen, select the radio button “Output as
Grid” and press Execute.
Output displayed:
Now let us select any cell in the ALV list:
From the above screenshot, you can observe that entire row is
highlighted.
Instead of selecting the entire row, let us modify the
program to highlight only the selected cell.
Copy the standard program BCALV_DEMO_TOOLTIP to a ‘Z’
program and make the following modifications:
The line number at which the modifications are to be made is
shown in the above screenshot.
Save and activate the program. Now execute the program again
and select any particular cell:
From the above screenshot, you can observe that only the
selected cell is highlighted.
|