Differences

This shows you the differences between two versions of the page.

adminhelp:productadministration:products:rulesadmin [2019/06/19 09:52]
bdjordje [The Order of Things]
adminhelp:productadministration:products:rulesadmin [2019/08/28 06:45] (current)
mnikolic
Line 89: Line 89:
 There will be 2 new application parameters added to SAP CPQ Setup -> General -> Application Parameters -> General: There will be 2 new application parameters added to SAP CPQ Setup -> General -> Application Parameters -> General:
 '//Display table for simple product rules'//(Default value:FALSE) and '//Show Allow Option for Simple product rules//'(Default value:FALSE) '//Display table for simple product rules'//(Default value:FALSE) and '//Show Allow Option for Simple product rules//'(Default value:FALSE)
- 
- 
-==== Enovia Rules ==== 
- 
-Enovia is a Product Lifecycle Management (PLM) tool whose purpose is to act as a master data system for setting up products.  
- 
-SAP CPQ supports Enovia Rules and can be enabled for users on request (email support). 
- 
-In order to import Enovia Rules into SAP CPQ, an admin user should develop a custom API Interface that will process the data and import it into SAP CPQ.  
- 
-{{:adminhelp:productadministration:products:eno_fin.png|}} 
-  
-In order to support multi-language translations we suggest you save the rule message in the custom table RuleMessags_Translation via the custom API Interface at the moment of import: 
- 
-     * Export message dictionary keys from the custom table RuleMessages_Translation 
-     * Translate them out of SAP CPQ 
-     * Import translation to this table 
- 
-Note that the rules are executed at run time, that is at the moment the user runs a product configuration. The syntax of Enovia rules will be checked at the moment of rule import so syntax errors won’t appear to end users. 
- 
-=== Message Logic === 
-\\ 
-Once the rule has been executed, a rule message will be shown to end users.  
- 
-The rule can be executed by either a user or the system, which is why two types of messages may appear:  
- 
-  - **Info messages** - these messages will be displayed when a rule is executed by the system.  These messages display information about executed rule actions. They do not make the configuration incomplete and will be displayed from the moment their rules are executed until all rules are triggered again.   
-  - **Action messages** - these messages will be displayed when a rule is executed by a user. These messages tell the user what to select/deselect in order to complete the rule logic and make configuration incomplete. These messages are shown when a rule is broken and they are removed as soon as the rule action has been performed. 
- 
-**Message Translation** 
-\\ 
-All Enovia rule messages will be displayed in the English language. 
-\\  
-Product rule messages in SAP CPQ will be translated to the user's language.  
-\\ 
-Translation will be managed in SAP CPQ by the SAP CPQ admin user.  
-\\ 
-If a certain rule message is not translated, that rule message will be displayed in the way it has arrived from Enovia.  
- 
-=== Message Location === 
-\\ 
-Messages will appear in a Responder box //(Figure)//. This is the only place where messages are displayed within product configuration. 
- 
-{{:adminhelp:productadministration:products:resp_fin.png|}} 
- 
-Messages will be translated into the user’s language.   
- 
-Enovia messages will appear in English. The translation of these messages will be managed in SAP CPQ by the central admin. Product managers have the responsibility to detect when new translations are needed and will request form the central admin to export appropriate translations files. Product managers will then organize correct translations of missing texts. After that, the translated file will be sent to the central admin who will import it into SAP CPQ. 
- 
-=== Rules Execution Time in SAP CPQ === 
-\\ 
-Product rules are executed at run time, that is at the moment the user runs product configuration, which includes the following:  
- 
-  - When the user finds product in catalogue 
-  - When the user opens product configuration 
-  - When product configuration is loaded 
-  - Once product configuration has been loaded and rules are executed for the first time, the following rules execution triggers will be any kind of change on product attributes: 
-     * Select\\ 
-     * Deselect\\ 
-     * Disallow\\ 
- 
-=== SAP CPQ Rule Execution Failure === 
-\\ 
-If during rule execution SAP CPQ cannot perform a rule action for any reason, it means one of the following: 
- 
-     * Attribute listed in a rule  cannot be found in loaded product configuration 
-     * Attribute values listed in a rule cannot be found in loaded product configuration 
- 
-The following message will be displayed to the end user: “Rule 'Rule name' cannot be executed. Please contact system administrator.”  
- 
-When a rule cannot be executed, the system will make the configuration incomplete so that the user cannot create a quote or send the product configuration for verification to Enovia. 
- 
-A rule execution error in a product will be solved the following way:  
- 
-  - The user will contact the SAP CPQ admin user  
-  - The admin user will send the following message to Enovia from SAP CPQ: "This product will be demoted in Enovia." 
-  - The SAP CPQ admin can deactivate the product in SAP CPQ if necessary  
-  - If a certain product is deactivated, the user won’t be able to find this configuration in SAP CPQ anymore  
- 
-When a product has been deactivated, its configurations saved in the Favorite section will become invisible to end users.  
-\\ 
-When a product has been deactivated, the user will be able to access quoted configurations and edit them.  
-\\ 
-The message will be translated to the user’s language, except the part related to the name of the rule. The name will not be translated in SAP CPQ, meaning that the system will take the original name of the rule in English. 
-\\  
-All product rules will be loaded in Developer Console so the admin user will be able to debug any of them in case of error.  
- 
-=== Obsolete Features === 
-\\ 
-Attributes in SAP  CPQ won’t have effective dates. 
-\\ 
-As a result, the rule engine does not need to consider effective dates in rule execution. 
- 
-=== Rule Errors === 
-\\ 
-**Syntax error** 
- 
-The rule syntax is checked at the moment of product import. Each product rule will be checked before rules and the entire product are saved in SAP  CPQ. 
-\\ 
-The product will be saved in SAP  CPQ only when all product rules are syntactically correct. 
-\\ 
-Due to the syntax check of each rule, importing the product will not be instant and can take some time, depending on the size of the product data sent.  
-\\ 
-If there is at least one rule with the syntax error, SAP CPQ will return a message about the error found and the product won’t be saved.  
-\\ 
-All product rules will be traced in SAP CPQ Developer Console.  
- 
-{{:adminhelp:productadministration:products:dev_console.png|}} 
- 
-The SAP CPQ administrator will be able to follow up on all product rules and debug rule execution directly in SAP CPQ.  
- 
-=== Forbidden Characters === 
-\\ 
-**Quotation marks (")**  - this character cannot be included in the attribute name, attribute value or any booked word because it would result in rule execution failure. Syntax error also occurs when this sign is missing from rule logic.  
- 
-**Split operator:  Tilde sign “~”** – this character can be present as a variable, as an attribute and/or attribute and its values.  
- 
-**Double colon (::)** - this character cannot be included in either the attribute name, attribute value or any booked word because it would result in rule execution failure.  
- 
-Characters that are not allowed as part of attribute names include the following:  " # $ @ % * , ? \ < > [ ] | : ( ) 
  
You are here: SAP Sales Cloud CPQ Online HelpAdmin Page HelpProduct AdministrationProductsRules Admin