cancel
Showing results for 
Search instead for 
Did you mean: 

Upon Pressing Enter Key in an InputField

Former Member
0 Kudos

Hi,

I have an InputField where i have to enter AirlineId and followed by search button

But my requirement here is <b>

We have to press Enter key in INputField.Then all the AirLineIds which are there in the database has to be popuped and in that the one which selects has to be placed in the InputField</b>

Regards

Padma

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If your input is not tied to a mapped node, you can use EVS to help user input by setting the valueSet of this attribute.

Former Member
0 Kudos

Hi Padma,

Create a onEnter event for the input field & inside that create a modal window. For that window u have to create a view also.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdf</a>

In this tutorial check the code for AddressBook(not for external window) .U can use this code

IWDWindowInfo myWinInfo = wdComponentAPI.getComponentInfo().findInWindows("<window name>");

myPopupWindow = wdComponentAPI.getWindowManager().createWindow(myWinInfo,true);

myPopupWindow.setWindowPosition(300,150);

myPopupWindow.open();

regards

Sumit

Former Member
0 Kudos

Hi Padma,

For an Input Field you have an action called OnEnter. Implement the required functionality on OnEnter().

Regards,

Jhansi