cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP WebDynpro - Mandatory Check on required DropdownByIndex

Former Member
0 Kudos

Hello,

I have DropdownByIndex UIElements and want to do mandatory checks on them.

They are not deselectable, but there default value is space, so the user cannot just use the first value.

The User must be forced to select one of the values.

But when I set it to state=required and execute the mandatory check on methode BeforeAction every other required field is controlled but not the dropdowns.

The mandatory check seems to believe, that the dropdown is filled even by letting it empty, becaus, it's just in the list.

Any idea, how it can be solved?

Thenk you very much,

Flo

Accepted Solutions (1)

Accepted Solutions (1)

chengalarayulu
Active Contributor
0 Kudos

Florian,

a manual null existence check required for dropdownbyindex.

just read the context and check.

and have a look that either LeadSelection is enabled or not, if not enable.

Answers (0)