RAP: Behavior definition for abstract entity

Hi experts,

A bit of interesting requirement from my side. I was tasked to develop and expose an OData API that calls a few BAPIs to create a few objects in the S4 backend (e.g. sales orders) together with quite a few lines of custom code. Now this would be a trivial task to do in RAP, however the caveat is – that there is no DB layer for custom data – API should literally just accept the data, execute BAPIs and return the BAPI result back to the consumer. 

Since the behavior definition is not allowed for abstract entities, do you have an idea on how this requirement can be realized in a gateway-like style, where I can just define a model for consumer to use, consumer then calls the endpoint with the necessary payload and I take over with behavior definition to execute necessary code?

Thank you,

Ilja.

Scroll to Top