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: 

Double click functionality in Webdynpro Search help

Former Member
0 Kudos

Hi All,

I have a search help in webdynpro appl. for a field. Here i need to enable the double click functionality, so that when user clicks on a row, it should get selected automatically .

Could anyone let me know how can i achieve this?

This functionality is already there in the standard F4 helps.

Thanks in advance.

Regards,

Seema

2 REPLIES 2

Former Member
0 Kudos

Hi Seemanthini,

For this double click functionality, if you want a script to be displayed you can do this way,

form DETAILDISPLAY USING R_UCOMM LIKE SY-UCOMM

RS_SELFIELD TYPE SLIS_SELFIELD.

READ TABLE itab[] into itab_ekko INDEX RS_SELFIELD-TABINDEX.

CALL FUNCTION 'OPEN_FORM'

EXPORTING

FORM = 'your_script _name'

EXCEPTIONS

OTHERS = 1

CALL FUNCTION 'WRITE_FORM'

EXPORTING

ELEMENT = 'TABLE'

FUNCTION = 'SET'

TYPE = 'BODY'

WINDOW = 'MAIN'

or if you don't want any script etc,,,,you can simply do it in 'AT USER COMMAND'.

I hope this will be helpful to you.

Regards,

Nidhi Kothiyal

CALL FUNCTION 'CLOSE_FORM'

EXCEPTIONS

OTHERS = 1

.

endform. " DETAILDISPLAY

Former Member
0 Kudos

found out answer myself

thanks