<?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: IN operator in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773985#M908121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever u use select options u have to use &lt;STRONG&gt;IN&lt;/STRONG&gt; operator in select options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eq: &lt;STRONG&gt;select-options: so_matnr type mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*select * from mara into table itab where matnr &lt;STRONG&gt;IN&lt;/STRONG&gt; so_matnr*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 13:40:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T13:40:47Z</dc:date>
    <item>
      <title>IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773983#M908119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what does IN operator do?what is its importance in select statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773983#M908119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773984#M908120</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 u declare input field in &lt;STRONG&gt;select-options&lt;/STRONG&gt; you will use &lt;STRONG&gt;in&lt;/STRONG&gt; is select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS : LIFNR FOR ZGATEPASSHDR-LIFNR.

 SELECT A~GEXNO A~MJAHR A~WERKS A~LIFNR A~ERDAT
         A~PURPET A~KOSTL A~REPNAM A~RETBL
         INTO CORRESPONDING FIELDS OF TABLE ITAB
         FROM ZGATEPASSHDR AS A INNER JOIN
              ZGEPLANT AS B ON
          A~CLIENT = B~MANDT AND
          A~GEXNO = B~MBLNR
      WHERE A~WERKS = WERKS AND
           *A~LIFNR IN LIFNR AND
*            b~gexno in gexno
            B~MBLNR IN GEXNO AND
            B~ERDAT IN ERDAT AND
*            b~xblnr =  ' ' AND
            A~DELGP EQ  ' '  .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773984#M908120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773985#M908121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever u use select options u have to use &lt;STRONG&gt;IN&lt;/STRONG&gt; operator in select options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eq: &lt;STRONG&gt;select-options: so_matnr type mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*select * from mara into table itab where matnr &lt;STRONG&gt;IN&lt;/STRONG&gt; so_matnr*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773985#M908121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773986#M908122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;selection-option : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you enter 1 to 100 in the material number selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table itab where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it will check the ranges of material 1 to 100.&lt;/P&gt;&lt;P&gt;IN Means&lt;/P&gt;&lt;P&gt;select the material from mara where material in between 1 to 100.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773986#M908122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773987#M908123</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;IN Operator is similar to Between Operator in SQL.&lt;/P&gt;&lt;P&gt;It makes  Select statement  to fetch data between a range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope U understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773987#M908123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773988#M908124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;  INTO TABLE itab&lt;/P&gt;&lt;P&gt;  FROM ztable&lt;/P&gt;&lt;P&gt;  WHERE customer = p_customer&lt;/P&gt;&lt;P&gt;  AND payment_status IN ('01','02').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here u will get all the data from ztable where payment_status = 01 &lt;/P&gt;&lt;P&gt;and all the data from ztable where payment_status = 02.&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BrightSide on May 2, 2008 2:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:58:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773988#M908124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: IN operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773989#M908125</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;We use IN  when we need to select data with select-options and ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options and ranges have the structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sign&lt;/P&gt;&lt;P&gt;Option&lt;/P&gt;&lt;P&gt;Low&lt;/P&gt;&lt;P&gt;High&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sign can be I (include of selection) and E (Exclude of selection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option can be EQ, NE, GT, GE, LT, LE, BT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options and ranges are internal tables, so they have many occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 14:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-operator/m-p/3773989#M908125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T14:24:28Z</dc:date>
    </item>
  </channel>
</rss>

