SAP Knowledge Base Article - Public

2358527 - The Workflow Rule to Derive the Territory for an Account Automatically When Updating Sales Data is Not Working

Symptom

A workflow rule to derive the territory for an account automatically on every save was set up. After updating the sales data, the territory is not updated according to the maintained territory rules.

Environment

SAP Cloud for Customer

Reproducing the Issue

Pre-Requisite:

Territory Rules that assign a territory to an account based on sales data (e.g. Sales Group).

Setting up the workflow rule:

  1. Go to the work center Administrator.
  2. Select the view Workflow Rules.
  3. Click on the hyperlink New.
  4. Enter a name for the workflow rule in the field Description.
  5. Select the value Account from the dropdown list in the field Business Object.
  6. Select the value On Every Save from the dropdown list in the field Timing.
  7. Click the button Next until Step 3: Define Actions.
  8. Select the value Action from the dropdown list in the field Rule Type.
  9. Select the value Derive Territories from the dropdown list in the field Select Action.
  10. Click the button Next.
  11. Click the button Activate.
  12. Click the button Finish.

Reproducing the issue:

  1. Go to the work center Customers.
  2. Select the view Accounts.
  3. Find and open account ABC (ABC represents the name of the account).
  4. Select the facet Sales Data.
  5. Click on the button Edit.
  6. Click on the icon Value Selection in the field Sales Group.
  7. Select sales group XYZ (XYZ represents the name of the sales group).
  8. Click the button Save.

The territory was not updated.

Cause

A sales data update (e.g. sales group update) will not lead to a save of the business object Customer.

Resolution

This is an expected system behaviour. As a work around ,you can create the same workflow on the Business object Sales Data which stores the Account sales data .
Workflow on the Sales data business object  also supports the Derive territory action.

Keywords

Derive territory; Workflow;  Account; , KBA , LOD-CRM-WKF , Workflow , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions