SAP Knowledge Base Article - Public

3615244 - Empty value returns when using API 'othersRatingComment' - Performance Management

Symptom

When API user use the API 'othersRatingComment' to retrieve the user's rating and comment on a performance form, an empty value is returned even though the form user has provided ratings and comments.

Environment

SAP SuccessFactors Performance Management

Reproducing the Issue

1. Sign into the API with an admin API user and run the following query:
http://<api-server>/odata/v2/FormObjective(formContentId=***L,formDataId=***L,itemId=***L,sectionIndex=***)/othersRatingComment?$format=json

2. The request is successful, but the response payload does not contain any records:

{
    "d": {
        "results": [
        ]
    }
}

Cause

The issue may be caused by a lack of permission. The API user does not have the 'Others Rating Tab' permission in the form, which is preventing them from accessing and reading the rating and comment.

Resolution

Verify that the API user has unrestricted access to the 'Others Rating Tab'.

See Also

3382280 - The OData API response is returning an empty value

2661606 - “others-ratingtab-permission” vs “others-ratingtab-item-permission” - Performance Management

Keywords

Form API, othersRatingComment, empty result, empty value, Others rating tab permission, performance form, PM form , KBA , LOD-SF-PM-API , Webservices, OData APIs , Problem

Product

SAP SuccessFactors Performance & Goals all versions