‎2010 May 14 4:38 PM
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
‎2010 May 14 6:14 PM
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
‎2010 May 14 6:14 PM
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