<?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>topic Re: SAP OData $select for complex types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-odata-select-for-complex-types/m-p/444353#M13257</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the below Northwind service how can you get a subset of the result by using the combination of both filter and Select&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://services.odata.org/OData/OData.svc/Suppliers?$format=json&amp;amp;$filter=Address/City%20eq%20%27Redmond%27"&gt;Without Select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://services.odata.org/OData/OData.svc/Suppliers?$format=json&amp;amp;$filter=Address/City%20eq%20%27Redmond%27&amp;amp;$select=ID,Address"&gt;With Select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thnaks, Pavan&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 13:54:34 GMT</pubDate>
    <dc:creator>bpawanchand</dc:creator>
    <dc:date>2017-06-20T13:54:34Z</dc:date>
    <item>
      <title>SAP OData $select for complex types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-odata-select-for-complex-types/m-p/444352#M13256</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;currently I have some troubles with my SAP OData Service.&lt;BR /&gt;
I have an entity with three properties:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A key field
with the core type Edm.String&lt;/LI&gt;&lt;LI&gt;Two properties
each has a complex type&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can access the fields of the complex types for $filter and $orderby with
the property name and a / in front of it.&lt;/P&gt;&lt;P&gt;For example:&lt;BR /&gt;
CustomerSet?$filter=AddressData/Email eq 'user@anydomain.de'&lt;/P&gt;&lt;P&gt;But if I try the same with $select I receive the following error:&lt;BR /&gt;
"The URI is violating the construction rules defined in the Data
Services specification"&lt;/P&gt;&lt;P&gt;I couldn’t find any information if the $select parameter supports complex
types,&lt;BR /&gt;
Does anyone now a solution for this problem?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Philipp&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 12:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-odata-select-for-complex-types/m-p/444352#M13256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-20T12:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAP OData $select for complex types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-odata-select-for-complex-types/m-p/444353#M13257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the below Northwind service how can you get a subset of the result by using the combination of both filter and Select&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://services.odata.org/OData/OData.svc/Suppliers?$format=json&amp;amp;$filter=Address/City%20eq%20%27Redmond%27"&gt;Without Select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://services.odata.org/OData/OData.svc/Suppliers?$format=json&amp;amp;$filter=Address/City%20eq%20%27Redmond%27&amp;amp;$select=ID,Address"&gt;With Select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thnaks, Pavan&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:54:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-odata-select-for-complex-types/m-p/444353#M13257</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2017-06-20T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAP OData $select for complex types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-odata-select-for-complex-types/m-p/444354#M13258</link>
      <description>&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;thanks for the fast answer. &lt;/P&gt;&lt;P&gt;But the problem with the Northwind Service is the same. It is not possible to select only one field from Address.&lt;BR /&gt;If I change your URL to Address/City I receive an error.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://services.odata.org/OData/OData.svc/Suppliers?$format=json&amp;amp;$filter=Address/City%20eq%20%27Redmond%27&amp;amp;$select=ID,Address/City"&gt;With Adress/City Select&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Philipp&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-odata-select-for-complex-types/m-p/444354#M13258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-20T14:47:11Z</dc:date>
    </item>
  </channel>
</rss>

