<?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: 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/2987389#M705474</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;If the condition type is inactive then KINAK will be not initial..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case KINAK = ' '  means condition is active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2007 05:23:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-13T05:23:37Z</dc:date>
    <item>
      <title>SELECT STATEMENT PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987380#M705465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I jst want some clarification regarding this sample code. I jst wnt to ask on whats the use or purpose of this part of the select statement.....&lt;/P&gt;&lt;P&gt;a~fkart in ('ZUF2','ZUIN','ZUVF','ZUS2','ZC23','ZC24','ZC26','ZUL2','ZUG2')  in the sample code below???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;fkart a&lt;/SUB&gt;knumv a&lt;SUB&gt;rfbsk b&lt;/SUB&gt;VKGRP from vbrk as a&lt;/P&gt;&lt;P&gt;inner join knvv as b on a&lt;SUB&gt;kunag = b&lt;/SUB&gt;kunnr into table doc&lt;/P&gt;&lt;P&gt;where rfbsk = 'C'&lt;/P&gt;&lt;P&gt;and a~fkdat in fkdat&lt;/P&gt;&lt;P&gt;and a~erdat in erdat&lt;/P&gt;&lt;P&gt;and a~fkart in ('ZUF2','ZUIN','ZUVF','ZUS2','ZC23','ZC24','ZC26','ZUL2','ZUG2')&lt;/P&gt;&lt;P&gt;and b~VKGRP in VKGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;helpful answers would be given points,thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gerald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987380#M705465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:07:39Z</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/2987381#M705466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will check all value for where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;fkart a&lt;/SUB&gt;knumv a&lt;SUB&gt;rfbsk b&lt;/SUB&gt;VKGRP from vbrk as a&lt;/P&gt;&lt;P&gt;inner join knvv as b on a&lt;SUB&gt;kunag = b&lt;/SUB&gt;kunnr into table doc&lt;/P&gt;&lt;P&gt;where rfbsk = 'C'&lt;/P&gt;&lt;P&gt;and a~fkdat in fkdat&lt;/P&gt;&lt;P&gt;and a~erdat in erdat&lt;/P&gt;&lt;P&gt;and a&lt;SUB&gt;fkart in ('ZUF2','ZUIN','ZUVF','ZUS2','ZC23','ZC24','ZC26','ZUL2','ZUG2') &amp;lt;b&amp;gt;chk condition&amp;lt;/b&amp;gt;and b&lt;/SUB&gt;VKGRP in VKGRP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:09:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987381#M705466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:09:51Z</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/2987382#M705467</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;if the vlaue in the field fkart = 'ZUF2' or  fkart = 'ZUIN'  OR ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like that for that purpose its better to keep &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement  select * from table name where field in ( 'ZUF2','ZUIN',....).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;SIVA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987382#M705467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:11:39Z</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/2987383#M705468</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;Basically to select the data where the billing types is either one of them which is given in the list..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ZUF2','ZUIN','ZUVF','ZUS2','ZC23','ZC24','ZC26','ZUL2','ZUG2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use a OR for the billing type like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where a&lt;SUB&gt;fkart = 'ZUF2' OR a&lt;/SUB&gt;fkart = 'ZUIN'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987383#M705468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:11:56Z</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/2987384#M705469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This a~fkart in ('ZUF2','ZUIN','ZUVF','ZUS2','ZC23','ZC24','ZC26','ZUL2','ZUG2') means, only mentioned fkart type in the brackets will fetch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on the inner join statement, aprt from all corresponding parameters the given select query will execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suku&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987384#M705469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:12:10Z</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/2987385#M705470</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;THe field fkart have lot of values ,but we are filtering out some values..thats why it has given the values which we require..Please check the table vbrk and field fkart..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987385#M705470</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-11-13T05:12:49Z</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/2987386#M705471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THE STATEMENT SELECTS THE RECORDS THAT CONTAINS THE VALUES OF THE FIELD FKART IN GIVEN RANGE ONLY. (................................................................................)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987386#M705471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:13:17Z</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/2987387#M705472</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;a~fkart in ('ZUF2','ZUIN','ZUVF','ZUS2','ZC23','ZC24','ZC26','ZUL2','ZUG2')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means that filed value may be any one from that group of values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987387#M705472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:13:53Z</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/2987388#M705473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have another question, whats the use of this field .....kinak = ' '......in the below sample code??what does this refer to??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select kschl sakn1 kwert from konv into table con&lt;/P&gt;&lt;P&gt;for all entries in doc&lt;/P&gt;&lt;P&gt;where knumv = doc-knumv&lt;/P&gt;&lt;P&gt;and kinak = ' '&lt;/P&gt;&lt;P&gt;and kschl in ('ZU01','R100','ZC25','ZDTR','ZDTL','ZDTP','ZDDA','ZRET','ZD06','ZDMI','ZDNP','ZDNE','ZDTD',&lt;/P&gt;&lt;P&gt;'ZC20','ZC01','ZC02','ZC03','ZC04','ZC05','ZC06','ZC07','ZC10','ZC14','ZC18','ZM09','ZC19',&lt;/P&gt;&lt;P&gt;'ZC27').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gerald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987388#M705473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:20:58Z</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/2987389#M705474</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;If the condition type is inactive then KINAK will be not initial..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case KINAK = ' '  means condition is active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-problem/m-p/2987389#M705474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:23:37Z</dc:date>
    </item>
  </channel>
</rss>

