<?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 Query cannot get value in ABAP Editor when WHERE statement parameter started with double zero (00) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-cannot-get-value-in-abap-editor-when-where-statement-parameter/m-p/12555369#M2007117</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;I have a problem trying to get data with a query when the value of the parameter in the where statement starts with two zero digits (00). However, the query runs normally when the parameter value starts with only one zero digit (0).
  &lt;P&gt;Example:&lt;/P&gt;
  &lt;P&gt;p_invno = '001/SPK/2022'. " this is get 0 result&lt;/P&gt;
  &lt;P&gt;p_invno = '01/02/SPK/2022'. " this is get 1 result&lt;/P&gt;
  &lt;P&gt;SELECT * FROM table INTO TABLE lt_tab WHERE invoiceno = p_invno.&lt;BR /&gt;&lt;/P&gt; 
  &lt;P&gt;Please help and the solution.&lt;/P&gt;
  &lt;P&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 14:27:17 GMT</pubDate>
    <dc:creator>former_member780619</dc:creator>
    <dc:date>2022-03-17T14:27:17Z</dc:date>
    <item>
      <title>Query cannot get value in ABAP Editor when WHERE statement parameter started with double zero (00)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-cannot-get-value-in-abap-editor-when-where-statement-parameter/m-p/12555369#M2007117</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;I have a problem trying to get data with a query when the value of the parameter in the where statement starts with two zero digits (00). However, the query runs normally when the parameter value starts with only one zero digit (0).
  &lt;P&gt;Example:&lt;/P&gt;
  &lt;P&gt;p_invno = '001/SPK/2022'. " this is get 0 result&lt;/P&gt;
  &lt;P&gt;p_invno = '01/02/SPK/2022'. " this is get 1 result&lt;/P&gt;
  &lt;P&gt;SELECT * FROM table INTO TABLE lt_tab WHERE invoiceno = p_invno.&lt;BR /&gt;&lt;/P&gt; 
  &lt;P&gt;Please help and the solution.&lt;/P&gt;
  &lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 14:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-cannot-get-value-in-abap-editor-when-where-statement-parameter/m-p/12555369#M2007117</guid>
      <dc:creator>former_member780619</dc:creator>
      <dc:date>2022-03-17T14:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query cannot get value in ABAP Editor when WHERE statement parameter started with double zero (00)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-cannot-get-value-in-abap-editor-when-where-statement-parameter/m-p/12555370#M2007118</link>
      <description>&lt;P&gt;The only reason why you don't get the line is that p_invno value is different from invoiceno.&lt;/P&gt;&lt;P&gt;Check value of p_invno in debug, at hexadecimal level to be sure.&lt;/P&gt;&lt;P&gt;Read invoiceno column from table in debug (do a select via a test program), at hexadecimal level to be sure.&lt;/P&gt;&lt;P&gt;And compare.&lt;/P&gt;&lt;P&gt;NB: don't believe what you see in the screens, believe what you see in hexadecimal IN DEBUG.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 19:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-cannot-get-value-in-abap-editor-when-where-statement-parameter/m-p/12555370#M2007118</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-03-17T19:02:36Z</dc:date>
    </item>
  </channel>
</rss>

