cancel
Showing results for 
Search instead for 
Did you mean: 

SAP B1 service layer authorization

0 Kudos
1,452

Hello, i want to know if we set authorizations in sap b1 fat client to a user, for example i set business partners authorization to "No Authorization" to one of the users, and if i login with that user i am not able to open business partners page, however i also want this authorization to be applied in service layer queries, is it possible?

I tried but it doesn't seem to be working, i just wanted to be sure if i am not doing a wrong thing.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Trinidad
Product and Topic Expert
Product and Topic Expert

Hi Kivanc,

Service Layer authorizations follows the same restrictions as B1 client does.
If you try to access an object without authorization you will get an error:
GET /b1s/v1/Orders
{
"error": {
"code": -3000,
"message": {
"lang": "en-us",
"value": "The logged-on user does not have permission to use this object."
}
}
}

Please check if you user is not a super-user, in that case restrictions don't apply.

Regards,
Trinidad.

0 Kudos

Thanks for the answer, i guess i set wrong authorizations before , after i set "No Authorization" to everything then i saw the error message.

Answers (0)