Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse ABAP CDS Access Control validation

GergoPerlaki
Explorer
0 Kudos
585

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

1 ACCEPTED SOLUTION

0 Kudos
477

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

3 REPLIES 3

0 Kudos
478

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

0 Kudos
477

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ő

477

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