SAP Knowledge Base Article - Public

3117957 - Error When Trying To Access Odata ActivityCollection

Symptom

When trying to access the "ActivityCollection" you receive the following error:

"Not Authorized: Check Authorization Restriction for the User."

Environment

SAP Could for Customer

Reproducing the Issue

1. Go to Administrator work center.
2. Open OData Service Explorer.
3. Select C4COdataapi.
4. Select "ActivityCollection".
5. Go to Test tab and Execute.

Cause

The issue is because ActivityCollection corresponds to "MemoActivity" entity-type in "memoactivity" OData service.
The user "ABC" is not assigned to work center view COD_MEMO_WCVIEW and hence no authorization.

Resolution

 You should assign the CO_MEMO_WCVIEW to "ABC" user.

Keywords

Activity, Collection, OData, Error, Restriction, Authorization , KBA , AP-RC-ODF , OData framework (C4C Only) , How To

Product

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