<?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 fetching  data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data/m-p/12634557#M2013657</link>
    <description>&lt;P&gt;Hi Frnds,&lt;/P&gt;
  &lt;P&gt;i have one requirement &lt;/P&gt;
  &lt;P&gt;i need to fetch FERT Meterial from DDL CDS SQL View and need to pass the FERT meterial to MARA and need to get the meterial group (mara-matkl)..could you please anyone help me in this.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 07:16:25 GMT</pubDate>
    <dc:creator>former_member820770</dc:creator>
    <dc:date>2022-09-20T07:16:25Z</dc:date>
    <item>
      <title>fetching  data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data/m-p/12634557#M2013657</link>
      <description>&lt;P&gt;Hi Frnds,&lt;/P&gt;
  &lt;P&gt;i have one requirement &lt;/P&gt;
  &lt;P&gt;i need to fetch FERT Meterial from DDL CDS SQL View and need to pass the FERT meterial to MARA and need to get the meterial group (mara-matkl)..could you please anyone help me in this.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 07:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data/m-p/12634557#M2013657</guid>
      <dc:creator>former_member820770</dc:creator>
      <dc:date>2022-09-20T07:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: fetching  data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data/m-p/12634558#M2013658</link>
      <description>&lt;P&gt;you can write a CDS query that combines data from both views.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;@AbapCatalog.sqlViewName: 'Z_FERT_MATERIAL_GROUP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view Z_FERT_MATERIAL_GROUP as 
select from mara
inner join (
    select matnr as FERT_MATERIAL 
    from "YOUR_DDL_CDS_SQL_VIEW_NAME"
) as ddl_cds on mara.matnr = ddl_cds.FERT_MATERIAL
{
    matnr,
    matkl as MATERIAL_GROUP
};
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Feb 2023 13:43:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data/m-p/12634558#M2013658</guid>
      <dc:creator>harishankar714</dc:creator>
      <dc:date>2023-02-09T13:43:49Z</dc:date>
    </item>
  </channel>
</rss>

