<?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 select statement problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/5035599#M1171152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have one problem. i am doing ecatt. in that ecatt first time run the ecatt of current date count value is always one. suppose same date we will run the same ecatt that time count has show 02.&lt;/P&gt;&lt;P&gt; how it is possible.&lt;/P&gt;&lt;P&gt; can  u explain the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i need following logic&lt;/P&gt;&lt;P&gt;.1)first time of same date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_PLTXT:       Test eCATT 13012009_1&lt;/P&gt;&lt;P&gt;I_NAME1:     Test eCATT 13012009_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)second time of same date&lt;/P&gt;&lt;P&gt;I_PLTXT:       Test eCATT 13012009_2&lt;/P&gt;&lt;P&gt;I_NAME1:     Test eCATT 13012009_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select count(*) from iflo into v_count&lt;/P&gt;&lt;P&gt;      where PLTXT like 'Test eCATT%'&lt;/P&gt;&lt;P&gt;      and   erdat = sy-datum.&lt;/P&gt;&lt;P&gt; i am writing like this but it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2009 08:54:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-20T08:54:34Z</dc:date>
    <item>
      <title>select statement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/5035599#M1171152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have one problem. i am doing ecatt. in that ecatt first time run the ecatt of current date count value is always one. suppose same date we will run the same ecatt that time count has show 02.&lt;/P&gt;&lt;P&gt; how it is possible.&lt;/P&gt;&lt;P&gt; can  u explain the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i need following logic&lt;/P&gt;&lt;P&gt;.1)first time of same date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_PLTXT:       Test eCATT 13012009_1&lt;/P&gt;&lt;P&gt;I_NAME1:     Test eCATT 13012009_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)second time of same date&lt;/P&gt;&lt;P&gt;I_PLTXT:       Test eCATT 13012009_2&lt;/P&gt;&lt;P&gt;I_NAME1:     Test eCATT 13012009_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select count(*) from iflo into v_count&lt;/P&gt;&lt;P&gt;      where PLTXT like 'Test eCATT%'&lt;/P&gt;&lt;P&gt;      and   erdat = sy-datum.&lt;/P&gt;&lt;P&gt; i am writing like this but it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 08:54:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/5035599#M1171152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T08:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: select statement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/5035600#M1171153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Theoretically it should be working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe there's a problem with the date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to do the select without the date and see if you find any records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: v_count TYPE i.

SELECT COUNT(*)
  FROM iflo
   INTO v_count
 WHERE pltxt LIKE 'Test eCATT%'.

WRITE: v_count.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Postema on Jan 20, 2009 10:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 09:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/5035600#M1171153</guid>
      <dc:creator>rob_postema</dc:creator>
      <dc:date>2009-01-20T09:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: select statement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/5035601#M1171154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Anitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check first IFLO table is there a text like you are giving in the like statement and ERDAT too, and be sure that it is case sensitive the String you are giving must be fully case matched with the string in table for example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In table PLTXT = aqF you must give it PLTXT like u2018aqFu2019&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you will give like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLTXT like u2018aqfu2019 is will not return you any result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply if any problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 10:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/5035601#M1171154</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-20T10:04:25Z</dc:date>
    </item>
  </channel>
</rss>

