cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger an event on selecting date in input field from standard date help??

Former Member
0 Kudos

Hi Guys,

Please any one help me to solve my issue.

Thanks in advance.

Note: When i select date in input field through standard date f4 immediate an event should be triggered.

Accepted Solutions (0)

Answers (5)

Answers (5)

preetamr
Explorer
0 Kudos

Hi Prachi,

Try the following link. I hope it helps:

Regards,

Preetam

amy_king
Active Contributor
0 Kudos

Hi Prachi,

In addition to Kiran's suggestions, a third option is to use the wddomodifyview hook method. This method will execute upon return from a search help, so you could trigger your event conditionally from there.

Cheers,

Amy

former_member184578
Active Contributor
0 Kudos

Hi Amy,

You are right. But, I observed that for date F4 help the WDDOMODIFYVIEW method will not be triggered. For other F4 helps as the browser rendering happens the wddomodifyview will be executed upon return from search help.

Regards,

Kiran

amy_king
Active Contributor
0 Kudos

Ah, thanks Kiran for the correction.

Cheers.

former_member217546
Participant
0 Kudos

Hi,

I think 'DateNavigator' UI Element may help your requirement.You may try these events available in UI element

onDaySelect

onMonthSelect

onStartDateChanged

onWeekSelect

Thanks,

Sudheer

kutjohn
Active Participant
0 Kudos

Hi,

Can you please tell what is your purpose?

former_member184578
Active Contributor
0 Kudos

Hi,

There is no onFocus event in Web Dynpro ABAP like in java script. You need to press Enter after selecting the date to trigger an event.

or

Build a custom F4 help using OVS and in the OVS event handler you can trigger the event.

Hope this helps u,

Regards,

Kiran