cancel
Showing results for 
Search instead for 
Did you mean: 

CAP: Entity is annotated with @Sap.persistence.skip and cannot be served generically. (POST/PUT)

arthurgeeraert
Explorer
0 Kudos

Hi CAP experts

Im trying to use a post (patch,put,delete) in my .http file but I am getting 501 (not implemented): Entity is annotated with @Sap.persistence.skip and cannot be served generically as an error. When I do a post/put in postman it works fine, but in my cap application it doesn't. microsoftteams-image-1.png

I think I need to write a handler for create/update but I can not find a good example for a simple create handler because in every example I have faced, the crud operations worked just fine without an implementation of a handler.

Does someone have a good example for a good .on handler (create/update) or a solution to solve the sap.persistence.skip error so I don't need to write one.

Thanks in advance

Best regards

Arthur

View Entire Topic
gregorw
Active Contributor
0 Kudos

Please work through the documentation Consuming Services