SAP Knowledge Base Article - Public

2671371 - QueryByElements on Custom Object Missing Subnodes


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.


  • SAP Hybris Cloud for Customer
  • SAP BusinessByDesign
  • SAP Cloud Applications Studio

Reproducing the Issue

  1. Log into Cloud Applications Studio.
  2. Create External Webservice for a Custom BO.
  3. Consume webservice QueryByElements for a Custom Object.
  4. The response will only show elements from the Root Node.


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.


Partner should create a custom query that will fetch all the desired nodes and elements.


custom webservice; subnodes not returning; , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem


SAP Business ByDesign all versions ; SAP Cloud for Customer core applications all versions