SAP Knowledge Base Article - Public

3001998 - [COE0020] You don't have permission to view the Successor entity

Symptom

  • API Requests gets below error when trying to query 'Successor' or 'SFOdata.Successor' Entity directly.

Sample Query : https://<api_endpoint>/odata/v2/Successor

Error : 

<code>COE_GENERAL_FORBIDDEN</code>
<message lang="en-US">[COE0020]You don't have permission to view the Successor entity</message>
 
OR
  • Error when trying to create an Integration Center with start entity 'Successor'

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SAP Successfactors HXM Core
    • Odata API
    • Integration Center

Cause

This is standard and/or expected behavior of Successor Entity. You can't query the basic information of Successor by using this entity directly.

See Guide : SAP SuccessFactors HXM Suite OData API: Reference Guide

Resolution

You can only query it by expanding the navigation properties successorNav of the following entities: 

  • LegacyPositionEntity
  • Position
  • TalentPool,

and 

  • NominationTarget

 

Use Case: Query Basic Information of Successor

Request

Operation

Query

HTTP Method

GET

URI

  • (For MDF positions only) https://<API-Server>/odata/v2/Position?$format=json&$expand=successorNav
  • (For legacy positions only) https://<API-Server>/odata/v2/LegacyPositionEntity?$format=json&$expand=successorNav

See Also

Succession Permissions

Keywords

COE0020 COE_GENERAL_FORBIDDEN , You don't have permission to view the Successor entity,  , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-SCM-API , Webservices & APIs , How To

Product

SAP SuccessFactors HCM Core all versions