<?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: DATABASE TABLE FIELDS R CLIENT INDEP OR DEP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185959#M465448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A foreign key is a field (or fields) that points to the primary key of another table. The purpose of the foreign key is to ensure referential integrity of the data. In other words, only values that are supposed to appear in the database are permitted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, say we have two tables, a CUSTOMER table that includes all customer data, and an ORDERS table that includes all customer orders. The constraint here is that all orders must be associated with a customer that is already in the CUSTOMER table. In this case, we will place a foreign key on the ORDERS table and have it relate to the primary key of the CUSTOMER table. This way, we can ensure that all orders in the ORDERS table are related to a customer in the CUSTOMER table. In other words, the ORDERS table cannot contain information on a customer that is not in the CUSTOMER table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table fields are client independent whereas the data in a table is client dependent if the table has a client field in it and client indenpedent if it does not have the client field in it.&lt;/P&gt;&lt;P&gt;&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>Wed, 02 May 2007 14:32:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-02T14:32:13Z</dc:date>
    <item>
      <title>DATABASE TABLE FIELDS R CLIENT INDEP OR DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185957#M465446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PLS CARRIFY NY DOUBT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is foreign key .what is the purpose of it. pls tell abou this indetail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;database table fields are client indenpedent or dependent?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185957#M465446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE TABLE FIELDS R CLIENT INDEP OR DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185958#M465447</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;You can define the relationships between tables in the ABAP Dictionary by creating foreign keys&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea77446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea77446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables are Clinet Independent and the Data is the Client Dependent, we can see the data of a client in another client&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185958#M465447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE TABLE FIELDS R CLIENT INDEP OR DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185959#M465448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A foreign key is a field (or fields) that points to the primary key of another table. The purpose of the foreign key is to ensure referential integrity of the data. In other words, only values that are supposed to appear in the database are permitted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, say we have two tables, a CUSTOMER table that includes all customer data, and an ORDERS table that includes all customer orders. The constraint here is that all orders must be associated with a customer that is already in the CUSTOMER table. In this case, we will place a foreign key on the ORDERS table and have it relate to the primary key of the CUSTOMER table. This way, we can ensure that all orders in the ORDERS table are related to a customer in the CUSTOMER table. In other words, the ORDERS table cannot contain information on a customer that is not in the CUSTOMER table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table fields are client independent whereas the data in a table is client dependent if the table has a client field in it and client indenpedent if it does not have the client field in it.&lt;/P&gt;&lt;P&gt;&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>Wed, 02 May 2007 14:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185959#M465448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE TABLE FIELDS R CLIENT INDEP OR DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185960#M465449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Foreign Key mean that field is a primary key in another table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the sales order table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Order   customer  currency material&lt;/P&gt;&lt;P&gt;000000001    ABCD       INR        XYZ&lt;/P&gt;&lt;P&gt;000000002    ABCD       JPY        XYZ&lt;/P&gt;&lt;P&gt;000000003    ABCD       EUR        XYZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next, consider a table with amounts of sales order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales order  amount&lt;/P&gt;&lt;P&gt;000000001  1000&lt;/P&gt;&lt;P&gt;000000002  2000&lt;/P&gt;&lt;P&gt;000000003  3000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second table, all the sales order must exist in the first table. So it is a foreign key in second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database fields are cannot be client dependent. Entire tables can be client dependent or independent. If any table has a field MANDT of TYPE CLNT, then it is client dependent, else it is client independent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185960#M465449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE TABLE FIELDS R CLIENT INDEP OR DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185961#M465450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables (but not table fields) are either client dependent or independent. If the CLIENT field is part of the primary key then this table is client-dependent (e.g. table KNB1 has field MANDT as primary key field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you display table KNB1 in transaction SE11 you will see that field BUKRS has a foreign-key relation to table T001. This foreign-key relation takes cares that you cannot enter company codes that are not defined in the system (table T001).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185961#M465450</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-05-02T14:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE TABLE FIELDS R CLIENT INDEP OR DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185962#M465451</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;Have a look on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea77446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea77446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general Tables are client Independent only unless you make them client depedent at the time of creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185962#M465451</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-05-02T14:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE TABLE FIELDS R CLIENT INDEP OR DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185963#M465452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  what is foreign key .what is the purpose of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It comes into picture while designing database tables.&lt;/P&gt;&lt;P&gt;   Eg. In purchase order table, we can enter material number.&lt;/P&gt;&lt;P&gt;   This material number SHOULD always come from Material Master,&lt;/P&gt;&lt;P&gt;   so that wrong code is never entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;b&amp;gt;Hence, in the table for PO, we specify that field of material number&lt;/P&gt;&lt;P&gt;   as Foreign KEY and link it to the field of master table for material master.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  database table fields are client indenpedent or dependent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Client indepenent and dependent comes into picture&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;not for FIELDS&amp;lt;/b&amp;gt; ,&lt;/P&gt;&lt;P&gt;but for Data in which the table resides.&lt;/P&gt;&lt;P&gt;(or we can say table is client dependent or independent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&amp;lt;b&amp;gt;If the Table contains the first field as MANDT,&lt;/P&gt;&lt;P&gt;then it is client dependent, other wise not --- thats the only criteria)&amp;lt;/b&amp;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;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-fields-r-client-indep-or-dep/m-p/2185963#M465452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:43:02Z</dc:date>
    </item>
  </channel>
</rss>

