0% found this document useful (0 votes)
95 views

Highlighting Only A Particular Cell Instead of Entire Row in ALV Grid

This document discusses modifying an ALV grid program to highlight only the selected cell rather than the entire row when a cell is clicked. It provides the standard ALV grid program code, demonstrates that clicking a cell currently highlights the whole row, then explains how to copy and modify the program by changing the line that controls highlighting to only select the clicked cell rather than the full row. Running the modified program then demonstrates that only the individual selected cell is highlighted rather than the entire row.

Uploaded by

assign79
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views

Highlighting Only A Particular Cell Instead of Entire Row in ALV Grid

This document discusses modifying an ALV grid program to highlight only the selected cell rather than the entire row when a cell is clicked. It provides the standard ALV grid program code, demonstrates that clicking a cell currently highlights the whole row, then explains how to copy and modify the program by changing the line that controls highlighting to only select the clicked cell rather than the full row. Running the modified program then demonstrates that only the individual selected cell is highlighted rather than the entire row.

Uploaded by

assign79
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

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.

You might also like