<?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: CAP Java: how to pass an array of objects to a CDS function? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/cap-java-how-to-pass-an-array-of-objects-to-a-cds-function/qaa-p/12497504#M4683149</link>
    <description>&lt;P&gt;I got the info from SAP that this is currently not supported.... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;As a workaround they suggest using a string with a separator....&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Chris&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2022 11:17:45 GMT</pubDate>
    <dc:creator>christoffer_fuss</dc:creator>
    <dc:date>2022-07-08T11:17:45Z</dc:date>
    <item>
      <title>CAP Java: how to pass an array of objects to a CDS function?</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-java-how-to-pass-an-array-of-objects-to-a-cds-function/qaq-p/12497502</link>
      <description>&lt;P&gt;Dear SAP community,&lt;/P&gt;
  &lt;P&gt;I am trying to build a function like the one below in CDS:&lt;BR /&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;function getDocuments(objectNumbers: array of String) returns array of Documents;&lt;/CODE&gt;&lt;/PRE&gt;"Documents" here represents a CDS entity. 
  &lt;P&gt;Question: how should I pass the array of objects as parameter in the HTTP request? Array of Strings for example. &lt;/P&gt;
  &lt;P&gt;After some time trying I could not figure it out, seems like complex datatypes are not supported as input parameters. &lt;/P&gt;
  &lt;P&gt;Kind regards,&lt;/P&gt;
  &lt;P&gt;Vsevolod&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 07:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-java-how-to-pass-an-array-of-objects-to-a-cds-function/qaq-p/12497502</guid>
      <dc:creator>former_member708468</dc:creator>
      <dc:date>2022-03-29T07:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Java: how to pass an array of objects to a CDS function?</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-java-how-to-pass-an-array-of-objects-to-a-cds-function/qaa-p/12497503#M4683148</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;m4dbr3w&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; I have the same issue. Did you get any solution for this?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddhant&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 11:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-java-how-to-pass-an-array-of-objects-to-a-cds-function/qaa-p/12497503#M4683148</guid>
      <dc:creator>siddhantkumar_2674</dc:creator>
      <dc:date>2022-07-08T11:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Java: how to pass an array of objects to a CDS function?</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-java-how-to-pass-an-array-of-objects-to-a-cds-function/qaa-p/12497504#M4683149</link>
      <description>&lt;P&gt;I got the info from SAP that this is currently not supported.... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;As a workaround they suggest using a string with a separator....&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 11:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-java-how-to-pass-an-array-of-objects-to-a-cds-function/qaa-p/12497504#M4683149</guid>
      <dc:creator>christoffer_fuss</dc:creator>
      <dc:date>2022-07-08T11:17:45Z</dc:date>
    </item>
  </channel>
</rss>

