Application Development and Automation 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: 
Read only

At selection-screen Oupt

former_member377111
Participant
0 Likes
921

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

8 REPLIES 8
Read only

Former Member
0 Likes
896

Use AT SELECTION-SCREEN

or

AT SELECTION-SCREEN on field events to validate that field

AT SELECTION-SCREEN OUTPUT doesnot work for your criteria.

Read only

Former Member
0 Likes
896

Hi

Please use AT SELECTION SCREEN event to validate the field on the selection screen

Regards,

Jaya Vani

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
896

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.

Read only

Former Member
0 Likes
896

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.

Read only

Former Member
0 Likes
896

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*************&

Read only

Former Member
0 Likes
896

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.

Read only

Former Member
0 Likes
896

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 .

Read only

former_member377111
Participant
0 Likes
896

Solved By self