Product Structuring Using BRFplus
Definition
The BRF functions for product structuring can be used to determine products and product proposals and the product configuration in a utilities contract or quotation for commercial and industrial customers.
You define product structuring rules in the BRFplus framework. A rule can access the “actual” data in the document main item, the data in the target item (this is the sub-item) and the system data. This means product determination can for example be dependent on point of delivery attributes (such as the address or grid level).
The product structuring rule determines product proposals in the context specified according to the rule that has been recorded here. The works as follows:
-
A product is defined automatically in the contract/quotation item if the following conditions are met:
-
Only one product is found or a product is defined as preselected.
and
-
No product has been assigned to the item yet (meaning that no products are overritten in the sub-item).
-
-
The configuration attributes for the product are also written to the item with the product itself.
-
The system offers you all product proposals determined for the contract item for manual selection.
-
Product proposals can either be defined initially for each item or can be defined for all items selected in a mass process.
-
The icon for the document item shows the current status of product determination.
|
Application usage |
PS Product Structuring |
|
Reference object / cardinality |
Product / 1:n |
|
Versioned |
Yes |
|
Redefinition |
No |
|
Implementation class |
CL_CRM_ISU_BRF_APPL_USAGE_PS |
|
Inbound parameter |
Variable according to the context generated |
|
Return value |
Table of products with the columns product, description preselected, user entry and default attribute to be defined. See 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 |
||||
|
IUR_PRODUCT_ID |
Product ID of component |
Valid product IDs from the CRM System |
CHAR54 |
|
|
IUR_PRODUCT_TEXT |
Alternative product description |
CHAR80 |
If a text is returned here, this is used instead of the original product description at runtime. |
|
|
IUR_DEFAULT |
Preselected product proposal |
'X'/' |
Boolean |
Recommended for more than one product proposal if a product is to be defined for the document item. |
|
IUR_DESCRIPTION_LONG |
Comprehensive product description |
STRING |
||
|
IUR_ENTERED_BY_USER |
User entry |
Boolean |
Selects a product to be entered by the user. |
|
|
IUR_KEY |
Hidden key that must not be changed under any circumstances. |
GUID |
||
|
A configuration attribute from the generated context |
If several product proposals are involved (meaning that several rows in the decision table match the conditions), you can use the indicator Preselected to ensure that this product (with the product attribute values) is written to the document item.