<?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: AMDP method call error in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815281#M4812356</link>
    <description>&lt;P&gt;Please attach the short dump. Also debug/catch the error to see the exception details.&lt;/P&gt;&lt;P&gt;You are posting code concerning CNDP errors, it means a SAP GUI error, so it's not related to AMDP.&lt;/P&gt;&lt;P&gt;If it's ABAP Trial 7.52 SP01/04 Developer Edition, the database is Sybase, not HANA, so it's normal.&lt;/P&gt;</description>
    <pubDate>Sun, 24 Dec 2023 19:22:29 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2023-12-24T19:22:29Z</dc:date>
    <item>
      <title>AMDP method call error</title>
      <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaq-p/12815280</link>
      <description>&lt;P&gt;Hey experts,&lt;/P&gt;
  &lt;P&gt;I checked other answers and can't resolve my issue.&lt;/P&gt;
  &lt;P&gt;I'm trying &lt;A href="https://blogs.sap.com/2020/08/25/first-program-with-amdp-method/comment-page-1/#comment-701196" target="_blank"&gt;this&lt;/A&gt; very simple tutorial about AMDP implementation. I'm stuck at &lt;STRONG&gt;method_call_error, &lt;/STRONG&gt;getting a short dump&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I created a global class and call its method in an ABAP program. Also I have a transparent table and table type. I tried to fix with adding and removing MANDT. When I debug, &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CASE SY-SUBRC.&lt;BR /&gt;    WHEN 0.&lt;BR /&gt;    WHEN 1.&lt;BR /&gt;*     system_error&lt;BR /&gt;      MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.&lt;BR /&gt;    WHEN 2.&lt;BR /&gt;*     method_call_error&lt;BR /&gt;      MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.&lt;BR /&gt;    WHEN 3.&lt;BR /&gt;*     property_set_error&lt;BR /&gt;      MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.&lt;BR /&gt;    WHEN 4.&lt;BR /&gt;*     property_get_error&lt;BR /&gt;      MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.&lt;BR /&gt;    WHEN 8.&lt;BR /&gt;*     maximal number of modi reached&lt;BR /&gt;      MESSAGE ID 'CNDP' TYPE 'X' NUMBER 011 RAISING CNTL_SYSTEM_ERROR.&lt;BR /&gt;    WHEN OTHERS.&lt;BR /&gt;      RAISE CNTL_ERROR.&lt;BR /&gt;  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I'm getting the 2nd "method_call_error".&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;REPORT zst_r_amdp_trial.&lt;BR /&gt;DATA gt_amdp_trial TYPE zst_tt_amdp_trial.&lt;BR /&gt;START-OF-SELECTION.&lt;BR /&gt;  IF NOT cl_abap_dbfeatures=&amp;gt;use_features(&lt;BR /&gt;        EXPORTING&lt;BR /&gt;           requested_features = VALUE #(&lt;BR /&gt;                          ( cl_abap_dbfeatures=&amp;gt;call_amdp_method )&lt;BR /&gt;                          ( cl_abap_dbfeatures=&amp;gt;amdp_table_function )&lt;BR /&gt;            )&lt;BR /&gt;         ).&lt;BR /&gt;    cl_demo_output=&amp;gt;display(&lt;BR /&gt;      EXPORTING&lt;BR /&gt;        data = 'SYSTEM DOES NOT SUPPORT AMDP, PLEASE USE ANOTHER WAYS' " Text or Data&lt;BR /&gt;    ).&lt;BR /&gt;  ELSE.&lt;BR /&gt;    zst_amdp_tutorial=&amp;gt;get_data_from_dbtable(&lt;BR /&gt;      EXPORTING&lt;BR /&gt;        iv_client = sy-mandt&lt;BR /&gt;        iv_id    = 9&lt;BR /&gt;        iv_fname = 'firstname'&lt;BR /&gt;        iv_lname = 'lastname'&lt;BR /&gt;    ).&lt;BR /&gt;    cl_demo_output=&amp;gt;display_data(&lt;BR /&gt;      EXPORTING&lt;BR /&gt;        value = gt_amdp_trial&lt;BR /&gt;    ).&lt;BR /&gt;  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;PRE&gt;&lt;CODE&gt;CLASS zst_amdp_tutorial DEFINITION&lt;BR /&gt;  PUBLIC&lt;BR /&gt;  FINAL&lt;BR /&gt;  CREATE PUBLIC .&lt;BR /&gt;  PUBLIC SECTION.&lt;BR /&gt;    INTERFACES if_amdp_marker_hdb.&lt;BR /&gt;    CLASS-METHODS get_data_from_dbtable IMPORTING &lt;BR /&gt;                                                  VALUE(iv_client) TYPE zst_t_amdp_trial-mandt&lt;BR /&gt;                                                  VALUE(iv_id)     TYPE i&lt;BR /&gt;                                                  VALUE(iv_fname)  TYPE string&lt;BR /&gt;                                                  VALUE(iv_lname)  TYPE string.&lt;BR /&gt;  PROTECTED SECTION.&lt;BR /&gt;  PRIVATE SECTION.&lt;BR /&gt;ENDCLASS.&lt;BR /&gt;CLASS zst_amdp_tutorial IMPLEMENTATION.&lt;BR /&gt;  METHOD get_data_from_dbtable BY DATABASE PROCEDURE&lt;BR /&gt;                               FOR HDB LANGUAGE SQLSCRIPT&lt;BR /&gt;                               OPTIONS READ-ONLY&lt;BR /&gt;                               USING zst_t_amdp_trial.&lt;BR /&gt;    --create tempvariable&lt;BR /&gt;        DECLARE lv_test NVARCHAR( 5 );&lt;BR /&gt;        lv_test := 'TEST_';&lt;BR /&gt;        et_amdp_trial =&lt;BR /&gt;                select mandt,&lt;BR /&gt;                       id,&lt;BR /&gt;                       fname,&lt;BR /&gt;                       ( :lv_test || fname || lname ) as lname&lt;BR /&gt;*                   lname&lt;BR /&gt;                       from zst_t_amdp_trial.&lt;BR /&gt;  ENDMETHOD.&lt;BR /&gt;ENDCLASS.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Actually am expecting, if my system doesn't support AMDP, I'll get the message which is in IF scope.&lt;/P&gt;
  &lt;P&gt;I saw a comment "After the first succesful call you shouldn't reach that method in the debugger any more.", but I don't have a conclusion from this info.&lt;/P&gt;
  &lt;P&gt;I'm running SAP Developer Edition 7.52 NW on a VM. Eclipse and ADT installed and I believe they're working as well.&lt;/P&gt;
  &lt;P&gt;What should I do? Thanks in advance. Happy New Christmas. Frohe Weihnachten. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; I'm sorry for annoying you during these days.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 19:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaq-p/12815280</guid>
      <dc:creator>Sadullah75</dc:creator>
      <dc:date>2023-12-24T19:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP method call error</title>
      <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815281#M4812356</link>
      <description>&lt;P&gt;Please attach the short dump. Also debug/catch the error to see the exception details.&lt;/P&gt;&lt;P&gt;You are posting code concerning CNDP errors, it means a SAP GUI error, so it's not related to AMDP.&lt;/P&gt;&lt;P&gt;If it's ABAP Trial 7.52 SP01/04 Developer Edition, the database is Sybase, not HANA, so it's normal.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 19:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815281#M4812356</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-12-24T19:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP method call error</title>
      <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815282#M4812357</link>
      <description>&lt;P&gt;So It means I can't practice AMDP with developer edition, right? &lt;/P&gt;&lt;P&gt;My SAP GUI is for Java because I'm using Ubuntu as OS. &lt;/P&gt;&lt;P&gt;SAP teach how not to learn something. I don't have a real system currently because of not working. &lt;/P&gt;&lt;P&gt;OK, this case is closed. &lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 19:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815282#M4812357</guid>
      <dc:creator>Sadullah75</dc:creator>
      <dc:date>2023-12-24T19:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP method call error</title>
      <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815283#M4812358</link>
      <description>&lt;P&gt;I can't practice AMDP with SAP Developer Edition 7.52 SP04 because the database is SYBASE not HANA.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 19:57:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815283#M4812358</guid>
      <dc:creator>Sadullah75</dc:creator>
      <dc:date>2023-12-24T19:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP method call error</title>
      <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815284#M4812359</link>
      <description>&lt;P&gt;With HANA database: &lt;A href="https://blogs.sap.com/2023/07/31/abap-platform-trial-1909-available-now/"&gt;ABAP Platform Trial 1909 Available Now | SAP Blogs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(32 GB RAM / 512  GB SSD highly recommended)&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 20:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815284#M4812359</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-12-24T20:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP method call error</title>
      <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815285#M4812360</link>
      <description>&lt;P&gt;16 GB RAM 256 SSD for now, insufficient resources =D&lt;/P&gt;&lt;P&gt;I'll try to get a real sys which is affordable. Thanks for your help, you're great. &lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 21:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815285#M4812360</guid>
      <dc:creator>Sadullah75</dc:creator>
      <dc:date>2023-12-24T21:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP method call error</title>
      <link>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815286#M4812361</link>
      <description>&lt;P&gt;Yes , For AMDP Hana database is mandatory .&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 11:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/amdp-method-call-error/qaa-p/12815286#M4812361</guid>
      <dc:creator>deepikak1</dc:creator>
      <dc:date>2023-12-25T11:09:57Z</dc:date>
    </item>
  </channel>
</rss>

