Symptom
- The Territory Management Rules table in the UI displays incorrect state values for certain rules (for example, a rule for one country appears to show states from another).
- When the state link is opened for the same rule, the assigned states differ from what the table displays.
- The behavior is observed across the Territory Rules UI and reproducible in different tenants.
- An Excel download of the rules shows the correct data.
Environment
- SAP Cloud for Customer
Reproducing the Issue
- Go to Sales work center and navigate to the Realignment Runs work center view.
- Open Territory Management Rules and then Maintain Territory Rules.
- Locate a rule for a specific country (for example, Canada).
- Observe that the table and filters display states from another country.
- Click the state link of the rule and compare with the values shown in the popover.
- Download the rules to Excel and compare the same row to see the correct state assignments.
Cause
- UI rendering limitation caused by unsupported/complex cell formatting in the decision table values (for example, mixing discrete values and range notation in a single cell such as “29; [31..35]”).
- Additional formatting issues like stray characters (for example, quotes) and invalid code formats (for example, missing leading zeros) can offset descriptions and lead to mismatches in the table display.
- Very complex expressions may not be renderable in the table and can appear blank, although the underlying data is correct.
Resolution
- Download the Territory Management Rules to Excel.
- Identify cells in rule columns (for example, State, District, Postal Code) that mix discrete values with range notation (for example, “value1; [x..y]”) or contain stray tokens (for example, extra quotes) or invalid codes (for example, missing required leading zeros).
- Normalize values so each cell uses a supported format:
- Do not mix discrete values and range notation in the same cell.
- Prefer expanding ranges into discrete values (for example, replace “29; [31..35]” with “29; 31; 32; 33; 34; 35”).
- Remove junk characters and correct code formats (for example, ensure required leading zeros).
- Save the corrected Excel, upload the rules, and activate them.
- Re-validate in the UI and via a fresh Excel download; use Excel as the source of truth for complex entries that cannot be rendered in the table.
- For large rule sets, prefer Excel download/upload over browser editing; perform changes in a test environment first and move to production only after successful activation.
See Also
Keywords
territory management rules, c4c, ui table mismatch, wrong states displayed, state column, code list description, decision table, range notation, include list, postal code rendering, excel upload, excel download, brf, metadata offset, table display issue , KBA , LOD-CRM-BRF , C4C BRF Configuration , LOD-CRM-TM , Territory Management , LOD-CRM-SRP , Service Request Processing , Problem
Product
SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions
SAP Knowledge Base Article - Public