SAP Knowledge Base Article - Public

3117957 - Error When Trying To Access Odata ActivityCollection


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

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


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.


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.


 You should assign the CO_MEMO_WCVIEW to "ABC" user.


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


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