SAP Knowledge Base Article - Public

2431981 - Territory Rule for Accounts not Working Due to Validity

Symptom

You set up territory rules to derive the territory for accounts.

On deriving an account territory, you receive an error message and the territory is not populated.

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

  1. Go to Customers work center.
  2. Go to Accounts view.
  3. Open account ID XYZ (XYZ represents the ID of the account).
  4. Press Actions -> Derive Territory.

Result: You receive the error message "No territory could be derived for this account" and territory field is not populated.

Cause

One possible cause are entries in fields Rule Valid From and Rule Valid To on the territory rule.

The rule engine searches for the exact values maintained in fields Rule Valid From and Rule Valid To. Those fields do not correspond to a time a range for the rule, but to an exact validity.

Resolution

Remove these two columns via Adapt Columns or use in the "Select Operator" field "Greater or equal to" for the column "Rule Valid From" and "Less or equal" in the column "Rule Valid To".

Keywords

KBA , LOD-CRM-ACC , Account , How To

Product

SAP Cloud for Customer 1211 ; SAP Cloud for Customer 1302 ; SAP Cloud for Customer 1305 ; SAP Cloud for Customer 1308 ; SAP Cloud for Customer 1311 ; SAP Cloud for Customer 1402 ; SAP Cloud for Customer 1405 ; SAP Cloud for Customer 1408 ; SAP Cloud for Customer 1411 ; SAP Cloud for Customer 1502 ; SAP Cloud for Customer 1505 ; SAP Cloud for Customer 1508 ; SAP Cloud for Customer 1511 ; SAP Cloud for Customer 1602 ; SAP Cloud for Customer core applications 1305 (old) ; SAP Cloud for Customer core applications 1308 (old) ; SAP Cloud for Customer core applications 1311 (old) ; SAP Cloud for Customer core applications 1402 (old) ; SAP Cloud for Customer core applications 1405 (old) ; SAP Cloud for Customer core applications 1408 (old) ; SAP Cloud for Customer core applications 1411 (old) ; SAP Cloud for Customer core applications 1502 (old) ; SAP Cloud for Customer core applications 1505 (old) ; SAP Cloud for Customer core applications 1508 (old) ; SAP Cloud for Customer core applications 1511 (old) ; SAP Cloud for Customer core applications 1602 (old) ; SAP Cloud for Customer core applications 1605 (old) ; SAP Cloud for Customer core applications 1608 (old) ; SAP Cloud for Customer core applications 1611 (old) ; SAP Cloud for Customer core applications 1702 (old) ; SAP Cloud for Customer core applications 1705 (old) ; SAP Cloud for Customer, core applications 2.0 (old) ; SAP Cloud for Sales 3.0 ; SAP Hybris Cloud for Customer 1605 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1611 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer add-ins 1705 ; SAP Hybris Cloud for Customer add-ins 1711 ; SAP LE APPLICATIONPLATFORM 1.0 ; SAP LE APPLICATIONPLATFORM 1.5 ; SAP Sales OnDemand 1.0 ; SAP Sales OnDemand 2.0 ; SAP Sales OnDemand 4.0