Symptom
While trying to upload a rule set, you get the error "Rule set too large/complex to compute | Please reduce/simplify rule set and try again".
The same issue can happen for any rule set: territory routing rules are being used as example here.
Environment
SAP Cloud for Customer
Reproducing the Issue
The issue is reproducible with different BRF+ Rule Sets in the system, we will use Territory Management Rules as example.
- Go to the Administrator work center.
- Select the Sales and Campaign Settings view.
- Select Territory Management Rules.
- Click on Actions > Activate Rules.
Two error messages are shown: "Rule set too large/complex to compute | Please reduce/simplify rule set and try again"
However, the rule set is very simple.
Cause
There is a limitation with regard to the "delta handling" in Rule sets. This sometimes leads to unexpected errors such as the "Rule set too large/complex to compute" error.
Resolution
To overcome this please try the following (below example uses the Territory Management Rules, the same can be done for other rule sets):
- Navigate to the Rule set, for example: Administration work centre > Sales and Campaign Settings > Territory Management Rules
- Make sure you have a backup of your rules (e.g. in xls)
- Delete all the existing rules and activate this in the UI.
- Close the UI called "Maintain territory rules"
- Have your xls prepared containing all your rules
- Re-open the UI "Maintain territory rules" and make sure the list is empty and Active!!
- Upload the file from step 4. Note that this takes quite a moment.
- Once the upload is done the count shows (10.000). Do not get confused about this! The number is wrong. It is a known UI limitation, but the upload of rules can definitely handle more than 10.000 rules, the UI just does not show more.
- Activate all your rules.
- Close the UI.
See Also
KBA 2893833 - Error Message "Rule set too large/complex to compute" Is Shown Even for Simple Rules
Keywords
Routing Rules, Rules, BRF, Territory Management Rules, , KBA , LOD-CRM-TM , Territory Management , Problem