on 2024 Feb 02 1:40 AM
Hi,
Referring to this post https://community.sap.com/t5/enterprise-resource-planning-q-a/check-user-permission-on-form-type-for...
The original post was on 2007,
I need to use this method to check for current user form permission for my own form (NOT system form).
But I always get a 'Full' license.
var license = SBO_Application.Company.GetFormLicenseStatus("MyFormType");
Even when passing a non-existent formtype, it still returns FULL.
Anyone knows how to use this method correctly?
Regards
Edy
Request clarification before answering.
Hi,
I thought I leave my workaround here for others who may need.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear edy_simon,
If you want to get the correct permission, you need to set "Disable DI API Permission Check" with "No authorization" for the login user.
Kindly refer to SAP Note 2108119 for the steps and more details.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankit,
Thank you. I fully understand the logic behind the Disable DI API Permission Check.
Maybe i should re-phrase my question.
When a user is given Disable DI API Permission check, is there anyway to check the base permission?
Ie. Permission for 'Permission A' is No Authorization.
When we use the GetSystemPermission, it will return 'FULL' this is expected.
Is there anyway we can get the 'No Authorization' as set on the screen.
Regards
Edy
Dear edy_simon,
Refer to SAP Note 1756928 for the same.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
130 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.