Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

loop through screens and grids

Former Member
0 Kudos

Hi Everyone,

I have a proposal for the find and find next in my screen. Need some help for you people.

In the screen i have around 3 grids, so in the standard toolbar if I press this find button it has to loop through the screen, loop through the grids then columns in the grid and find for the specified string.

So how do I achieve this. Any help will be great use to me.

Thanks in advance,

Prabs.

3 REPLIES 3

Former Member
0 Kudos

Hi Prabhakar,

As of now forget that you have to manipulate with the screen.The idea is to process internally.

I hope you have the contents of 3 Grids in 3 separate internal tables.

You can search for the particular string in these tables depending on the Pf-status(Find) you pressed.This will help you to locate the Grid which holds this particular string.

In case you have maore than one entry matching for the same string keep track of all these.Search the table in the same order in which you display the Grids in the screen.

Please reward poits if you find this useful.

0 Kudos

Hi SivaKumar,

It was a good suggestion, is there any sample code which you can forward me, after searching for a particular string either I have to display the string in the dialog or highlight in the grid.

How do I achieve this, if there are more than one search string found.

Any help will be of great use to me.

Thanks,

Prabs.

0 Kudos

Hi Guys,

Can anyone help me with this issue, of find and find next in the standard toolbar. Its really very urgent.

Thanks,

Prabs.