<?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: native sql EXEC - how to transfer abap range to IN operator in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520242#M1934330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the F1 help on EXEC first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 13:47:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-02-11T13:47:02Z</dc:date>
    <item>
      <title>native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520238#M1934326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks if someone can give example .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eliram. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520238#M1934326</guid>
      <dc:creator>Eliramy</dc:creator>
      <dc:date>2016-02-11T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520239#M1934327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check&amp;nbsp; &lt;SPAN class="L0S52"&gt;REPORT &lt;/SPAN&gt;demo_sel_screen_tables_ranges in SAP for an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;s_carrid2 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;RANGE &lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;spfli&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;carrid&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_carrid2_wa &lt;SPAN class="L0S52"&gt;LIKE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LINE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;s_carrid2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_carrid2_wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;sign&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'I'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;s_carrid2_wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;option &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'EQ'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;s_carrid2_wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;low&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'AA'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;s_carrid2_wa &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;s_carrid2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SUBMIT &lt;/SPAN&gt;demo_selection_screen_ldb_1 &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;carrid &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_carrid2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIA &lt;SPAN class="L0S52"&gt;SELECTION-SCREEN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;RETURN&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A selection table s_carrid is created with reference to column CARRID of database table SPFLI. The s_carrid-low and s_carrid-high fields have the same type as CARRID. The work area of the internal table s_carrid is filled and appended to the table. Program demo2 is called. If demo2 is linked to logical database F1S, its selections screen contains the fields of selection criterion CARRID from the logical database. These fields are filled with the contents of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, if you wish to use the range in a select statement, if would be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM [dbase table] INTO TABLE [internal table] WHERE carrid in &lt;SPAN style="font-size: 13.3333px;"&gt;s_carrid2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: replace the * with the fields you require from the dbase table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520239#M1934327</guid>
      <dc:creator>Patrick_vN</dc:creator>
      <dc:date>2016-02-11T13:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520240#M1934328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't understand me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have asked about NATIVE SQL here's an example of my code .&lt;/P&gt;&lt;P&gt;How i transfer in where clause &lt;/P&gt;&lt;P&gt;Hkont in&amp;nbsp; S_HKONT -&amp;gt; abap range .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't succeed to transfer abap range to where clause .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt;"&gt;EXEC SQL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;OPEN &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;dbcur &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;SELECT &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;/*+ FULL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;*/&lt;BR /&gt; bukrs&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;hkont&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;gjahr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;belnr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;shkzg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;buzei&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;budat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;bldat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; monat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;blart&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;xblnr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;dmbtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sgtxt&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ccbtc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;vbund&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SAPSR3&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;BSAS B&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mandt&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= :&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mandt&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;AND&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;bukrs&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= :&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;p_bukrs&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;AND&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;rfzei&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;000&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;AND&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;budat &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;p_budat&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDEXEC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;DO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;EXEC SQL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;FETCH NEXT &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;dbcur &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;into &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;bukrs&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;hkont&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;gjahr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;belnr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;shkzg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;buzei&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;budat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;bldat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;monat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;blart&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;xblnr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;dmbtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sgtxt&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ccbtc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;vbund&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;ENDEXEC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray; background: white;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;subrc &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #3399ff; background: white;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;EXIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;APPEND &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_bsis &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;TO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lt_bsis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;ENDDO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520240#M1934328</guid>
      <dc:creator>Eliramy</dc:creator>
      <dc:date>2016-02-11T13:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520241#M1934329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mistake, apologies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might this thread help &lt;A href="https://scn.sap.com/thread/1666042" title="https://scn.sap.com/thread/1666042"&gt;https://scn.sap.com/thread/1666042&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure the IN operand works in native SQL, it looks like BETWEEN is used instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520241#M1934329</guid>
      <dc:creator>Patrick_vN</dc:creator>
      <dc:date>2016-02-11T13:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520242#M1934330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the F1 help on EXEC first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520242#M1934330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-11T13:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520243#M1934331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;You may also map your range to a free selection format, then call FREE_SELECTIONS_RANGE_2_WHERE to convert it to a where string (concatenate returned records) that you pass to CL_SQL_STATEMENT-&amp;gt;EXECUTE_QUERY (Look for &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;ADBC - ABAP Database Connectivity in online Abap documentation)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520243#M1934331</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-02-11T13:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520244#M1934332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me an example of code how to do this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520244#M1934332</guid>
      <dc:creator>Eliramy</dc:creator>
      <dc:date>2016-02-11T14:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: native sql EXEC - how to transfer abap range to IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520245#M1934333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="mceitemhidden"&gt;Input parameter FIELD_RANGES of FREE_SELECTIONS_RANGE_2_WHERE is a small &lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;internal&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt; table deep structure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt;Hint: Just add an initial record (*) to the parameter work area, modify its &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;TABLENAME&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; value, add an initial record (*) to field &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;FRANGE&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt;_T (an &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;itab&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; too) modify its &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;FIELDNAME&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; value and then loop at your select-option/range table, map fields to a &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;RSDSSELOPT&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; structure and append it to &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;SELOPT&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt;_T table.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt;(*) use an APPEND &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;INTIAL&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; LINE TO &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;itab&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; ASSIGNING where you defined some FIELD-SYMBOLS of type &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;RSDS&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt;_&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;TRANGE&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; and &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;RSDS&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt;_&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;FRANGE&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt; (Add a TYPE-POOLS &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhiddenspellword"&gt;&lt;EM&gt;rsds&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="mceitemhidden"&gt;&lt;EM&gt;. in program global area/class properties)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-exec-how-to-transfer-abap-range-to-in-operator/m-p/11520245#M1934333</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-02-11T14:23:39Z</dc:date>
    </item>
  </channel>
</rss>

