cancel
Showing results for 
Search instead for 
Did you mean: 

Event should trigger when enter is pressed on select option for validation

Former Member
0 Kudos

Hi,

I want to trigger a event when enter is pressed on a select option field for validation.

I have created a select option through coding. I am not able to find out any method or class for that.

please advice.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sachin ,

If you want ot use the methods in the class CL_WDR_SELECT_OPTIONS.

You can find here:-

[WDR_SELECT_IPTIONS|https://cw.sdn.sap.com/cw/docs/DOC-20864.pdf]

Check these if can find ur required one.

If you are using any ui element then you can use ON_ENTER event as a action as stated by Baskaran.

Check also if these threads can help you:-

[;

[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]

Thanks & Regards,

Monishankar Chatterjee

Former Member
0 Kudos

Hi,

what kind of UI element are you talking about ?. If it is Input field then you can create a action onEnter event .