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

Populating selection screen values with out pressing enter button

Former Member
0 Likes
722

Hi All,

I have a requirement where i need to get the values from the selection-screen with out pressing enter button. If we run the report for first time, there will not be any problem, but if we run the report once and when we come back to the selection screen from the output by pressing F3 button and change the entries in the selection screen and press execute, with out pressing enter button, the selection parameters will be containg the old values but if we press enter then we get the changed values as the at selection-screen event gets triggered, but if dont press enter at selection-screen event does not getss triggered and the output will be based on old values. Can any one pls let me know how to handle this situation, without pressing enter if execute my fileds in the selection screen should get the new values.

Thanks,

Raj

1 ACCEPTED SOLUTION
Read only

former_member585060
Active Contributor
0 Likes
671

Hi,

Why don't you write clear state at the end of the code.

write this code at the end of code.

CLEAR : p_matnr, s_werks.

" all your selection screen values

Regards

Bala Krishna

Hi All,

I have a requirement where i need to get the values from the selection-screen with out pressing enter button. If we run the report for first time, there will not be any problem, but if we run the report once and when we come back to the selection screen from the output by pressing F3 button and change the entries in the selection screen and press execute, with out pressing enter button, the selection parameters will be containg the old values but if we press enter then we get the changed values as the at selection-screen event gets triggered, but if dont press enter at selection-screen event does not getss triggered and the output will be based on old values. Can any one pls let me know how to handle this situation, without pressing enter if execute my fileds in the selection screen should get the new values.

Thanks,

Raj

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
671

That doesn't sound right at all. Can you post some of the code. The at selection-screen event should be fired when you click "Execute" always, regardless if you hit enter or not..

Regards,

Rich Heilman

Read only

former_member585060
Active Contributor
0 Likes
672

Hi,

Why don't you write clear state at the end of the code.

write this code at the end of code.

CLEAR : p_matnr, s_werks.

" all your selection screen values

Regards

Bala Krishna