Hi all,
We have migrated a BW 3.5 system to BI 7.0 EHP1. We have started to check the queries and we have an authorization error.
Our user ZTESTBW01 only can access two countries from our customer, so it has assigned two different roles:
- ZCOUNTRY1
-ZCOUNTRY2
Inside each role we have the object S_RS_AUTH with one value each:
- ZBW1
-ZBW2
Each authorization value has authorization values for characteristics 0COMP_CODE, 0SALESORG and 0PLANT correspondent to the two countries.
When we execute the query in RSECADMIN transaction with the user with the two roles assigned, we get the 'No authorization' error. (the query only asks for the calendar month and the company code and sales organization)
The log shows us these:
/***********************************************************************************************************************************
Following Set Is Checked Comparison with Following Authorized Set Result Remaining Set
Characteristic Content in SQL Format
0PLANT
0SALESORG
0TCAACTVT
0COMP_CODE
0COMP_CODE = '5200'
AND 0PLANT IN ('#','5121','5122','5223')
AND 0SALESORG = '5200'
AND 0TCAACTVT = '03'
Characteristic Content in SQL Format
0COMP_CODE I EQ #
I EQ 5200
I EQ :
0PLANT I EQ 5223
I EQ :
0SALESORG I EQ #
I EQ 5200
I EQ :
0TCAACTVT I EQ 02
I EQ 03
Partially or Fully Authorized (Intersection) Characteristic Content in SQL Format
0PLANT
0SALESORG
0TCAACTVT
0COMP_CODE
0COMP_CODE = '5200'
AND 0PLANT IN ('#','5121','5122')
AND 0SALESORG = '5200'
AND 0TCAACTVT = '03'
Value selection partially authorized. Check of remainder at end
Following Set Is Checked Comparison with Following Authorized Set Result Remaining Set
Characteristic Content in SQL Format
0PLANT
0SALESORG
0TCAACTVT
0COMP_CODE
0COMP_CODE = '5200'
AND 0PLANT IN ('#','5121','5122')
AND 0SALESORG = '5200'
AND 0TCAACTVT = '03'
Characteristic Content in SQL Format
0COMP_CODE I EQ #
I EQ 5200
I EQ :
0PLANT I EQ 5223
I EQ :
0SALESORG I EQ #
I EQ 5200
I EQ :
0TCAACTVT I EQ 02
I EQ 03
Not Authorized
Following Set Is Checked Comparison with Following Authorized Set Result Remaining Set
Characteristic Content in SQL Format
0PLANT
0SALESORG
0TCAACTVT
0COMP_CODE
0COMP_CODE = '5200'
AND 0PLANT IN ('#','5121','5122')
AND 0SALESORG = '5200'
AND 0TCAACTVT = '03'
Characteristic Content in SQL Format
0COMP_CODE I EQ #
I EQ 5100
I EQ :
0PLANT I EQ #
I EQ 5121
I EQ 5122
I EQ :
0SALESORG I EQ #
I EQ 5100
I EQ :
0TCAACTVT I EQ 02
I EQ 03
Not Authorized
All Authorizations Tested
Message EYE007: You do not have sufficient authorization
No Sufficient Authorization for This Subselection (SUBNR)
Following CHANMIDs Are Affected:
102 ( 0COMP_CODE )
38 ( 0PLANT )
37 ( 0SALESORG )
Authorization Check Complete
/******************************************************************************************************************
Do you have any idea of why is it making the intersection of values this way??
Thank you!!
Go to transaction RSCUSTV23 and make sure the new Authorization method is not in place. If it is, change it to the "old" one and try again...
You should consider moving to the new concept now that you migrated...
Hi,
Thank you for your answer, the fact is that we are trying to use the new authorization concept, but I have changed to the old authorization concept and it works.
Could you tell me what can be missing? It is required the creation of any additional authorization or any modification in the query for the new authorization concept?
Many thanks!
I'm not a Security expert, but I know you use transaction RSECADMIN to maintain it in the new model... You have to create Analysis Authorizations for your security objects, like company code (yes, you still need to check them as security relevant), then you assign those analysis authorizations, single or combinations of them to each user or user group...
The old RSR approach won't work anymore, only these analysis authorizations... Sorry I can't give you more details...
Please, check here http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm, under "Business Intelligence Overview", "Security".