相关文章推荐

I've got an addon that checks some user permission for system forms. (i.e. does the user have authorization to the Goods Receipt PO) In 9.3, the GetSystemPermission("username", "64") used to return 1 when the user's effective permission was Full Authorization via a group. Now that we've upgraded to 10.0 PL02, it doesn't!! It always returns 3 for No Authorization. Why has this changed? Is there some other way I can get the user's effective authorization to the system permissions? This affects our entire addon!

Thanks,

David

Dear david.wall1 ,

1. Which user is used to login to company database. Is it the same user for which you are trying to retrieve the permissions or a different user?

2. If you are using the different user for login, could you please share the settings:

Administration → System Initialization → Authorizations → General Authorizations → Groups tab

Administration → System Initialization → Authorizations → General Authorizations → User tab

3. What is the value set for "Disable DI API Permission Check" under the assigned group for login user and the user for which you are trying to retrieve the permissions.

Administration → System Initialization → Authorizations → General Authorizations → Groups tab

4. Are you able to reproduce the issue in 10.0 PL03 or above? Kindly help to check it as we are unable to reproduce the same.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

Hi Ankit,

Thanks for your reply.

The user that's being checked, is the current logged in user. The Disable DI API Permission Check authorization is set to No Authorization for all Groups.

As far as I can see in the downloads section, 10.0 PL03 isn't available yet.

Any other suggestions?

Thanks,

David

Dear david.wall1 ,

By 10.0 PL03, I was meant Feature Package 2008.

SAP Business One 10.0 FP 2008 (where FP stands for Feature Package, and 2008 for the year 2020 and the month of August). SAP Business One 10.0 FP 2008 was previously known as SAP Business One 10.0 PL03.

Refer to the Updated Release and Maintenance Strategy for SAP Business One for more information about Feature Packages.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

Hi loh ,

The effective authorization is the highest level of authorization that is applied to the user.

For example:

User U001 is assigned to Group A and Group B for a particular permission item:

U001 Authorization = Read-only
Group A authorization = Full
Group B authorization = None
As a result, the Effective Authorization = max{Read-only, Full, None} = Full.

For more information, you can refer to SAP Business One document from "Help → Documentation → Online Help → Administration → Initializing the system → Authorizations → Authorizations Window".

Also, check what is the value set for "Disable DI API Permission Check" authorization for login user and the user for which you want to get the effective authorization?

Hope it helps!

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

Dear david.wall1 ,

Sorry for the delayed response.

The issue about GetSystemPermission is documented in SAP Note 3276940 . This SAP Note will be released soon.

The issue is supposed to be fixed in Feature Package 2305 of SAP Business One Version 10.0. Be advised that the time-frame is subject to change without any further notice.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

Help! Why Don’t I Get a Notification for My Custom Situation? in Enterprise Resource Planning Blogs by SAP SAP Fiori for SAP S/4HANA – Upgrade Faster – Major shifts in SAP Fiori implementation in Enterprise Resource Planning Blogs by SAP How to Create an Effective SAP Support Case: A Comprehensive Guide in Enterprise Resource Planning Blogs by SAP Environment, Health, and Safety in SAP S/4HANA Cloud Public Edition 2408 in Enterprise Resource Planning Blogs by SAP Highlights of the SAP S/4HANA Cloud Public Edition 2408 Release in Enterprise Resource Planning Blogs by SAP
 
推荐文章