Definition
You can use a product list to assign valid product components with their preconfiguration to a utilities package or a product determination object.
Application usage | PL – Product list |
Reference object / cardinality | Product / 1:n |
Versioned | Yes |
Redefinition | Yes |
Implementation class | CL_CRM_ISU_BRF_APPL_USAGE_PL |
Inbound parameter | Variable according to the context generated |
Return value | Table of products with the columns 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_GROUP_ID | Product group for alternative components | CHAR20 | Products to which the same product group is assigned in a product list represent an item in the sales process. | |
IUR_GROUP_OPTIONAL | Indicator for an optional product group. | “X“/“ “ | Boolean | |
IUR_GROUP_DEFAULT | Indicator for a product group that is to be selected initially in the sales process. | „X“/“ “ | Boolean | |
IUR_OPTIONAL | Indicator for an optional component. | ‘X’/‘ | Boolean | |
IUR_DEFAULT | Indicator for optional components that are to be selected initially in the sales process. | ‘X’/‘ | Boolean | If you are using product groups (IUR_GROUP_ID), this column is used to define the product selected initially in the product group. |
IUR_DESCRIPTION_LONG | Comprehensive product description | STRING | Is only evaluated in the OData service for the Product Finder and Configurator. | |
IUR_ADD_INFO | Additional information for the product | STRING | Is only evaluated in the OData service for the Product Finder and Configurator. | |
IUR_PICTURE | Picture of product | ‘product_info.gif’ | STRING | Is only evaluated in the OData service for the Product Finder and Configurator. |
IUR_PROCESS_TYPE | Requested transaction type for the document in which the product is to be entered. | Transaction types that have been maintained in the system. | CRMT_PROCESS_TYPE_DB | The default transaction type defined for the sub-documents in Customizing can be overwritten using a different transaction type. |
IUR_RESULT_GROUP_ID | ID of the result group in the PFC that is to be assigned to the product. | CRM_ISU_GROUP_ID | ||
IUR_KEY | Hidden key that must not be changed under any circumstances. | GUID | ||
A configuration attribute from the generated context |
A product that is defined as a component in a product list can be defined as optional
or as optional&default
. It is also possible to define a group with alternative products. This is the same as the function that is available for component conditions.
Note
At runtime, the system processes the decision table again if an attribute created by choosing Add Context Attribute
has changed.
Example
A product determination object has an attribute Requested Contract Duration
with the values 6,12,24
. When this attribute is evaluated, a sub component with the product name STROM
is expanded. The system also defines a default value accordingly for the Duration
attribute and description of the sub component reflects the contract duration.
The decision table contains the following values in the example shown here:
Condition – Requested Contract Duration | Result – IUR_PRODUCT_ID | Result – IUR_PRODUCT_TEXT | Result – IURC_PRODUCT_DURATION |
---|---|---|---|
STROM | Electricity (1 month) | 1 | |
0 - 12 | STROM | Electricity (12 months) | 12 |
>12 | STROM | Electricity (24 months) | 24 |