Skip to Content
0

oData model operation mode

May 02, 2017 at 11:57 AM

183

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Krishna Kishor Kammaje
May 12, 2017 at 03:34 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

The problem was with the threshold not being set on the UI

0