<?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>Question Re: Failed ATC checks: AMDP and Native SQL in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/failed-atc-checks-amdp-and-native-sql/qaa-p/352437#M19573</link>
    <description>&lt;P&gt;If anyone is landing in this thread after many years, you need to place this in the method implementation, after the ENDMETHOD i.e.:&lt;/P&gt;&lt;P&gt;ENDMETHOD.  "#EC CI_VALPAR&lt;/P&gt;&lt;P&gt;ATC does give you a hint about this, as trying to display the object brings you into the method implementation, not to its definition, but I too tried to place after the respective parameter in the method declaration first &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 18:00:02 GMT</pubDate>
    <dc:creator>tudor_teoteoi</dc:creator>
    <dc:date>2023-06-08T18:00:02Z</dc:date>
    <item>
      <title>Failed ATC checks: AMDP and Native SQL</title>
      <link>https://community.sap.com/t5/technology-q-a/failed-atc-checks-amdp-and-native-sql/qaq-p/352436</link>
      <description>&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;I'm really struggling with ATC checks... I should avoid P1 and P2 messages, but still have several two types of them. &lt;/P&gt;&lt;P&gt;The first one:&lt;/P&gt;&lt;P&gt;Title: CodeProfiler by VF&lt;/P&gt;&lt;P&gt;Message: Unmanaged SQL ...&lt;/P&gt;&lt;P&gt;And it's related to Native SQL (exec sql. endexec. ), which i'm using to create a DB-index on HANA DB. &lt;/P&gt;&lt;P&gt;ATC does not give any hint how to avoid or suppress this message.&lt;/P&gt;&lt;P&gt;The second one:&lt;/P&gt;&lt;P&gt;Title: Low-Perform. Parameter Transfers&lt;/P&gt;&lt;P&gt;Message 1: Parameter contains strings, is passed by VALUE, and is not changed&lt;/P&gt;&lt;P&gt;Message 2: Parameter is an internal table and is passed by VALUE&lt;/P&gt;&lt;P&gt;And it's related to the AMDP method:&lt;/P&gt;&lt;P&gt;    class-methods: free_text_search_amdp "#EC CI_VALPAR &lt;/P&gt;&lt;P&gt;      importing &lt;/P&gt;&lt;P&gt;        value(iv_max_hits) type i                        "#EC CI_VALPAR &lt;/P&gt;&lt;P&gt;        value(iv_where)    type string                   "#EC CI_VALPAR &lt;/P&gt;&lt;P&gt;      exporting
        value(result)      type crmt_cmg_guid            "#EC CI_VALPAR&lt;/P&gt;&lt;P&gt;
      raising
        cx_amdp_error . "#EC CI_VALPAR &lt;/P&gt;&lt;P&gt;In this case ATC says: "The message can be suppressed with pseudo comment "#EC CI_VALPAR". This is what i have tried (as you can see above :-))), but no success. &lt;/P&gt;&lt;P&gt;When i click on the first message it brings me to the line where TMP is filled, when i click on the second one, it navigates me to the line where RESULT is filled. (see the code below).&lt;/P&gt;&lt;P&gt;  method free_text_search_amdp &lt;/P&gt;&lt;P&gt;by database procedure &lt;/P&gt;&lt;P&gt;for hdb &lt;/P&gt;&lt;P&gt;                        language sqlscript &lt;/P&gt;&lt;P&gt;                        options read-only &lt;/P&gt;&lt;P&gt;                        using zscmg_free_textv. &lt;/P&gt;&lt;P&gt;    TMP = APPLY_FILTER(ZSCMG_FREE_TEXTV, :iv_where );&lt;/P&gt;&lt;P&gt;
    RESULT = SELECT TOP :IV_MAX_HITS DISTINCT CASE_GUID FROM :TMP;&lt;/P&gt;&lt;P&gt;
  endmethod.&lt;/P&gt;&lt;P&gt;Please advise, i need to pass the Q-gates somehow... &lt;/P&gt;&lt;P&gt;Thanks, Dima&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/failed-atc-checks-amdp-and-native-sql/qaq-p/352436</guid>
      <dc:creator>dmitry_sharshatkin</dc:creator>
      <dc:date>2016-12-07T17:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed ATC checks: AMDP and Native SQL</title>
      <link>https://community.sap.com/t5/technology-q-a/failed-atc-checks-amdp-and-native-sql/qaa-p/352437#M19573</link>
      <description>&lt;P&gt;If anyone is landing in this thread after many years, you need to place this in the method implementation, after the ENDMETHOD i.e.:&lt;/P&gt;&lt;P&gt;ENDMETHOD.  "#EC CI_VALPAR&lt;/P&gt;&lt;P&gt;ATC does give you a hint about this, as trying to display the object brings you into the method implementation, not to its definition, but I too tried to place after the respective parameter in the method declaration first &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 18:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/failed-atc-checks-amdp-and-native-sql/qaa-p/352437#M19573</guid>
      <dc:creator>tudor_teoteoi</dc:creator>
      <dc:date>2023-06-08T18:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Failed ATC checks: AMDP and Native SQL</title>
      <link>https://community.sap.com/t5/technology-q-a/failed-atc-checks-amdp-and-native-sql/qaa-p/14209896#M4925415</link>
      <description>you are a master, today It was usefull to myselft.</description>
      <pubDate>Sun, 07 Sep 2025 15:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/failed-atc-checks-amdp-and-native-sql/qaa-p/14209896#M4925415</guid>
      <dc:creator>ecarrasco0119</dc:creator>
      <dc:date>2025-09-07T15:39:11Z</dc:date>
    </item>
  </channel>
</rss>

