<?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 Using CDS Table function/AMDP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cds-table-function-amdp/m-p/12106533#M1973168</link>
    <description>&lt;P&gt;Hi Experts&lt;/P&gt;
  &lt;P&gt;I have created a CDS cube which has Company Code and GL Account as dimensions and EndingBalance as Measure. Now we need one more field called Average Monthly balance(which is calculated using a SAP Standard ABAP FM). To do it at the database level is it possible to wrap this as a CDS Table function implemented using AMDP method. If so can you direct me to sample code snipped where we call the ABAP FM Inside the AMDP Method.&lt;/P&gt;
  &lt;P&gt;(I did look up similar queries but did not find anything that had a code snippet for calling an ABAP FM. If there is one and i have missed it pls to post the link). Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 16:20:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-10-21T16:20:23Z</dc:date>
    <item>
      <title>Using CDS Table function/AMDP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cds-table-function-amdp/m-p/12106533#M1973168</link>
      <description>&lt;P&gt;Hi Experts&lt;/P&gt;
  &lt;P&gt;I have created a CDS cube which has Company Code and GL Account as dimensions and EndingBalance as Measure. Now we need one more field called Average Monthly balance(which is calculated using a SAP Standard ABAP FM). To do it at the database level is it possible to wrap this as a CDS Table function implemented using AMDP method. If so can you direct me to sample code snipped where we call the ABAP FM Inside the AMDP Method.&lt;/P&gt;
  &lt;P&gt;(I did look up similar queries but did not find anything that had a code snippet for calling an ABAP FM. If there is one and i have missed it pls to post the link). Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 16:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cds-table-function-amdp/m-p/12106533#M1973168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-10-21T16:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using CDS Table function/AMDP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cds-table-function-amdp/m-p/12106534#M1973169</link>
      <description>&lt;P&gt;You cannot call an FM inside an AMDP. Rewriting the code in hana SQL inside the AMDP is the only option.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 18:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cds-table-function-amdp/m-p/12106534#M1973169</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2019-10-21T18:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using CDS Table function/AMDP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cds-table-function-amdp/m-p/12106535#M1973170</link>
      <description>&lt;P&gt;Hello &lt;A href="https://answers.sap.com/users/241953/meeracorera.html"&gt;Meera R Corera&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;CDS functionalities are part of Database layer, their purpose is to reflect the definition of an SQL View.&lt;/P&gt;&lt;P&gt;An ABAP FM belongs to the application Layer.&lt;/P&gt;&lt;P&gt;Hence it is not possible to for a database layer to call the FM from application layer.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 03:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cds-table-function-amdp/m-p/12106535#M1973170</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2019-10-22T03:53:58Z</dc:date>
    </item>
  </channel>
</rss>

