cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unexpected work

former_member850950
Discoverer
0 Likes
1,946

I'm building a Fiori app with the ABAP RESTful Application Programming Model (RAP), and I'm getting the error "UNEXPECTED WORD ZC_Supplier " when I try to create the cds Projection view.

Accepted Solutions (0)

Answers (2)

Answers (2)

amangarg1
Contributor

Hi Ali,

Neither CDS entity, nor RAP is available on your S/4 version unfortunately. Hence, the issue.

Thanks,

Aman Garg

former_member850950
Discoverer
0 Likes

Thanks for the response aman garg, please notify me of the RAP installation requirments.

amangarg1
Contributor
0 Likes

RAP is available on S/4 HANA 1909 On Premise system onwards. You can find more details on evolution and availability of Programming Model and all about RAP on below official RAP documentation.

https://help.sap.com/docs/ABAP_PLATFORM_NEW/fc4c71aa50014fd1b43721701471913d/289477a81eec4d4e84c0302...

Thanks,

Aman Garg

amangarg1
Contributor
0 Likes

hi Ali,

I see an incorrect syntax in line#8. Please deactivate this line and then it would work fine.

Thanks,

Aman Garg

former_member850950
Discoverer
0 Likes

thanks for your reply however still facing the same issue when i remove line 8

amangarg1
Contributor
0 Likes

In that case I think it is due to outdated Eclipse version. Because I see "projection" as a text which is a key word, so looks like your ADT version doesn't yet support Projection views.

Thanks,

Aman Garg

amangarg1
Contributor
0 Likes

Also, the keyword 'entity' appears as text. Could you share which S/4 version are you using?

former_member850950
Discoverer
0 Likes

S/4 version

Eclipse Version