<?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: tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579885#M861834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        The basic difeerence between table and check table is;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table: Table is collection of rows and called as fields.Tables hold the persistent data.The data remains same unless it is deleted or removed by some external programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check table:This exists at field level to check the existance of field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******&lt;STRONG&gt;If usefull reward points&lt;/STRONG&gt;***********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2008 10:44:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-02T10:44:49Z</dc:date>
    <item>
      <title>tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579881#M861830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wats da difference between a table and a check table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 04:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579881#M861830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T04:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579882#M861831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;check table is nothing bt field level checking &amp;amp; value table is domain level checking. u can understand it with this ex scarr table is check table for carried.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relational data model contains not only tables, but also relationships between tables. These relationships are defined in the ABAP/4 Dictionary by foreign keys. An important function of foreign keys is to support data integrity in the relational data model. Foreign key fields may assume only those values allowed by the check table, in other words, values occurring in the primary key of the check table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A foreign key provides a link between two tables, for eg.,T1 and T2 by including a reference in table T1 to the primary key of table T2. For this purpose, Foreign key fields assigned to the primary key fields of T2 are included in T1. Table T1, which is the one being checked, is called a foreign key table, and table T2 is called a check table. The terms dependent (foreign key) table and referenced (check) table are also used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE TABLE:If the domain of the check field has a value table, this is proposed by the system as check table in the foreign field maintenance. The key fields of the value table are in this case assigned fields of the foreign key table with the same domain. These fields may assume only those values allowed by the value table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value range of the domain can be defined by specifying value table.All table fields referring to this domain can then be checked against the corresponding field of this value table.In order the check can be executed, a foreign key must be defined for the value table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 05:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579882#M861831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T05:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579883#M861832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wats da difference between a normal table( not a value table ) and a check table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 05:07:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579883#M861832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T05:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579884#M861833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   The check table is the table contains all values can be contained in another table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example you want to create a new table where a field is LIFNR (vendor), now you should allow only vendor defined in SAP can be inserted in your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it in dictionary inserting a check table (in this case LFA1) for field LIFNR of your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you create a dialog program to insert a new record in your table and you use ZTABLE-LIFNR as input field, if user tried to insert a vendor there isn't in LFA1, the system automatically triggers an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't use the check table, you should do this control by yourself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM LFA1 WHERE LIFNR = ZTABLE-LIFNR.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC 0. ERROR. ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway nobody can prevent an error enter by command INSERT or MODIFY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF LFA1-LIFNR = 'AAAAAAAAAA' isn't in the table LFA1, you could write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZTABLE-LIFNR = 'AAAAAAAAAA'.&lt;/P&gt;&lt;P&gt;INSERT ZTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is an your error during the development of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Chk this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dev.mysql.com/doc/maxdb/en/ee/1c5bcdeba711d4aa2800a0c9430730/content.htm" target="test_blank"&gt;http://dev.mysql.com/doc/maxdb/en/ee/1c5bcdeba711d4aa2800a0c9430730/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 05:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579884#M861833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T05:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579885#M861834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        The basic difeerence between table and check table is;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table: Table is collection of rows and called as fields.Tables hold the persistent data.The data remains same unless it is deleted or removed by some external programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check table:This exists at field level to check the existance of field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******&lt;STRONG&gt;If usefull reward points&lt;/STRONG&gt;***********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 10:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579885#M861834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T10:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579886#M861835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Value table - It's a field in a domain it helps in domain level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check table - unlike value table it helps in feild level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check table is nothing bt field level checking &amp;amp; value table is domain level checking. u can understand it with this ex scarr table is check table for carried. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relational data model contains not only tables, but also relationships between tables. These relationships are defined in the ABAP/4 Dictionary by foreign keys. An important function of foreign keys is to support data integrity in the relational data model. Foreign key fields may assume only those values allowed by the check table, in other words, values occurring in the primary key of the check table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A foreign key provides a link between two tables, for eg.,T1 and T2 by including a reference in table T1 to the primary key of table T2. For this purpose, Foreign key fields assigned to the primary key fields of T2 are included in T1. Table T1, which is the one being checked, is called a foreign key table, and table T2 is called a check table. The terms dependent (foreign key) table and referenced (check) table are also used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE TABLE:If the domain of the check field has a value table, this is proposed by the system as check table in the foreign field maintenance. The key fields of the value table are in this case assigned fields of the foreign key table with the same domain. These fields may assume only those values allowed by the value table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value range of the domain can be defined by specifying value table.All table fields referring to this domain can then be checked against the corresponding field of this value table.In order the check can be executed, a foreign key must be defined for the value table. &lt;/P&gt;&lt;P&gt;The Check Table is the dependent table to which the relationship is defined using foreign keys. The contents of the check table field are shown in the input help for the referenced field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Value table is the table attached to a field at the domain level, where the entry to the field can be only from the value table. They are not used in the Input Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Value table becomes check table?&lt;/P&gt;&lt;P&gt;while establishing foriegn key relation between check table and foriegn key table if at the domain level value table is provided then the system will prapose that value table as check table if you accept this prposal then value table will becomes check table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;Sravani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 11:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3579886#M861835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T11:49:11Z</dc:date>
    </item>
  </channel>
</rss>

