<?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: native sql question in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/native-sql-question/qaa-p/13970145#M4897110</link>
    <description>&lt;P&gt;":" must be placed right before the global variable name (e.g. use "A.MANDT = :SY-MANDT" instead of "A.MANDT =: SY-MANDT")&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;EXEC SQL PERFORMING APPEND_ITAB.
  SELECT A.CARRID, A.CONNID
  INTO :GS_WA-CARRID, :GS_WA-CONNID
  FROM SFLIGHT A
  WHERE A.MANDT = :SY-MANDT AND A.CARRID = :GV_CARRID
ENDEXEC.&lt;/LI-CODE&gt;&lt;P&gt;NB: Please use the buttons "..." and "&amp;lt;/&amp;gt;" to display your code nicely, and also to let the people test and fix your code easily. See how to do it here: &lt;A href="https://community.sap.com/t5/questions-about-sap-websites/how-to-post-code-in-sap-community-gt-2024/qaq-p/13684774" target="_blank"&gt;https://community.sap.com/t5/questions-about-sap-websites/how-to-post-code-in-sap-community-gt-2024/qaq-p/13684774&lt;/A&gt;&lt;/P&gt;&lt;P&gt;NB: Please indicate your database software if it's a question about native SQL ("sql error 257" depends on the database software).&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2024 07:46:20 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2024-12-23T07:46:20Z</dc:date>
    <item>
      <title>native sql question</title>
      <link>https://community.sap.com/t5/technology-q-a/native-sql-question/qaq-p/13969985</link>
      <description>&lt;P&gt;Hello experts on line, my codes is as below and without syntax error.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_str,&lt;/P&gt;&lt;P&gt;carrid like sflight-carrid,&lt;/P&gt;&lt;P&gt;connid like sflight-connid,&lt;/P&gt;&lt;P&gt;END OF t_str.&lt;/P&gt;&lt;P&gt;data: gt_itab type table of t_str,&lt;/P&gt;&lt;P&gt;gs_wa type t_str,&lt;/P&gt;&lt;P&gt;gv_carrid like sflight-carrid value 'AA'.&lt;/P&gt;&lt;P&gt;EXEC SQL PERFORMING APPEND_ITAB.&lt;/P&gt;&lt;P&gt;SELECT A.CARRID, A.CONNID&lt;/P&gt;&lt;P&gt;INTO :GS_WA-CARRID, :GS_WA-CONNID&lt;/P&gt;&lt;P&gt;FROM SFLIGHT A&lt;/P&gt;&lt;P&gt;WHERE A.MANDT =: SY-MANDT AND A.CARRID =: GV_CARRID&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;FORM APPEND_ITAB.&lt;/P&gt;&lt;P&gt;WRITE:/ GS_WA-CARRID, GS_WA-CONNID.&lt;/P&gt;&lt;P&gt;APPEND GS_WA TO GT_ITAB.&lt;/P&gt;&lt;P&gt;CLEAR GT_ITAB.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;But when it runs, it has runtime error in category installation error. Short Text is ‘SQL error 257 occured while executing Native SQL’. How can I correct it? Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2024 23:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/native-sql-question/qaq-p/13969985</guid>
      <dc:creator>Aaron_Lee</dc:creator>
      <dc:date>2024-12-22T23:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: native sql question</title>
      <link>https://community.sap.com/t5/technology-q-a/native-sql-question/qaa-p/13970145#M4897110</link>
      <description>&lt;P&gt;":" must be placed right before the global variable name (e.g. use "A.MANDT = :SY-MANDT" instead of "A.MANDT =: SY-MANDT")&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;EXEC SQL PERFORMING APPEND_ITAB.
  SELECT A.CARRID, A.CONNID
  INTO :GS_WA-CARRID, :GS_WA-CONNID
  FROM SFLIGHT A
  WHERE A.MANDT = :SY-MANDT AND A.CARRID = :GV_CARRID
ENDEXEC.&lt;/LI-CODE&gt;&lt;P&gt;NB: Please use the buttons "..." and "&amp;lt;/&amp;gt;" to display your code nicely, and also to let the people test and fix your code easily. See how to do it here: &lt;A href="https://community.sap.com/t5/questions-about-sap-websites/how-to-post-code-in-sap-community-gt-2024/qaq-p/13684774" target="_blank"&gt;https://community.sap.com/t5/questions-about-sap-websites/how-to-post-code-in-sap-community-gt-2024/qaq-p/13684774&lt;/A&gt;&lt;/P&gt;&lt;P&gt;NB: Please indicate your database software if it's a question about native SQL ("sql error 257" depends on the database software).&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 07:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/native-sql-question/qaa-p/13970145#M4897110</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2024-12-23T07:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: native sql question</title>
      <link>https://community.sap.com/t5/technology-q-a/native-sql-question/qaa-p/13971216#M4897220</link>
      <description>Hello Sandra_Rossi,</description>
      <pubDate>Tue, 24 Dec 2024 11:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/native-sql-question/qaa-p/13971216#M4897220</guid>
      <dc:creator>Aaron_Lee</dc:creator>
      <dc:date>2024-12-24T11:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: native sql question</title>
      <link>https://community.sap.com/t5/technology-q-a/native-sql-question/qaa-p/13971218#M4897221</link>
      <description>Thanks very much for your explaination!</description>
      <pubDate>Tue, 24 Dec 2024 11:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/native-sql-question/qaa-p/13971218#M4897221</guid>
      <dc:creator>Aaron_Lee</dc:creator>
      <dc:date>2024-12-24T11:17:46Z</dc:date>
    </item>
  </channel>
</rss>

