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

Selection screen parameter validation using search help/check table

Former Member
0 Likes
627

Hi experts,

I have a select-option that is tied to a search help and check table (type tq80-qmart). Is there a way to automatically validate the field based on what comes up in the F4 search help? What I mean is, when the user hits F4 on the parameter, the list pops up with several records that the user can choose. When the program is executed, I want the program to show an error if the value is NOT in that F4 list.

I know this can be done in AT SELECTION SCREEN event with a select, but I was wondering if there was a way ABAP does it automatically. Any help will be greatly appreciated.

Thanks,

Juan

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
385

Hello Juan,

SAP does have a standard way of allowing the the user to select from the list via LISTBOX.

But list box is restricted to parameters only, you cannot attach list boxes to select-options.

I think the best place to do this validation would be th AT SELECTION-SCREEN event & from your original post it seems you know what code to write

1 REPLY 1
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
386

Hello Juan,

SAP does have a standard way of allowing the the user to select from the list via LISTBOX.

But list box is restricted to parameters only, you cannot attach list boxes to select-options.

I think the best place to do this validation would be th AT SELECTION-SCREEN event & from your original post it seems you know what code to write