<?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: general in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221492#M477075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To combine the fields we can do some codings and do join the fields from two different tables .But we can't store the fields which is being joined in any table  .But in  maintainence view we can store the fields which is being joined from two  tables .When we use the JOIN operation we can view the fields only in runtime which is being joined .&lt;/P&gt;&lt;P&gt;   There are two types of joins:&lt;/P&gt;&lt;P&gt;                                          Inner join &lt;/P&gt;&lt;P&gt;                                          Outer join &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we use inner join,it is based on common fields from both tables . According to ur tables ,it will consider the studentid from student table and marks table,if there is a studentid (001) in student table and also in marks table ,then it will show the other corresponding fields ,related to that id .&lt;/P&gt;&lt;P&gt;Suppose if  that id (001) is not present in the marks table ,then it will not display any of the related field for that id .&lt;/P&gt;&lt;P&gt; Ex: Create one table YCL_EMPPER  with employee id ,name and another table YCL_EMPPAY with salary field .&lt;/P&gt;&lt;P&gt;REPORT  YCL_SELECT_JOINS                        .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: begin of wa_tab,&lt;/P&gt;&lt;P&gt;   empid like YCL_EMPPer-empid,&lt;/P&gt;&lt;P&gt;   name like YCL_EMPPER-name,&lt;/P&gt;&lt;P&gt;   sal like YCL_EMPPAY-sal,&lt;/P&gt;&lt;P&gt;   end of wa_tab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   it_tab like table of wa_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select p&lt;SUB&gt;empid p&lt;/SUB&gt;name q~sal into table it_tab&lt;/P&gt;&lt;P&gt;FROM YCL_EMPPER as p INNER JOIN YCL_EMPPAY as q&lt;/P&gt;&lt;P&gt;          ON p&lt;SUB&gt;empid = q&lt;/SUB&gt;empid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_tab into wa_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / wa_tab-empid, wa_tab-name, wa_tab-sal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2007 10:51:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-08T10:51:21Z</dc:date>
    <item>
      <title>general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221488#M477071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have created two tables ie zstudent and zstudentmarks and i have maintained data by using table maintanence generator if we want to combine the fields can we use only maintanence view (i know how to creat eusing database view)?if so how plz reply to me. points will be rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 10:09:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221488#M477071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T10:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221489#M477072</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;&lt;/P&gt;&lt;P&gt;for combining fields from more than one tables we can use database view also.but maintainance is not possible with database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 10:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221489#M477072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T10:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221490#M477073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct me if I'm wrong: you want to create a custom view for the mentioned custom tables? If so, this can be done with SE11. Create a view then maintain it with short description, table selection and join definition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 10:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221490#M477073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T10:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221491#M477074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link ,this ll give you complete idea about the maintenance view,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecdf446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecdf446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 10:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221491#M477074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T10:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221492#M477075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To combine the fields we can do some codings and do join the fields from two different tables .But we can't store the fields which is being joined in any table  .But in  maintainence view we can store the fields which is being joined from two  tables .When we use the JOIN operation we can view the fields only in runtime which is being joined .&lt;/P&gt;&lt;P&gt;   There are two types of joins:&lt;/P&gt;&lt;P&gt;                                          Inner join &lt;/P&gt;&lt;P&gt;                                          Outer join &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we use inner join,it is based on common fields from both tables . According to ur tables ,it will consider the studentid from student table and marks table,if there is a studentid (001) in student table and also in marks table ,then it will show the other corresponding fields ,related to that id .&lt;/P&gt;&lt;P&gt;Suppose if  that id (001) is not present in the marks table ,then it will not display any of the related field for that id .&lt;/P&gt;&lt;P&gt; Ex: Create one table YCL_EMPPER  with employee id ,name and another table YCL_EMPPAY with salary field .&lt;/P&gt;&lt;P&gt;REPORT  YCL_SELECT_JOINS                        .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: begin of wa_tab,&lt;/P&gt;&lt;P&gt;   empid like YCL_EMPPer-empid,&lt;/P&gt;&lt;P&gt;   name like YCL_EMPPER-name,&lt;/P&gt;&lt;P&gt;   sal like YCL_EMPPAY-sal,&lt;/P&gt;&lt;P&gt;   end of wa_tab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   it_tab like table of wa_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select p&lt;SUB&gt;empid p&lt;/SUB&gt;name q~sal into table it_tab&lt;/P&gt;&lt;P&gt;FROM YCL_EMPPER as p INNER JOIN YCL_EMPPAY as q&lt;/P&gt;&lt;P&gt;          ON p&lt;SUB&gt;empid = q&lt;/SUB&gt;empid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_tab into wa_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / wa_tab-empid, wa_tab-name, wa_tab-sal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 10:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221492#M477075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T10:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221493#M477076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; maintainance views can used for a sigle table only.you cant use maintainainance views for two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 11:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2221493#M477076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T11:20:19Z</dc:date>
    </item>
  </channel>
</rss>

