<?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 Converting OData output to csv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388783#M1994564</link>
    <description>&lt;P&gt;Hi there&lt;/P&gt;
  &lt;P&gt;Is there a way to change the OData output to csv? In my idea I change the $format to CSV like this “$format=CSV” and I get a file with csv. Is there a way to program an exit to change the format of the response and to convert the response to a mime file?&lt;/P&gt;
  &lt;P&gt;Regards&lt;BR /&gt;Henning&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 05:23:44 GMT</pubDate>
    <dc:creator>h3n</dc:creator>
    <dc:date>2021-05-28T05:23:44Z</dc:date>
    <item>
      <title>Converting OData output to csv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388783#M1994564</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;
  &lt;P&gt;Is there a way to change the OData output to csv? In my idea I change the $format to CSV like this “$format=CSV” and I get a file with csv. Is there a way to program an exit to change the format of the response and to convert the response to a mime file?&lt;/P&gt;
  &lt;P&gt;Regards&lt;BR /&gt;Henning&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 05:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388783#M1994564</guid>
      <dc:creator>h3n</dc:creator>
      <dc:date>2021-05-28T05:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Converting OData output to csv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388784#M1994565</link>
      <description>&lt;P&gt;from the URL directly it is not possible I believe. But u can read the data and parse as shown below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://ui5.sap.com/#/topic/f1ee7a8b2102415bb0d34268046cd3ea" target="test_blank"&gt;https://ui5.sap.com/#/topic/f1ee7a8b2102415bb0d34268046cd3ea&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 06:13:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388784#M1994565</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2021-05-28T06:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Converting OData output to csv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388785#M1994566</link>
      <description>&lt;P&gt;Thanks for the info but I am not firm with ui5.
If I am not wrong, I need a client for parsing the JavaScript. In my
destination Environment, it should be as simple as possible. Most of the work should be done in ABAP.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 06:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388785#M1994566</guid>
      <dc:creator>h3n</dc:creator>
      <dc:date>2021-05-28T06:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Converting OData output to csv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388786#M1994567</link>
      <description>&lt;P&gt;Hi Henning, &lt;/P&gt;&lt;P&gt;the OData spec allows additional formats:&lt;BR /&gt;&lt;A href="http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752217"&gt;http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752217&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, I'm not aware of any additional formats or extension points&lt;BR /&gt;The old SAP Gateway had an option to specify &lt;STRONG&gt;excel&lt;/STRONG&gt; for $format, but I don't know if this is supported in RAP&lt;BR /&gt;As such, like the real expert and great community member Mahesh has pointed out, you would need to request JSON format, ideally with filters and selects, to make the payload smaller, and then parse it on client side&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 06:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-odata-output-to-csv/m-p/12388786#M1994567</guid>
      <dc:creator>CarlosRoggan</dc:creator>
      <dc:date>2021-05-28T06:45:02Z</dc:date>
    </item>
  </channel>
</rss>

