Skip to Content
0

How to handle OData $count request by SMP SDK for Android?

Jan 03, 2017 at 03:39 PM

69

avatar image

Hello, I create android application using SMP SDK for Android that is directly connect to SAP Gateway. I opened online store and try to request OData $count of any entity with this exception:

com.sap.xscript.core.UndefinedException: Property '$count' not found in entity type 'ZCZ_WM_SRV.OutboundDelivery'. at com.sap.xscript.data.StructureType.getProperty(StructureType.java:97) at com.sap.smp.client.odata.online.URLParser.parseURL(URLParser.java:147) at com.sap.smp.client.odata.online.ODataOnlineStrategyAsync$CommunicationListener.onResponseReceived(ODataOnlineStrategyAsync.java:180) at com.sap.smp.client.httpc.HttpConversationManager$ConversationFlow.processResponse(HttpConversationManager.java:1614) at com.sap.smp.client.httpc.HttpConversationManager$ConversationFlow.run(HttpConversationManager.java:1085) at com.sap.smp.client.httpc.HttpConversationManager$DelegatingRunnable.run(HttpConversationManager.java:2148) at java.lang.Thread.run(Thread.java:856)

Could anybody help?

Btw. All other requests (like CRUD operation, filters, medialink etc.) are working. I used new SMP SDK SP14 PL02.

Regards

Jan Rychtar

10 |10000 characters needed characters left characters exceeded

Hello Jan,

Were you able to find solution for your issue?

Regards, JK (Moderator)

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers