‎2008 Jun 23 8:38 AM
Hi Friends,
Im having a doubt regarding the at selection screen output statment.
I have written a code at the AT SELECTION -SCREEN OUTPUT.
and i get a date,after which if this date is not the correct date required by the user he wants to change the input.
But this is not working in my case,since when i change the input and excute again, it triggres the same code nad the field value changes to the same.
ie even if the date propsed by the system is nt correct then i need the date which is given in manually
Please help me
‎2008 Jun 23 8:41 AM
Use AT SELECTION-SCREEN
or
AT SELECTION-SCREEN on field events to validate that field
AT SELECTION-SCREEN OUTPUT doesnot work for your criteria.
‎2008 Jun 23 8:46 AM
Hi
Please use AT SELECTION SCREEN event to validate the field on the selection screen
Regards,
Jaya Vani
‎2008 Jun 23 9:11 AM
instead of at selection-screen output.
pass the date in "initialization" event
something like this
select-options:so_budat for mkpf-budat.
initialization.
so_budat-low = sy-datum.
so_budat-high = sy-datum.
append so_budat.
‎2008 Jun 25 8:28 AM
Hi,
Give the initial date or the default date in default value of your parameter or if any calculation is there then in INITIALIZATION EVENT and then do the required validation on user input on the AT SELECTION-SCREEN events like on field or on block or at selection screen.
As AT SELECTION-SCREEN OUTPUT is a PBO event and is triggered everytime user make a interaction on the screen except F8 .
With Luck,
Pritam.
‎2008 Jun 25 8:41 AM
Hi Neliea
Event AT SELECTION SCREEN OUTPUT event triggers before the selection screen so make sure if you want to validate then what you need to do is to use the event AT SELECTION SCREEN. This will resolve your problem
&******************Reward Point if helpful*************&
‎2008 Jun 25 9:27 AM
Hai Neliea,
The events Initialization and At selection-screen Output are PBO events and r triggered Before the selection screen is displayed. So if u have to validate the date just keep it in the AT Selection-Screen event and check . this will resolve ur issue.
Reward if Useful,
Regards,
Swapna.
‎2008 Jun 25 9:33 AM
Hi,
I think you are initializing that field value in AT SELECTION-SCREEN OUTPUT event. So when you change tha value on selection-screen when you press enter then the event AT SELECTION-SCREEN OUTPUT is triggered again and the value is again changed to the value you are assigned in this event.
So, You just assign the value at INITIALIZATION event, not in the AT SELECTION-SCREEN OUTPUT .
‎2009 Apr 27 9:49 AM