Definition
Presentation control can be used to control changeability of the attribute and the characteristic Mandatory
. This setting option is an addition to the setting options Changeability
and Mandatory
for the attribute definition.
The following table contains an overview of the presentation control characteristics:
Application usage | CR - Presentation control |
Reference object / cardinality | Attribute / 1:1 |
Versioned | Yes |
Redefinition | Yes |
Implementation class | CL_CRM_ISU_BRF_APPL_USAGE_CR |
Inbound parameter | Variable according to the context generated |
Return value | See table |
Possible Characteristics of the Decision Table
Generate an entry in the decision table for every admissible value to ensure that the BRF application returns the required result:
Column | Description | Possible Entries | Data Element | Comment |
---|---|---|---|---|
Condition | ||||
Such as attribute X | Attribute used as the basis for defining the field value | |||
Such as expression Then/If | An additional expression, which is | |||
Result | ||||
ISURSLT_MANDATORY | Required field indicator | ' ' Optional ‘X’ Mandatory | CHAR1 | Required fields are highlighted in red at runtime. |
ISURSLT_CHANGEABILITY |
| ' ' Read only 'X': Changeable | CHAR1 | |
ISURSLT_RENDER_TYPE | Presentation type for attribute | Default values:
|
Note
At runtime, the system processes the decision table again if an attribute created by choosing Add Context Attribute
has changed.
Example
A product contains an attribute Payment Method
with the value Automatic Debit
as a checkbox field. If this is selected, the field Account Number
becomes a required field.
Condition | Result | Result |
---|---|---|
Automatic debit: ' ' | ISURSLT_MANDATORY: ' ' | ISURSLT_CHANGEABILITY: ' ' |
Automatic debit: ‘X’ | ISURSLT_MANDATORY: ‘X’ | ISURSLT_CHANGEABILITY: ‘X’ |