Skip to Content
avatar image
Former Member

oData model operation mode

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 12, 2017 at 03:34 AM

    In the UI, can you check if the number of records fetched is same as the inlinecount?

    Add comment
    10|10000 characters needed characters exceeded