/AWS1/CL_CNKHIDDENCASERULE¶
A rule that controls field visibility based on conditions. Fields can be shown or hidden dynamically based on values in other fields.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_defaultvalue TYPE /AWS1/CNKBOOLEAN /AWS1/CNKBOOLEAN¶
Whether the field is hidden when no conditions match.
it_conditions TYPE /AWS1/CL_CNKBOOLEANCONDITION=>TT_BOOLEANCONDITIONLIST TT_BOOLEANCONDITIONLIST¶
A list of conditions that determine field visibility.
Queryable Attributes¶
defaultValue¶
Whether the field is hidden when no conditions match.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEFAULTVALUE() |
Getter for DEFAULTVALUE, with configurable default |
ASK_DEFAULTVALUE() |
Getter for DEFAULTVALUE w/ exceptions if field has no value |
HAS_DEFAULTVALUE() |
Determine if DEFAULTVALUE has a value |
conditions¶
A list of conditions that determine field visibility.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONDITIONS() |
Getter for CONDITIONS, with configurable default |
ASK_CONDITIONS() |
Getter for CONDITIONS w/ exceptions if field has no value |
HAS_CONDITIONS() |
Determine if CONDITIONS has a value |