<?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: Hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895699#M680699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If they are DATABASE VIEWS you can fetch the data from them like how you fetch data from the Transparent tables only using the SELECT statements&lt;/P&gt;&lt;P&gt;by using the key fields joiing from both like VBELN and POSNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 04:54:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-18T04:54:26Z</dc:date>
    <item>
      <title>Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895698#M680698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Hear I am having two views from these views How i will  retrive the data depending upon the condiations, the views are having some fields from vbep and vbak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 04:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895698#M680698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T04:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895699#M680699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If they are DATABASE VIEWS you can fetch the data from them like how you fetch data from the Transparent tables only using the SELECT statements&lt;/P&gt;&lt;P&gt;by using the key fields joiing from both like VBELN and POSNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 04:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895699#M680699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T04:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895700#M680700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If u are asking about the coding, u can simply write normal selects in ur code on the views and it will give u the data.&lt;/P&gt;&lt;P&gt;for extracting the data from two views having some key fields in common, u can use Joins on the two views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 04:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895700#M680700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T04:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895701#M680701</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;&amp;lt;b&amp;gt;Importance/Use of Views&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data for an application object is often distributed on several database tables. Database systems therefore provide you with a way of defining application-specific views on the data contained in several tables. These are called views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data from several tables can be combined in a meaningful way using a view (join). You can also hide information that is of no interest to you (projection) or only display those data records that satisfy certain conditions (selection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A view is a logical view on one or more tables, that is, a view is not actually physically stored, instead being derived from one or more other tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data of a view can be displayed exactly like the data of a table in the extended table maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Join, Projection and Selection &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CROSS PRODUCT&lt;/P&gt;&lt;P&gt;Given two tables TABA and TABB. Table TABA has 2 entries and table TABB has 4 entries &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each record of TABA is first combined with each record of TABB. If a join condition is not defined, the cross product of tables TABA and TABB is displayed with the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Join condition&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;A join condition describes how the records of the two tables are connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Inner Join and Outer Join &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join. &lt;/P&gt;&lt;P&gt;With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view. &lt;/P&gt;&lt;P&gt;With an outer join, records are also selected for which there is no entry in some of the tables used in the view. (ABAP allows left outer join.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Projection&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Sometimes some of the fields of the tables involved in a view are not of interest. The set of fields used in the view can be defined explicitly (projection). In our example, Field 4 is of no interest and can be hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We specify the fields which we need to show in our view by including them under the view flds tab when creating a view in the dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Selection Conditions&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection conditions that are used as a filter can be defined for a view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifying these conditions under the Selection conditions tab when creating a view in the dictionary would have an effect which is similar to specifying a where clause when writing a select query to restrict data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 04:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895701#M680701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T04:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895702#M680702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give the syntax how to retrive data and stored into an internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 04:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895702#M680702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T04:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895703#M680703</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;selecting from view in this case and selecting from table is same.Because in this view, the data is only selected from t880 table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 05:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895703#M680703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T05:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895704#M680704</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 a&lt;SUB&gt;matnr a&lt;/SUB&gt;mtart b&lt;SUB&gt;werks into corresponding fields of table itab from mara as a join marc as b on a&lt;/SUB&gt;matnr = b&lt;SUB&gt;matnr where a&lt;/SUB&gt;matnr in s_matnr and b~werks in s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in place of Mara and Marc u can use ur views and the S_matnr and s_werks are the select options defined in ur code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Please reward points for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 05:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2895704#M680704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T05:14:33Z</dc:date>
    </item>
  </channel>
</rss>

