Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers