Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.