Dear all,
As part of creating authorizations for BEx reports, we created dynamic authorizations on YWBS_ELEM. A custom exit variable was created for this and the code was written in CMOD in such a manner that the report should fetch the list of all Line Managers and their corresponding projects under a particular Project Manager. If the Line Manager is allocated to another project, it will not show his details. Its mapped with the system user ID and the Project id which is YWBS_ELEM. This code is successfully working in DEV environment. We transported all the static and dynamic analysis authorizations and roles into Quality system.
Now in Quality system none of the dynamic authorizations are working. Static authorizations are working as they should.
When I execute a report with a user having dynamic authorization I get a warning You do not have analysis authorization for any char. values of char. YWBS_ELEM
I've checked and compared the analysis authorization, role, the ABAP code and the custom exit variables in Query designer in DEV and QTY systems and they are exactly the same. But I don't understand where is the error.
The details of the error are given below: Please advise.
Diagnosis
You do not have sufficient authorization for the InfoProvider &2.
System Response
When the query is started, the system checks whether you have authorization to access the InfoProvider. This does not involve a detailed data authorization check.
Procedure
Ask the system administrator to give you sufficient authorization for the requested activity and the InfoProvider.
Note that the authorization must be valid for today's date.
Procedure for System Administration
Message Number EYE 007
Value Authorization
InfoProvider ZPS_M20
Value Authorization for Characteristic YWBS_ELEM
Building the buffer...
Building the buffer...
No Authorization for Values
Subselection (Technical SUBNR) 1
Supplementation of Selection for Aggregated Characteristics
No Check for Aggregation Authorization Required
Following Set Is Checked Comparison with Following Authorized Set Result Remaining Set
Characteristic Content in SQL Format
0VTYPE
YWBS_ELEM
0TCAACTVT
0TCAACTVT = '03'
AND 0VTYPE = '010'
AND YWBS_ELEM LIKE *
Characteristic Content in SQL Format
0TCAACTVT I EQ 03
0VTYPE I EQ 001
I EQ 010
YWBS_ELEM I EQ $YWBS_ELEM_CEXIT
I EQ :
Not Authorized Selection is not authorized
All Authorizations Tested
Message EYE007: You do not have sufficient authorization
No Sufficient Authorization for This Subselection (SUBNR)
Following CHANMIDs Are Affected:
324 ( 0VTYPE )
634 ( YWBS_ELEM )
Authorization Check Complete
Thank you.
Regards,
Pavan.