<?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: ABAP CDS table with complex AMDP coding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543904#M20367</link>
    <description>&lt;P&gt;Thanks all for quick respond.&lt;/P&gt;
  &lt;P&gt;after adjusting the code, finally I put return statement into the code below:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94520-p5.png" /&gt;&lt;/P&gt;
  &lt;P&gt;and there is no error for the AMDP procedure any more:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94521-p6.png" /&gt;&lt;/P&gt;
  &lt;P&gt;but when I try to preview the data for the ABAP CDS table, I get following error:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94522-p7.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;can you pleas help how to fix the issue?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I try to debug the code, but I can't put break-point into the code with following error:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94523-p8.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;am I wrong with some concepts or operations?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;finally after run OPEN sql for this ABAP CDS table, I get following error message:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94526-p9.png" /&gt;&lt;/P&gt;
  &lt;P&gt;but compare the data type for the fields of the ABAP CDS table with array types below in the code, I don't find any different, is the error message pointing to other meaning?&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94527-p10.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2017 17:59:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-12-05T17:59:21Z</dc:date>
    <item>
      <title>ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543896#M20359</link>
      <description>&lt;P&gt;Hi Expert,&lt;/P&gt;
  &lt;P&gt; I am trying to create an ABAP CDS table, but I need to do some row-level processing in AMDP implementation, but I don't know how to return the result table variable in this AMDP implementation. the AMDP code as below:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/95542-p1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/95543-p2.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/95544-p3.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/95545-p4.png" /&gt;&lt;/P&gt;
  &lt;P&gt;as above, the final result table variable is VAR_OUT, I want to return this table variable, is it possible? how to code this return statement in AMDP procedure?&lt;/P&gt;
  &lt;P&gt;Many Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 04:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543896#M20359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-05T04:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543897#M20360</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
  &lt;P&gt;Can&lt;A href="https://blogs.sap.com/2015/10/21/abap-news-for-release-750-cds-table-functions-implemented-by-amdp/"&gt; this&lt;/A&gt; help?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543897#M20360</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2017-12-05T06:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543898#M20361</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
  &lt;P&gt;It need to be specified in the AMDP method definition. This can be implicitly for instance from your CDS table function or explicitly in the method definition in the AMDP class. Then use the RETURN statement in the AMDP or popupate the defined export parameter.&lt;/P&gt;
  &lt;P&gt;Check this out: &lt;A href="https://blogs.sap.com/2015/10/21/abap-news-for-release-750-cds-table-functions-implemented-by-amdp/" target="test_blank"&gt;https://blogs.sap.com/2015/10/21/abap-news-for-release-750-cds-table-functions-implemented-by-amdp/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543898#M20361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-05T06:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543899#M20362</link>
      <description>&lt;P&gt;You know you gave the same link I gave?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 07:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543899#M20362</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2017-12-05T07:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543900#M20363</link>
      <description>&lt;P&gt;Also, refer to&lt;A href="https://s3-eu-west-1.amazonaws.com/gxmedia.galileo-press.de/leseproben/3973/reading_sample_sappress_1304_abap_development_for_sap_hana_utm.pdf"&gt; this&lt;/A&gt; (pages 7-9 of the PDF).&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 07:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543900#M20363</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2017-12-05T07:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543901#M20364</link>
      <description>&lt;P&gt;The return value of a CDS table function implemented in AMDP has the&lt;/P&gt;
  &lt;P&gt; "&lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenamdp_function_methods.htm"&gt;type of a standard table is created with an empty table key named result with a structured row type. The components of the row type are determined by the elements of the CDS table function. Their names are used and the ABAP types are derived from their Dictionary types. The row type corresponds to the structured data type, which the CDS table function represents with respect to ABAP&lt;/A&gt;."&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;With other words, inside the procedure it has a tabular type that you can fill in the implementation. What exactly is your problem?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 07:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543901#M20364</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2017-12-05T07:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543902#M20365</link>
      <description>&lt;P&gt;I did not even know there was another reply. I see you beat me with 3 min posting your answer. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;Well, then it must be a good link, right?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 07:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543902#M20365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-05T07:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543903#M20366</link>
      <description>&lt;P&gt;:). It is so good that even the writer of that linked blog answered the question.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 08:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543903#M20366</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2017-12-05T08:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543904#M20367</link>
      <description>&lt;P&gt;Thanks all for quick respond.&lt;/P&gt;
  &lt;P&gt;after adjusting the code, finally I put return statement into the code below:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94520-p5.png" /&gt;&lt;/P&gt;
  &lt;P&gt;and there is no error for the AMDP procedure any more:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94521-p6.png" /&gt;&lt;/P&gt;
  &lt;P&gt;but when I try to preview the data for the ABAP CDS table, I get following error:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94522-p7.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;can you pleas help how to fix the issue?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I try to debug the code, but I can't put break-point into the code with following error:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94523-p8.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;am I wrong with some concepts or operations?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;finally after run OPEN sql for this ABAP CDS table, I get following error message:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94526-p9.png" /&gt;&lt;/P&gt;
  &lt;P&gt;but compare the data type for the fields of the ABAP CDS table with array types below in the code, I don't find any different, is the error message pointing to other meaning?&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/94527-p10.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 17:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543904#M20367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-05T17:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543905#M20368</link>
      <description>&lt;P&gt;What happens if you SELECT with Open SQL.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 18:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543905#M20368</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2017-12-05T18:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543906#M20369</link>
      <description>&lt;P&gt;Thanks Horst, if I understand correctly, I fill the data into corresponding field in AMDP procedure, but still have the issue, which some data type inconsistent between table definition and AMDP code.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 20:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543906#M20369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-05T20:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543907#M20370</link>
      <description>&lt;P&gt;"still have the issue, which some data type inconsistent between table definition and AMDP code."&lt;/P&gt;
  &lt;P&gt;Check the&lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenamdp_hdb_sqlscript_mapping.htm"&gt; mapping tables&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 06:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543907#M20370</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2017-12-06T06:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543908#M20371</link>
      <description>&lt;P&gt;hi horst keller,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I have seen many of ur blogs and I am following of it.Sir I have started using AMDP but only with select statements with joins.I wanted know what all functions does amdp support which are supported in ABAP.Please give me a reference regarding the same.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;thanks &lt;/P&gt;
  &lt;P&gt;Regard's&lt;/P&gt;
  &lt;P&gt;uday&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 15:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543908#M20371</guid>
      <dc:creator>kalakalauday</dc:creator>
      <dc:date>2018-04-01T15:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS table with complex AMDP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543909#M20372</link>
      <description>&lt;P&gt;AMDP isn't implemented in ABAP but in Hana's SQLScript.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;ABAP just manages the procedures, creation, lifetime etc.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;You must read the SQLScript reference. &lt;/P&gt;
  &lt;P&gt;For simple queries you don't need AMDP at all.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 16:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-cds-table-with-complex-amdp-coding/m-p/543909#M20372</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-04-01T16:40:28Z</dc:date>
    </item>
  </channel>
</rss>

