I'm trying to use the Restful ABAP Programming model (RAP) to cover the following use-case:
- Data is received with field a, field b, field c and field d
- Logic is executed to transform the inbound structure to the db structure (field x and y)
- Data is saved
- After save further actions are executed
Is this even possible? Seems like the projection view must be a subset of the db fields. I couldn't find a way to define additional inbound fields, or even map one field name to another.
Is it correct that RAP can only really expose CRUD for the very same CDS fields that are refering to DB fields?