cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax Error while implementing basic auth in CDS DCL

VishwanathV
Participant
0 Kudos
644

Hello Experts,

I am implementing basic authorizations for my CDS based data model in RAP. But i am getting syntax error which says Description Resource Path Location Type

Unsupported statement in context of transactional projection view zi_rap_travel_vvish.asdcls /TRL_EN/.adt/acm/dclsources/zi_rap_travel_vvish line 9 ABAP Syntax Check Problem

as shown below.

I need your help to overcome this error.

View Entire Topic
VishwanathV
Participant
0 Kudos

I've found the issue. The error was coming because I was using the projection view (ZC_RAP_TRAVEL_VVISH) instead of cds view entity (ZI_RAP_TRAVEL_VISH) in the access control.

fix-for-the-error-while-implementing-basic-auth.png