cancel
Showing results for 
Search instead for 
Did you mean: 

to get the required data

Former Member
0 Kudos

Hi all,

I have a text field and if i enter some character and press enter then a new popup window should open showing all the results with the entered characters as starting characters.How can i achieve this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In your Layout, use the foll code..


<htmlb:inputField id  = "dpd12"
                       required      = "TRUE"
                       type          = "STRING"
                       size          = "10"
                       value         = "<%= fname %>"
                       submitOnEnter = "TRUE" />

and OnInputProcessing, search the string in the Itab,



if fname is not initial and lname is not initial.
loop at i_emp into wa_emp where vorna cp fname and nachn cp lname  .
append wa_emp to itabtemp.
clear wa_emp.
endloop.
endif.

Again. in the Layout display the Itabtemp.

Rgds,

Jothi.P

*reward pts for useful answers.

Answers (1)

Answers (1)

Former Member
0 Kudos

Ranjith,

Is the above code working?

If u r satisfied with the outcome,do close the thread.

Rgds,

Jothi.P