<?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: Fetch and formatting data using CDS with parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-and-formatting-data-using-cds-with-parameter/m-p/12736822#M2020817</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;vishaljha0803&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Please provide a example of input data and output data.&lt;/P&gt;&lt;P&gt;Your description are point me to answer you to repeat selection per where condition, but not sure what you plan to do.&lt;/P&gt;&lt;P&gt;Regards, Fernando Da Rós&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2023 10:02:54 GMT</pubDate>
    <dc:creator>fedaros</dc:creator>
    <dc:date>2023-10-18T10:02:54Z</dc:date>
    <item>
      <title>Fetch and formatting data using CDS with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-and-formatting-data-using-cds-with-parameter/m-p/12736821#M2020816</link>
      <description>&lt;P&gt;Dear experts,&lt;BR /&gt;&lt;BR /&gt;I have a to fetch data from multiple tables and one of the table takes input for one field as an input. I wave to put data into different fields of target based on the value of input filed.&lt;/P&gt;
  &lt;P&gt;e.g. Table TAB field for input is field_input and data field to be retrieved is field_output.&lt;/P&gt;
  &lt;P&gt;Values 'A' and 'B' are variable which will be sent from ABAP program. Query in question is like below&lt;/P&gt;
  &lt;P&gt;Select from TAB where FIELD_INPUT in ( 'A', 'B')&lt;/P&gt;
  &lt;P&gt;{&lt;/P&gt;
  &lt;P&gt;case TAB.FIELD_INPUT&lt;/P&gt;
  &lt;P&gt;WHEN 'A' then FIELD_OUTPT as FIELD_OP1&lt;/P&gt;
  &lt;P&gt;WHEN 'B' then FIELD_OUTPT as FIELD_OP2&lt;/P&gt;
  &lt;P&gt;}&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Could you please provide your valuable input how to achieve it using ABAP CDS as the volume of data is more than 1.5 millions record at a time.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;BR /&gt;Vishal&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 08:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-and-formatting-data-using-cds-with-parameter/m-p/12736821#M2020816</guid>
      <dc:creator>VISHAL_JHA</dc:creator>
      <dc:date>2023-10-18T08:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch and formatting data using CDS with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-and-formatting-data-using-cds-with-parameter/m-p/12736822#M2020817</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;vishaljha0803&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Please provide a example of input data and output data.&lt;/P&gt;&lt;P&gt;Your description are point me to answer you to repeat selection per where condition, but not sure what you plan to do.&lt;/P&gt;&lt;P&gt;Regards, Fernando Da Rós&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 10:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-and-formatting-data-using-cds-with-parameter/m-p/12736822#M2020817</guid>
      <dc:creator>fedaros</dc:creator>
      <dc:date>2023-10-18T10:02:54Z</dc:date>
    </item>
  </channel>
</rss>

