‎2024 Jul 24 5:05 AM - edited ‎2024 Jul 24 5:07 AM
Hello
I am currently publishing an OData API that queries data through RAP Managed Query.
It was working well, but customer requirements added a business scenario in which data was added to a specific CBO table when certain privileged users READ data.
After reviewing the lifecycles of the RAP to use the feature, we conclude that MANAGED QUERY does not have any special events to deal with it.
So I'm trying to change the existing query to UNMANAGED Query to implement this, but there was a problem.
Currently, our BO is not directly bound to the service, but binding through the projection view.
Problem is I'm trying to replace Root Entities with Custom Entities, so Custom Entities do not allow projection views!!
Because projection views are not allowed, deleting entire projection structures and changing them to use custom entities directly will require a huge number of code changes and likely have negative side effects.
So.. is there another way to projection this custom entity through "AS Projection On [custom entity]" < grammar?
Or, is there a separate callback that allows me to perform my custom logic after a read event occurs to use managed queries as they are?
Best regards
ABAP RESTful Application Programming Model
@
Request clarification before answering.
No, this is not possible. Custom entities do not support projections on top.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.