SAP Knowledge Base Article - Public

3724528 - Sales area not allowed for relationship category

Symptom

When adding a new relationship of any category e.g. "Payer" or "Has the Payer" / "Is the Payer of", the system throws the below error message:

  • Sales Area not allowed for relationship category Payer.


This error can happen for any relationship category.

Environment

  • SAP Cloud for Customer
  • SAP Cloud Applications Studio

Reproducing the Issue

  1. Navigate to Customers Work Center.
  2. Open Accounts View.
  3. Search and open the account.
  4. Click on the Edit button.
  5. In the Overview tab, go to the Relationships area.
  6. Click on the Add button.
  7. Attempt to add a Business Partner with Relationship Type as "Has the Payer".
  8. Click on Save.
  9. Observe the error message: "Sales Area not allowed for relationship category Payer".

Cause

In Business Configuration > Overview, within the activity "General Business Partners" > Maintain Relationships, the Payer party with has the Sales Area Dependency checkbox unchecked.

Also, there might be a PDI script logic written in ABSL that fills out the Sales Data details of the new relationship which does not allow a sales area.

Resolution

Given the situation that the relationship does now allow to have a Sales Area Dependency and there is a PDI script which attempts to assign the sales area for the relationship, there are two options:

  1. Check the Sales Area Dependency checkbox of the affected relationship in the fine-tuning activity "General Business Partners" > Maintain Relationships.
  2. To add a validation on the PDI script logic to verify if a sales area is allowed for the relationship.

Keywords

PDI, SDK, Sales Area not allowed for relationship category, sales area dependency, relationship category, maintain relationships , KBA , LOD-CRM-ACC , Account , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem

Product

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