<?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: regarding fetching data from diff tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462677#M552688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;as per requirement u can access more than one table through join commands&lt;/P&gt;&lt;P&gt;there is 2 types of join, one inner join and another is outer join. this will solve the problem. if u need I can send the code also.&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Roopesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 10:39:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T10:39:55Z</dc:date>
    <item>
      <title>regarding fetching data from diff tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462672#M552683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;  i wan to know how cud i fetch data from more than one table.should i use views for this..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462672#M552683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: regarding fetching data from diff tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462673#M552684</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;U can fetch the data from more than one dbtable using select statement  or creating a view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views are logical views on more than one table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ec5d446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ec5d446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the below link to create the Database view&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462673#M552684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: regarding fetching data from diff tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462674#M552685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx priyanka,&lt;/P&gt;&lt;P&gt; tell me how can i declare views in my program.&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;raman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462674#M552685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: regarding fetching data from diff tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462675#M552686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can fetch data from more than one table using JOINS&lt;/P&gt;&lt;P&gt;you join the table using key fields and fetch data&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 c&lt;/SUB&gt;lgort&lt;/P&gt;&lt;P&gt;into table itab &lt;/P&gt;&lt;P&gt;from mara as a Join marc as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;matnr = b&lt;/SUB&gt;matnr  join MARD as d&lt;/P&gt;&lt;P&gt;on b&lt;SUB&gt;matnr = c&lt;/SUB&gt;matnr and&lt;/P&gt;&lt;P&gt;    b&lt;SUB&gt;werks = c&lt;/SUB&gt;werks&lt;/P&gt;&lt;P&gt;where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again You can create database View with more than one table and write a select to that view, again in that view tables are to be linked with key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Database View (SE11) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462675#M552686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: regarding fetching data from diff tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462676#M552687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first link they have shown a example.Pls go through it, if doesn't help, reply back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Kusum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Reward all helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462676#M552687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: regarding fetching data from diff tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462677#M552688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;as per requirement u can access more than one table through join commands&lt;/P&gt;&lt;P&gt;there is 2 types of join, one inner join and another is outer join. this will solve the problem. if u need I can send the code also.&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Roopesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462677#M552688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: regarding fetching data from diff tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462678#M552689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can u plz send me the code if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fetching-data-from-diff-tables/m-p/2462678#M552689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:55:54Z</dc:date>
    </item>
  </channel>
</rss>

