<?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: Error with Select Statement... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030713#M1170216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is caused because you are passing an invalid value in the OPTION field of one of the ranges&lt;/P&gt;&lt;P&gt;i_blart or b_date &lt;STRONG&gt;( assuming these are ranges and not select-options)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The valid values for the option field are EQ,NE,CP,NP,GE,LT,LE,GT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this and correct the code where you are populating the ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2009 10:39:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-15T10:39:59Z</dc:date>
    <item>
      <title>Error with Select Statement...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030709#M1170212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone.  HOpe that you could help me.  I don't know what's wrong with my select statement, but everytime it gets to the select statment, it becomes a run time error.  The error is this " Invalid value in OPTION field of value table for IN itab operator."  I don't know what's causing this error.  Please help.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT b&lt;SUB&gt;insobjecttyp a&lt;/SUB&gt;insobject c&lt;SUB&gt;faedn a&lt;/SUB&gt;date_from&lt;/P&gt;&lt;P&gt;      INTO (wa_bill-insobjecttyp, wa_bill-io, wa_bill-duemon,&lt;/P&gt;&lt;P&gt;      wa_bill-date_from)&lt;/P&gt;&lt;P&gt;      FROM dimaparbrok AS a INNER JOIN dimaiobpar AS b&lt;/P&gt;&lt;P&gt;      ON a&lt;SUB&gt;partner = b&lt;/SUB&gt;partner&lt;/P&gt;&lt;P&gt;      AND a&lt;SUB&gt;insobject = b&lt;/SUB&gt;insobject INNER JOIN dfkkop AS c&lt;/P&gt;&lt;P&gt;      ON b&lt;SUB&gt;partner = c&lt;/SUB&gt;gpart&lt;/P&gt;&lt;P&gt;      AND b&lt;SUB&gt;insobject = c&lt;/SUB&gt;vtref&lt;/P&gt;&lt;P&gt;      WHERE a~partner = wa_itab-partner&lt;/P&gt;&lt;P&gt;        AND a~broker = wa_itab-ragency&lt;/P&gt;&lt;P&gt;        AND c~blart IN i_blart&lt;/P&gt;&lt;P&gt;        AND c~faedn IN b_date&lt;/P&gt;&lt;P&gt;    GROUP BY b&lt;SUB&gt;insobjecttyp a&lt;/SUB&gt;insobject c&lt;SUB&gt;faedn a&lt;/SUB&gt;date_from b~insobject&lt;/P&gt;&lt;P&gt;    ORDER BY a~date_from DESCENDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030709#M1170212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Select Statement...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030710#M1170213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Everyone.  HOpe that you could help me.  I don't know what's wrong with my select statement, but everytime it gets to the select statment, it becomes a run time error.  The error is this " Invalid value in OPTION field of value table for IN itab operator."  I don't know what's causing this error.  Please help.  Thanks.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; SELECT b&lt;SUB&gt;insobjecttyp a&lt;/SUB&gt;insobject c&lt;SUB&gt;faedn a&lt;/SUB&gt;date_from&lt;/P&gt;&lt;P&gt;&amp;gt;       INTO (wa_bill-insobjecttyp, wa_bill-io, wa_bill-duemon,&lt;/P&gt;&lt;P&gt;&amp;gt;       wa_bill-date_from)&lt;/P&gt;&lt;P&gt;&amp;gt;       FROM dimaparbrok AS a INNER JOIN dimaiobpar AS b&lt;/P&gt;&lt;P&gt;&amp;gt;       ON a&lt;SUB&gt;partner = b&lt;/SUB&gt;partner&lt;/P&gt;&lt;P&gt;&amp;gt;       AND a&lt;SUB&gt;insobject = b&lt;/SUB&gt;insobject INNER JOIN dfkkop AS c&lt;/P&gt;&lt;P&gt;&amp;gt;       ON b&lt;SUB&gt;partner = c&lt;/SUB&gt;gpart&lt;/P&gt;&lt;P&gt;&amp;gt;       AND b&lt;SUB&gt;insobject = c&lt;/SUB&gt;vtref&lt;/P&gt;&lt;P&gt;&amp;gt;       WHERE a~partner = wa_itab-partner&lt;/P&gt;&lt;P&gt;&amp;gt;         AND a~broker = wa_itab-ragency&lt;/P&gt;&lt;P&gt;&amp;gt;         AND c~blart IN i_blart&lt;/P&gt;&lt;P&gt;&amp;gt;         AND c~faedn IN b_date&lt;/P&gt;&lt;P&gt;&amp;gt;     GROUP BY b&lt;SUB&gt;insobjecttyp a&lt;/SUB&gt;insobject c&lt;SUB&gt;faedn a&lt;/SUB&gt;date_from b~insobject&lt;/P&gt;&lt;P&gt;&amp;gt;     ORDER BY a~date_from DESCENDING.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Anna&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Do what the error message suggests and check what you've got in the option field of one of the tables that you are using with IN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030710#M1170213</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2009-01-15T10:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Select Statement...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030711#M1170214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anna ,&lt;/P&gt;&lt;P&gt;  Please check the value of the ranges &lt;/P&gt;&lt;P&gt;i_blart and b_date.&lt;/P&gt;&lt;P&gt;Please see if the value inf the SIGN and OPTION fields if the range are correct .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is the data in the range being populate are you doing it or the system does it automatically from a select option .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030711#M1170214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Select Statement...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030712#M1170215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem might be with fields in the where condition for selection options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not please recheck  the select option fields and the values you had entered in the selection screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030712#M1170215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Select Statement...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030713#M1170216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is caused because you are passing an invalid value in the OPTION field of one of the ranges&lt;/P&gt;&lt;P&gt;i_blart or b_date &lt;STRONG&gt;( assuming these are ranges and not select-options)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The valid values for the option field are EQ,NE,CP,NP,GE,LT,LE,GT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this and correct the code where you are populating the ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030713#M1170216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Select Statement...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030714#M1170217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check content of i_blart and b_date, there should be a field 'option' and you will need to search for allowed values to fill in here. Maybe you will need to debug to get the values first and compare then with allowed values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030714#M1170217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Select Statement...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030715#M1170218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Please ignore as it has been answered.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Anna,&lt;/P&gt;&lt;P&gt;Its because of your ranges  i_blart OR b_date.&lt;/P&gt;&lt;P&gt;First of all if these are not defined by SELECT-OPTIONS and you are filling it yourself then check the content of these ranges table..&lt;/P&gt;&lt;P&gt;As suggested above check if permissible value exist in OPTIONS column for both the ranges..&lt;/P&gt;&lt;P&gt;Revert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankesh on Jan 15, 2009 4:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 11:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-select-statement/m-p/5030715#M1170218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T11:22:50Z</dc:date>
    </item>
  </channel>
</rss>

