Skip to Content
0
Former Member
May 02, 2017 at 11:57 AM

oData model operation mode

634 Views Last edit May 27, 2020 at 06:24 PM 2 rev

I am trying to use the Auto operation mode in v2 oData model.

In manifest file I have set the operation mode to "auto" and count mode to "inline".

Then on the gateway side I have added the following:

lv_has_inlinecount = io_tech_request_context->has_inlinecount( ).
IF   lv_has_inlinecount = abap_true.
      DESCRIBE TABLE et_entityset LINES es_response_context-inlinecount.
ENDIF.

But when I fetch the initial data and then sort it I would expect the sorting to happen on the client side but it keeps trigering calls to the backend.

Is there anything else that needs to be set?