/AWS1/CL_PP2SELECTVALIDATION¶
Validation rules for a select field.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_minchoices TYPE /AWS1/PP2INTEGER /AWS1/PP2INTEGER¶
The minimum number of choices for the select.
iv_maxchoices TYPE /AWS1/PP2INTEGER /AWS1/PP2INTEGER¶
The maximum number of choices for the select.
it_options TYPE /AWS1/CL_PP2STRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST¶
An array of strings for the possible selection options.
Queryable Attributes¶
MinChoices¶
The minimum number of choices for the select.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MINCHOICES() |
Getter for MINCHOICES, with configurable default |
ASK_MINCHOICES() |
Getter for MINCHOICES w/ exceptions if field has no value |
HAS_MINCHOICES() |
Determine if MINCHOICES has a value |
MaxChoices¶
The maximum number of choices for the select.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXCHOICES() |
Getter for MAXCHOICES, with configurable default |
ASK_MAXCHOICES() |
Getter for MAXCHOICES w/ exceptions if field has no value |
HAS_MAXCHOICES() |
Determine if MAXCHOICES has a value |
Options¶
An array of strings for the possible selection options.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OPTIONS() |
Getter for OPTIONS, with configurable default |
ASK_OPTIONS() |
Getter for OPTIONS w/ exceptions if field has no value |
HAS_OPTIONS() |
Determine if OPTIONS has a value |