Show TOC

 IS-U Components/Component Conditions with BRFplus

 

Direct component assignment is one of two options available for defining package components.

If you do not use an optional component condition, the system assigns the component to a package statically, meaning that the component is always part of the package.

You can use rules of the type component condition to make components that are statically assigned to utilities packages or product determination objects dynamic. This requires the sub components to be active. This procedure is an alternative to the product list, which is used if attributes are also to be defined with the rule.

The following table contains an overview of the component conditions characteristics:

Application usage

CC - Presentation control

Reference object / cardinality

Product component / 1:n

Versioned

Yes

Redefinition

Yes

Implementation class

CL_CRM_ISU_BRF_APPL_USAGE_CC

Inbound parameter

Variable according to the context generated

Return value

Indicates whether the component is available, see the following table

Expression Type for Function: 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

Boolean expression

Applies or does not apply

Result

IU_RESULT

Availability indicator

' ' Hide

'X' Available

CHAR1

Note Note

At runtime, the system processes the decision table again if an attribute created by choosing Add Context Attribute has changed.

End of the note.

Example

A utilities package includes the sub component Installation Service. The system always selects this automatically if the attribute Full Service was evaluated with 'X' in the utilities package.

The sub component Installation Service is assigned to the utilities package. The sub component was then selected and a new rule Component Condition with the attribute Full Service was created as an inbound parameter.

The decision table contains the following values in the example shown here:

Condition - Full Service

Result – IU_RESULT

' '

' '

‘X’

‘X’

As a result of the function, the sub component is available if the full service attribute is selected.