<?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: Please validate my select stmt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587780#M264845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT single bktxt from bkpf&lt;/P&gt;&lt;P&gt;INTO wa_bktxt&lt;/P&gt;&lt;P&gt;where bukrs = lv_bukrs&lt;/P&gt;&lt;P&gt;AND belnr = lv_belnr&lt;/P&gt;&lt;P&gt;AND gjahr = lv_gjahr&lt;/P&gt;&lt;P&gt;AND &amp;lt;b&amp;gt;( bktxt like 'ONPY%'&lt;/P&gt;&lt;P&gt;OR bktxt like 'ONPO%' ).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2006 12:27:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-26T12:27:06Z</dc:date>
    <item>
      <title>Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587773#M264838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT single bktxt from  bkpf&lt;/P&gt;&lt;P&gt;                            INTO  wa_bktxt&lt;/P&gt;&lt;P&gt;                            where bukrs = lv_bukrs&lt;/P&gt;&lt;P&gt;                            AND   belnr = lv_belnr&lt;/P&gt;&lt;P&gt;                            AND   gjahr = lv_gjahr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                           AND  ( bktxt+0(5) = 'ONPY'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                           OR    bktxt+0(5) =  'ONPO' )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What is wrong in my above stmt?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587773#M264838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587774#M264839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the period is missing ie&lt;/P&gt;&lt;P&gt;SELECT single bktxt from bkpf&lt;/P&gt;&lt;P&gt;INTO wa_bktxt&lt;/P&gt;&lt;P&gt;where bukrs = lv_bukrs&lt;/P&gt;&lt;P&gt;AND belnr = lv_belnr&lt;/P&gt;&lt;P&gt;AND gjahr = lv_gjahr&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587774#M264839</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-09-26T12:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587775#M264840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: lw_bktxt type bkpf-bktxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT single bktxt from bkpf&lt;/P&gt;&lt;P&gt;INTO lw_bktxt&lt;/P&gt;&lt;P&gt;where bukrs = lv_bukrs&lt;/P&gt;&lt;P&gt;AND belnr = lv_belnr&lt;/P&gt;&lt;P&gt;AND gjahr = lv_gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587775#M264840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587776#M264841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sam,&lt;/P&gt;&lt;P&gt; Except period i donot think there is any mistake in your select statement ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT single bktxt from bkpf&lt;/P&gt;&lt;P&gt;INTO wa_bktxt&lt;/P&gt;&lt;P&gt;where bukrs = lv_bukrs&lt;/P&gt;&lt;P&gt;AND belnr = lv_belnr&lt;/P&gt;&lt;P&gt;AND gjahr = lv_gjahr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;AND ( bktxt+0(5) = 'ONPY'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OR bktxt+0(5) = 'ONPO' ).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587776#M264841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587777#M264842</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;select did not end with a period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587777#M264842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587778#M264843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select statement is correct once the '.' is provided at the end. However if your select is not retreiving data then probably you need to run an Alpha routine to get the BELNR field in the excpected format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587778#M264843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587779#M264844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REALLY SORRY:&lt;/P&gt;&lt;P&gt;Please see below code which was commented before. I need them ....&lt;/P&gt;&lt;P&gt;SELECT single bktxt from bkpf&lt;/P&gt;&lt;P&gt;INTO wa_bktxt&lt;/P&gt;&lt;P&gt;where bukrs = lv_bukrs&lt;/P&gt;&lt;P&gt;AND belnr = lv_belnr&lt;/P&gt;&lt;P&gt;AND gjahr = lv_gjahr&lt;/P&gt;&lt;P&gt;AND ( bktxt+0(5) = 'ONPY'&lt;/P&gt;&lt;P&gt;OR bktxt+0(5) = 'ONPO' ).&lt;/P&gt;&lt;P&gt;What is wrong in my above stmt?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587779#M264844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587780#M264845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT single bktxt from bkpf&lt;/P&gt;&lt;P&gt;INTO wa_bktxt&lt;/P&gt;&lt;P&gt;where bukrs = lv_bukrs&lt;/P&gt;&lt;P&gt;AND belnr = lv_belnr&lt;/P&gt;&lt;P&gt;AND gjahr = lv_gjahr&lt;/P&gt;&lt;P&gt;AND &amp;lt;b&amp;gt;( bktxt like 'ONPY%'&lt;/P&gt;&lt;P&gt;OR bktxt like 'ONPO%' ).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587780#M264845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587781#M264846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you cannot use offset in the where clause.. use pattersn ie the LIKE option..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT single bktxt from bkpf
INTO wa_bktxt
where bukrs = lv_bukrs
AND belnr = lv_belnr
AND gjahr = lv_gjahr
AND ( bktxt like 'ONPY%'
OR bktxt like 'ONPO%' ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587781#M264846</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-09-26T12:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Please validate my select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587782#M264847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use it like ...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT single bktxt from bkpf
INTO wa_bktxt
where bukrs = lv_bukrs
  AND belnr = lv_belnr
  AND gjahr = lv_gjahr
  aNd ( &amp;lt;b&amp;gt;bktxt like 'ONPY%'
   OR bktxt like 'ONPO%' ).&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-validate-my-select-stmt/m-p/1587782#M264847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T12:32:25Z</dc:date>
    </item>
  </channel>
</rss>

