2023 May 03 3:06 PM
Dear Community,
We are working on an Access Control file modification, related to an ABAP CDS Consumption View. Although the logic seems to be ok, the Eclipse IDE does not let me activate the file, referring to a missing closing parenthesis. We tried several syntaxes, nothing seems to be accepted. Please check if you can find any syntax error. Thank you!
Requirements:
1. Check on CompanyCode should be run in every case,
2. Check on BRGRU should run only if _Supplier.AuthorizationGroup is not blank
2023 May 04 2:09 PM
Hi Gergo,
which SAP_BASIS release are we talking about? CDS access control fully supports parenthesis with release 7.52 and newer. On older releases there might be "strange" parser error messages when it comes to the use of parenthesis.
Kind regards
Maurice Rudolph
SAP Development CDS access control
2023 May 04 2:09 PM
Hi Gergo,
which SAP_BASIS release are we talking about? CDS access control fully supports parenthesis with release 7.52 and newer. On older releases there might be "strange" parser error messages when it comes to the use of parenthesis.
Kind regards
Maurice Rudolph
SAP Development CDS access control
2023 May 05 7:42 AM
Hello Rudolph,
thank you for the reply. The current release is 7.50, so that could be the reason. Do you know any workaround for this issue?
Thank you in advance,
Gergő
2023 May 05 7:57 AM
Hi Gergo,
in 7.50 there is no support of parenthesis in CDS access control at all and you need to multiply the conditions.
A and (B or C) = A and B or A and C
Kind regards
Maurice Rudolph
SAP Development CDS access control