Symptom
You are creating an external service integration for a custom BO (Business Object), but the service operation QueryByElements only shows elements that resides on the Root Node.
Environment
- SAP Hybris Cloud for Customer
- SAP BusinessByDesign
- SAP Cloud Applications Studio
Reproducing the Issue
-
Log into Cloud Applications Studio.
-
Create External Webservice for a Custom BO.
-
Consume webservice QueryByElements for a Custom Object.
-
The response will only show elements from the Root Node.
Cause
The expected behavior for QueryByElements is that it only returns the Node for which it was triggered. E.g. If you trigger on Root Node, only elements from Root will be returned.
Resolution
Partner should create a custom query that will fetch all the desired nodes and elements.
Keywords
custom webservice; subnodes not returning; , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem
Product
SAP Business ByDesign all versions ; SAP Cloud for Customer core applications all versions