<?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: Issue with tree structure in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaa-p/11544357#M4302471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am closing this post as i found that only one parent child root could be possible in odata. Though it could be done by creating many entity_sets with navigation and association property, my tree structure is dynamic as there is no fixed depth level of a tree structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gowtham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 12:01:34 GMT</pubDate>
    <dc:creator>GowthamRaja</dc:creator>
    <dc:date>2016-03-23T12:01:34Z</dc:date>
    <item>
      <title>Issue with tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaq-p/11544354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Hi Experts,&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I have created a SAPUI5 application which mock json data, the master page is in tree structure as shown in image, image1 which is working fine.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/910574" width="450" /&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/910575" height="425" width="283" /&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;The excel sheet snapshot is my mock json representation, using this data only i am creating my mock json.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/910576" height="192" width="758" /&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Now the same application has to be build using odata service as backend(without using mock json data). How could i able to give my master page view as a tree structure in a odata service. Please guide me and help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 11:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaq-p/11544354</guid>
      <dc:creator>GowthamRaja</dc:creator>
      <dc:date>2016-03-17T11:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaa-p/11544355#M4302469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gowtham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar scenario and considered two options.&lt;/P&gt;&lt;P&gt;1- To create a SICF json service using regular REST classes and convert ABAP to json. (No Gateway here)&lt;/P&gt;&lt;P&gt;2- Send data to frontend as a regular OData query. In each row have a column to indicate the parent ID. Now at client side, write a piece of js code to convert this data into hierarchical json.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went with the second option, as I was not too familiar with creating JSON from Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 17:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaa-p/11544355#M4302469</guid>
      <dc:creator>kammaje_cis</dc:creator>
      <dc:date>2016-03-17T17:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaa-p/11544356#M4302470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will discuss with front end developer reg this and come back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 08:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaa-p/11544356#M4302470</guid>
      <dc:creator>GowthamRaja</dc:creator>
      <dc:date>2016-03-18T08:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaa-p/11544357#M4302471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am closing this post as i found that only one parent child root could be possible in odata. Though it could be done by creating many entity_sets with navigation and association property, my tree structure is dynamic as there is no fixed depth level of a tree structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gowtham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 12:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-tree-structure/qaa-p/11544357#M4302471</guid>
      <dc:creator>GowthamRaja</dc:creator>
      <dc:date>2016-03-23T12:01:34Z</dc:date>
    </item>
  </channel>
</rss>

