<?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: How to input Internal Table as a Parameter for execut... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaa-p/13735855#M4833775</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1189671"&gt;@nadirelc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The causes regarding the internal tables, that i can think are :&lt;BR /&gt;1. The internal tables are hashed or sorted or contain secondary keys. The itabs should be standard without secondary keys&lt;/P&gt;&lt;P&gt;2. Incorrect type mapping from ABAP itab to Oracle array.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Incorrect column name mapping from ABAP itab to Oracle array. In abap column names contain only capital letters whereas in oracle can contain lowercase letters.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 07:23:20 GMT</pubDate>
    <dc:creator>Romanos</dc:creator>
    <dc:date>2024-06-19T07:23:20Z</dc:date>
    <item>
      <title>How to input Internal Table as a Parameter for execute Procedure from Oracle Database</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaq-p/13730470</link>
      <description>&lt;P&gt;Here is my code look like&lt;/P&gt;&lt;P&gt;exec sql&lt;/P&gt;&lt;P&gt;&lt;!--   StartFragment    --&gt;&lt;SPAN&gt;execute&amp;nbsp;procedure&amp;nbsp;scheme&lt;SPAN class=""&gt;.&lt;/SPAN&gt;package&lt;SPAN class=""&gt;.my_procedure&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;IN&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;:lv_a&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;IN&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;:itab_a&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;IN&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;itab_b&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INOUT :lv_c&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OUT&amp;nbsp;&lt;SPAN class=""&gt;:lv_d&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;endexec.&lt;BR /&gt;I got the error 'The DSQL interface was called with invalid parameters.' I assume this error came from the internal table that is not recognized by Oracle database, meanwhile in the Oracle database itab_a and itab_b are PL/SQL Table.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me, how to execute oracle database procedure that has PL/SQL TAble parameter from SAP ABAP&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 04:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaq-p/13730470</guid>
      <dc:creator>nadirelc</dc:creator>
      <dc:date>2024-06-14T04:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to input Internal Table as a Parameter for execut...</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaa-p/13730755#M4833157</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1189671"&gt;@nadirelc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Have you tried to&lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenopensql_multiconnect.htm" target="_self"&gt; specify the secondary connection to Oracle DB&lt;/A&gt; before executing the procedure?&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;DATA(conn) = CONV dbcon-con_name( `...` ).
EXEC SQL.
  CONNECT TO :conn
ENDEXEC.

EXEC SQL.
EXECUTE PROCEDURE...
ENDEXEC.&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 14 Jun 2024 09:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaa-p/13730755#M4833157</guid>
      <dc:creator>Romanos</dc:creator>
      <dc:date>2024-06-14T09:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to input Internal Table as a Parameter for execut...</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaa-p/13735408#M4833731</link>
      <description>i already used that in first, the connection to oracle database is works well, only the procedure tabular parameter is the problem</description>
      <pubDate>Wed, 19 Jun 2024 02:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaa-p/13735408#M4833731</guid>
      <dc:creator>nadirelc</dc:creator>
      <dc:date>2024-06-19T02:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to input Internal Table as a Parameter for execut...</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaa-p/13735855#M4833775</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1189671"&gt;@nadirelc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The causes regarding the internal tables, that i can think are :&lt;BR /&gt;1. The internal tables are hashed or sorted or contain secondary keys. The itabs should be standard without secondary keys&lt;/P&gt;&lt;P&gt;2. Incorrect type mapping from ABAP itab to Oracle array.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Incorrect column name mapping from ABAP itab to Oracle array. In abap column names contain only capital letters whereas in oracle can contain lowercase letters.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 07:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-input-internal-table-as-a-parameter-for-execute-procedure-from/qaa-p/13735855#M4833775</guid>
      <dc:creator>Romanos</dc:creator>
      <dc:date>2024-06-19T07:23:20Z</dc:date>
    </item>
  </channel>
</rss>

