Tuesday, November 16, 2010

Highlighting only a particular cell instead of entire row in ALV Grid

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.

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

Blog Archive

goodsites