<?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: View select problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708737#M627716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i want to select from view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2007 09:31:56 GMT</pubDate>
    <dc:creator>sudhakar196</dc:creator>
    <dc:date>2007-08-13T09:31:56Z</dc:date>
    <item>
      <title>View select problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708735#M627714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having view name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAP_VAPMA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this view i am having two same field SPART, one from VAPMA,one from VBAP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i write select query  to retrieve from second table, both SPART having idfferent values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i write &lt;/P&gt;&lt;P&gt;select spart from VBAP_VAPMA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is retrieving data from VAPMA , i want from VBAP.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 09:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708735#M627714</guid>
      <dc:creator>sudhakar196</dc:creator>
      <dc:date>2007-08-13T09:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: View select problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708736#M627715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT VBAP~SPART&lt;/P&gt;&lt;P&gt; &amp;lt;and some more fields you want to select&amp;gt;&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;FROM VBAP AS VBAP INNER JOIN VAPMA AS VAPMA&lt;/P&gt;&lt;P&gt;WHERE VBAP-SPART EQ VAPMA-SPART.&lt;/P&gt;&lt;P&gt;&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 09:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708736#M627715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T09:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: View select problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708737#M627716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i want to select from view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 09:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708737#M627716</guid>
      <dc:creator>sudhakar196</dc:creator>
      <dc:date>2007-08-13T09:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: View select problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708738#M627717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhakara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to select from the table, you need to do that by giving the table name. From view, it will give only those values which satisfy the join condition. You cannot select individually from the tables using view select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 09:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708738#M627717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T09:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: View select problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708739#M627718</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;Since SPART from VBAP is not in your VIEW FIELDS you will not be able to get the value using a SELECT on this VIEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use INNER JOIN on the tables to get the value for VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you open the view in SE11 you can see that SPART for VBAP is marked with '-' meaning this has been excluded from the view fields since the same field is there in the other table.&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>Mon, 13 Aug 2007 09:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-select-problem/m-p/2708739#M627718</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-13T09:38:44Z</dc:date>
    </item>
  </channel>
</rss>

