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: 

Selection screen - PAI change event upon picking a date

vincent8
Explorer
0 Kudos

Is there a way to trigger a PAI event when the user picks a date from the date picker on the selection screen?

I don't want the user to have to hit Enter to trigger it. I want to trigger code right when the value of the date field changes

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

You may execute any ABAP code when you press F4 (AT SELECTION-SCREEN ON VALUE-REQUEST OF ...), so I guess it should work if you put your own ABAP code after calling F4_DATE.

vincent8
Explorer
0 Kudos

But that would trigger when the F4 is clicked, not when the date is entered. So basically, what I want to do is:
When there is a value in field A (the date), I want to hardcode the value of another field B