<?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: AMDP_EXECUTION_FAILED error and CX_SY_OPEN_SQL_DB exception in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/amdp-execution-failed-error-and-cx-sy-open-sql-db-exception/m-p/12555968#M2007165</link>
    <description>&lt;P&gt;1. Check the source code location from St22&lt;/P&gt;&lt;P&gt;2. I think you are calling AMDP method and there you are getting the call why not put a TRY CATCH and read the error message.&lt;/P&gt;&lt;P&gt;3. This exception in normal SQL happens with the incorrect query like column name etc. can u check. Also make sure the SELECT projection list is same as in your CDS Table Function DDL field list.&lt;/P&gt;&lt;P&gt;Try and see what happens. Else come back with what you hav edone in that GEtter method&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2022 18:47:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2022-04-22T18:47:21Z</dc:date>
    <item>
      <title>AMDP_EXECUTION_FAILED error and CX_SY_OPEN_SQL_DB exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amdp-execution-failed-error-and-cx-sy-open-sql-db-exception/m-p/12555967#M2007164</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2044533-amdp-error.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;In ABAP Report, the CDS View Table function with AMDP class was used to fetch the data from two database tables. The report is working fine. Now, when modified the data in one database table using another report, then the existing report with CDS View is giving Error: AMDP_EXECUTION_FAILED and Exception: CX_SY_OPEN_SQL_DB. Please guide how to resolve this issue.&lt;/P&gt;
  &lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
  &lt;P&gt;Vinod.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 18:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amdp-execution-failed-error-and-cx-sy-open-sql-db-exception/m-p/12555967#M2007164</guid>
      <dc:creator>vinodkidambi</dc:creator>
      <dc:date>2022-04-22T18:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP_EXECUTION_FAILED error and CX_SY_OPEN_SQL_DB exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amdp-execution-failed-error-and-cx-sy-open-sql-db-exception/m-p/12555968#M2007165</link>
      <description>&lt;P&gt;1. Check the source code location from St22&lt;/P&gt;&lt;P&gt;2. I think you are calling AMDP method and there you are getting the call why not put a TRY CATCH and read the error message.&lt;/P&gt;&lt;P&gt;3. This exception in normal SQL happens with the incorrect query like column name etc. can u check. Also make sure the SELECT projection list is same as in your CDS Table Function DDL field list.&lt;/P&gt;&lt;P&gt;Try and see what happens. Else come back with what you hav edone in that GEtter method&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 18:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amdp-execution-failed-error-and-cx-sy-open-sql-db-exception/m-p/12555968#M2007165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2022-04-22T18:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: AMDP_EXECUTION_FAILED error and CX_SY_OPEN_SQL_DB exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amdp-execution-failed-error-and-cx-sy-open-sql-db-exception/m-p/12555969#M2007166</link>
      <description>&lt;P&gt;Hi Prasenjit Bist&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. As suggested I debugged the CDS View (with source code location from 'ST22'), found an issue in AMDP select statement, in the declared 'WHEN' statement. The issue has been resolved.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 15:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amdp-execution-failed-error-and-cx-sy-open-sql-db-exception/m-p/12555969#M2007166</guid>
      <dc:creator>vinodkidambi</dc:creator>
      <dc:date>2022-04-23T15:54:45Z</dc:date>
    </item>
  </channel>
</rss>

