Skip to Content
0
Former Member
Oct 14, 2005 at 06:18 PM

make the search string display in different color

26 Views

Hi Everyone,

When I press the find button it searches for a string in the alv grids of my screen.

I want to highlight this found string in different color, say olive green. How can I achieve.

Here is my sample code what i do.

After the string is found in any one of the grids, I make it to highlight using this code.

CALL METHOD grid_name->set_selected_rows

EXPORTING

it_index_rows = sel_row.

But actuallly I want to highlight in different color as I mentioned earlier. Can anyone suggest me on this.

Thanks,

Prabs.