Skip to Content

What does the XSODATA service return to the client after executing a custom exit on POST/UPDATE?

Hi everyone,

we have a SAPUI5 hybrid application connected to our HANA implementation via the SAP Mobile Services.

On out HANA system, we have an XSODATA that are exposing some HANA Views.

Those views have custom exits on DELETE/POST/UPDATE. After the custom exit, I assumed that XSODATA would re-do the READ on the same View to give back to the client the updated record with all the Join specified in the View.

I'm saying that because I'm comparing the JSON returned by the custom exit response to the one done accessing the view in read (with an HTTP GET)

It seems that the default behavior is not like that so my questions are:

  1. Are my assumptions correct? The XSODATA is not executing the READ on the view again?
  2. How can I specify to XSODATA that it must do it?

Best regards, Emanuele.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 26, 2018 at 02:22 PM

    No, the view data will not be read when a POST/PUT/DELETE is done. You can also not configure that. You have to do GET request to get back the data.


    Add comment
    10|10000 characters needed characters exceeded