<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: How to add node to custom query in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-add-node-to-custom-query/qaa-p/670874#M175765</link>
    <description>&lt;P&gt;Hi Jakub,&lt;/P&gt;
  &lt;P&gt;you can create the query on your Child (test) node and navigate via the .ToParent association back to the Root(CustomObject) information. &lt;/P&gt;
  &lt;P&gt;hth&lt;/P&gt;
  &lt;P&gt;Thomas&lt;/P&gt;</description>
    <pubDate>Tue, 21 Aug 2018 14:30:55 GMT</pubDate>
    <dc:creator>thomaskenner</dc:creator>
    <dc:date>2018-08-21T14:30:55Z</dc:date>
    <item>
      <title>How to add node to custom query</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-add-node-to-custom-query/qaq-p/670873</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;Is it possible to add node to query(root) for custom object ? &lt;BR /&gt;What i mean: when i create new custom BO, i add the node and two elements to root part.&lt;BR /&gt; &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;import AP.Common.GDT as apCommonGDT;

businessobject CustomObject {

    [AlternativeKey] element ZtestID:testID;
    element Ztest:tets;

    node test [0,n] {
        element Z_test_1:test;
        element Z_test_2:test;
    }

}
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Now i want to create web service with query wich have the root part and the node. Normally i got two diffrent queries, but i want to link them to one query.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/198414-webservice-query.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Or is it maybe possibility like in ABSL: &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;var item : elementsof CustomObject.test;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Aug 2018 08:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-add-node-to-custom-query/qaq-p/670873</guid>
      <dc:creator>Jakub</dc:creator>
      <dc:date>2018-08-21T08:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to add node to custom query</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-add-node-to-custom-query/qaa-p/670874#M175765</link>
      <description>&lt;P&gt;Hi Jakub,&lt;/P&gt;
  &lt;P&gt;you can create the query on your Child (test) node and navigate via the .ToParent association back to the Root(CustomObject) information. &lt;/P&gt;
  &lt;P&gt;hth&lt;/P&gt;
  &lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 14:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-add-node-to-custom-query/qaa-p/670874#M175765</guid>
      <dc:creator>thomaskenner</dc:creator>
      <dc:date>2018-08-21T14:30:55Z</dc:date>
    </item>
  </channel>
</rss>

