‎2008 Dec 18 6:00 AM
Hi Friends,
I using a table control which has more than 100 line items in it. i want to use find (the binarcular) icon to easily find what i'm looking for.
is their any possibility for doing this . if yes, lease help with a possible code
Thanks & Regards,
kat
‎2008 Dec 18 6:10 AM
‎2008 Dec 18 6:16 AM
hi
check this link
[Logic of Find button|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=findbuttonlogicintable+control&adv=false&sortby=cm_rnd_rankvalue]
thanks
Sachin
‎2008 Dec 18 6:19 AM
Hi Kat ,
First make an input field (say P1) in which user wants to search a particular value as soon as the user does any event after filling P1 read the itab with key <Name of the column> = P1 .
if sy-subrc eq 0 .
then u can easily move that line to the top of the table .
or
secpndly if u have more than one value top display
what u can do is create another screen with same elements but on itab2 which is initial .
as soon as user fills in the P1 take user to another screen and fill the itab2 with all the values of P1.
But do not forget to make a back button .
Thnks
Sahil
‎2009 Jan 02 5:58 AM