cancel
Showing results for 
Search instead for 
Did you mean: 

CDS Projection View parameters not allowed

AbhishekSharma
Active Contributor

Accepted Solutions (0)

Answers (3)

Answers (3)

MioYasutake
Active Contributor

@AbhishekSharma 

The error indicates that parameters are not permitted in CDS views intended for transactional processing. If this is a read-only scenario, consider removing the 'root' keyword from the view definition.

axel_brke3
Participant
0 Kudos

I have the same issue and saw your post.

Could you please elaborate? When I define a Projection View ADT forces me to use the root keyword. 

Your help ist greatly appreciated!

cesar_gr
Participant
0 Kudos

Hi 
the another way is use only a cds view without projection in your case you could be use directly ZI_EWM_OUTBDELIV_DET CDS view. this cds can be used to create a List page fiori elements app with both parameters like obligatory fields

best Regards!

axel_brke3
Participant
0 Kudos
This is what we are doing. But then I don't understand the use of projection views if I cannot use them in all cases. E.g. we use Parameters a alot because they allow more control in terms of performance so we don't use projection views so far. I cannot really grasp the concept here
c_gutierrez_stk
Newcomer
0 Kudos

Hi.

this is because the new CDS entity view not supports parameters on projection cds views. 

in sap documentation you will find this   

c_gutierrez_stk_0-1730345624801.png

the only one cds view entity that supports parameters is the analytical query

Regards