<?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: create view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966511#M396898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1)   IN is not allowed since it is generally used with selection options. ALso you can alternatively use OR and mention all the conditions that you want to mention using IN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) YES but since IN is not possible you have to use like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT c&lt;SUB&gt;aaa c&lt;/SUB&gt;bbb c&lt;SUB&gt;ccc c&lt;/SUB&gt;ddd&lt;/P&gt;&lt;P&gt;FROM tab1 AS a INNER JOIN tab2 AS b ON a&lt;SUB&gt;xxx = b&lt;/SUB&gt;xxx&lt;/P&gt;&lt;P&gt;INNER JOIN tab3 AS c ON b&lt;SUB&gt;yyy = c&lt;/SUB&gt;yyy&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;WHERE a&lt;SUB&gt;xxx = i_xxx AND b&lt;/SUB&gt;type = '1'&lt;/P&gt;&lt;P&gt;AND ( a&lt;SUB&gt;zzz = '04' OR a&lt;/SUB&gt;zzz = '08' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2007 07:56:25 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-02-23T07:56:25Z</dc:date>
    <item>
      <title>create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966508#M396895</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;1) if i want to CREATE a VIEW base on the sql statement, I cannot find the 'IN' operator in the selection conditions tab in maintain view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT c&lt;SUB&gt;aaa c&lt;/SUB&gt;bbb c&lt;SUB&gt;ccc c&lt;/SUB&gt;ddd&lt;/P&gt;&lt;P&gt;FROM tab1 AS a INNER JOIN tab2 AS b ON a&lt;SUB&gt;xxx = b&lt;/SUB&gt;xxx&lt;/P&gt;&lt;P&gt;INNER JOIN tab3 AS c ON b&lt;SUB&gt;yyy = c&lt;/SUB&gt;yyy&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;WHERE a~xxx = i_xxx AND&lt;/P&gt;&lt;P&gt;a~zzz IN ('04' , '08') AND&lt;/P&gt;&lt;P&gt;b~type = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) let say i able to create a view base on the select statement above,&lt;/P&gt;&lt;P&gt;when i quote the select statement using view, the select statement is simplified as below:&lt;/P&gt;&lt;P&gt;select * from zview where a~xxx = i_xxx.&lt;/P&gt;&lt;P&gt;correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966508#M396895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966509#M396896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any help?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966509#M396896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966510#M396897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SE11 when you create the View, in the Selection Conditions tab,&lt;/P&gt;&lt;P&gt;you can have two lines with TAB2-ZZZ = '04'  OR&lt;/P&gt;&lt;P&gt;2nd line TAB2-ZZZ = '08'.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966510#M396897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966511#M396898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1)   IN is not allowed since it is generally used with selection options. ALso you can alternatively use OR and mention all the conditions that you want to mention using IN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) YES but since IN is not possible you have to use like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT c&lt;SUB&gt;aaa c&lt;/SUB&gt;bbb c&lt;SUB&gt;ccc c&lt;/SUB&gt;ddd&lt;/P&gt;&lt;P&gt;FROM tab1 AS a INNER JOIN tab2 AS b ON a&lt;SUB&gt;xxx = b&lt;/SUB&gt;xxx&lt;/P&gt;&lt;P&gt;INNER JOIN tab3 AS c ON b&lt;SUB&gt;yyy = c&lt;/SUB&gt;yyy&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;WHERE a&lt;SUB&gt;xxx = i_xxx AND b&lt;/SUB&gt;type = '1'&lt;/P&gt;&lt;P&gt;AND ( a&lt;SUB&gt;zzz = '04' OR a&lt;/SUB&gt;zzz = '08' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966511#M396898</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-02-23T07:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966512#M396899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sesha,&lt;/P&gt;&lt;P&gt;the sql statement is working fine.&lt;/P&gt;&lt;P&gt;i am actually asking on creating view.&lt;/P&gt;&lt;P&gt;i got the 1st question and i need the clarification on my 2nd question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966512#M396899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T08:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966513#M396900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AS PER YOR 2ND QUESTION YOU ARE CORRECT OR YOU CAN USE IT WITHOUT WHERE ALSO IF YOU ADD THAT CONDITION IN VIEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966513#M396900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T08:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966514#M396901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shiba,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;i need to have where as the variable is passed from the abap program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966514#M396901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T08:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: create view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966515#M396902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI El,&lt;/P&gt;&lt;P&gt;   For your 2nd question you don't nee A~ you can simple write:&lt;/P&gt;&lt;P&gt;select * from zview where xxx = i_xxx.  "XXX must be a field in the view.&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-view/m-p/1966515#M396902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T08:37:39Z</dc:date>
    </item>
  </channel>
</rss>

