Domain vs. Check Table

I am a functional person but came across the topic of domains vs. check tables when discussing the addition of additional customer fields into ECC.  What is the difference between these two and when should either be used?

Domain Values, refer to all the possible values that the particular domain can take. These values will be taken up from a table, that will be specified in the 'value table' field during the domain definition.
Check Table, refers to the foriegn key table that is associated with the corresponding table field.
Foriegn Key table, is the table with which any value being entered for the corresponding field, is checked. If this value is found in this table only then is it added/changed in the database table.
They are primarily used to restrict values on a field.
Example. If there is a Domain zemp_numb, which is used to store the employee numbers.
The Value table for this table - znumbers, has values defined from 1 to 9999.
If this domain is used in a table field, then the first filter is set the domain value, by restricting on the values present in znumbers ie 1 - 9999.
Additonally, if a foriegn key relationship is specified, then the values are futher restricted, to those present in the this table.
if the check table is say zemp_num having number only from 1 to 100. Then the field for which this is a check table can take values only from 1 to 100 and not from 1 too 9999.

Similar Messages

  • Check table and value table -Example

    Hi Experts
                  Please give me the step by step procedure to create the check table and value table, and how to work on it.
    Thanks in advance.
    Regards
    Rajaram

    Hi
    Check Table is for Field level Validation whereas Value table is for Domain Level Validations.
    Value Table proposes table for check table.
    I think you are clear with this.
    more elaborate.
    Check Table
    The Check Table is the table used by system to check if a data exist or not exist.
    While creating a table if you want to be sure that a field can have some values
    and these are in a certain table, you can give IT this table as CHECK TABLE.
    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values. For example you go to Domain SHKZG - Debit/credit indicator.
    Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . .
    To be maintained as a customization object.
    This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Differences:
    1)check table will carry out the check for input values for the table field being entered in any application
    and value table will provide values on F4 help for that table field.
    2)The check table defines the foreign keys and is part of the table definition.
    The value table is part of the domain definition.
    check table is validation at field level.
    value table is at domain level.
    Value table is defined at the domain level and is used to provide F4 help for all the fields which refer to that domain.
    Check table is defined against a field in SE11 if you want the values in that field to be checked against a list of valid values. For e.g. if you are using the field matnr in a table you could define MARA as the check table.
    Also while defining a check table SAP proposes the value table as check table by default. Referring to the previous example if you tried to define a check table for the matnr field SAP would propose MARA as the check table.
    1. what is the purpose / use ?
    -- so that the user can select values
    from some master table , for that field !!!!
    2. This is done by
    CHECK TABLE (foreign key concept)
    (and not value table)
    3. When we create a check table for a field,
    then
    some DEFAULT table is PROPOSED
    4. that DEFAULT table is nothing
    but PICKED up from the domain of that field,
    and shown from the value of VALUE TABLE.
    CHECK TABLE -it is a parent table.
    for example..
    i have two tables ZTAB1 and ZTAB2.
    I have one common field in both the tables,i can make any ztable to be the check table .If i make Ztab1 to be the check table then when i have to make an entry in ztab2 i will check whether ztab1 is having that value or not..
    its also field level checking..
    Valuetable-It is nothing but default check table.
    one parent can have n number of child tables.For example
    For ztable we have zchild1 and zchild2 tables r there.
    Its domain level checking..When zchild2 uses the same domain as used by zchild1 then the system automatically generates a popup saying a check table already exists would u want to maintain it.
    go to domain and then press the value tab u can see the valuetable at the end...
    Please refer the links below,
    d/r b/n check and value table?
    wjhat is the exct difference between check table and value table
    what is the check table and value table
    check table and value table
    Re: wjhat is the exct difference between check table and value table
    http://www.sap-img.com/abap/difference-between-a-check-table-and-a-value-table.htm

  • Value and check tables

    Hi
    If check table is there for field validation then what is the exclusive use and purpose of value table. Also viceversa?

    Check Table is for Field level Validation whereas Value table is for Domain Level Validations.
    Value Table proposes table for check table.
    I think you are clear with this.
    more elaborate.
    Check Table
    The Check Table is the table used by system to check if a data exist or not exist.
    While creating a table if you want to be sure that a field can have some values
    and these are in a certain table, you can give IT this table as CHECK TABLE.
    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values. For example you go to Domain SHKZG - Debit/credit indicator.
    Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . .
    To be maintained as a customization object.
    This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Differences:
    1)check table will carry out the check for input values for the table field being entered in any application
    and value table will provide values on F4 help for that table field.
    2)The check table defines the foreign keys and is part of the table definition.
    The value table is part of the domain definition.
    check table is validation at field level.
    value table is at domain level.
    Value table is defined at the domain level and is used to provide F4 help for all the fields which refer to that domain.
    Check table is defined against a field in SE11 if you want the values in that field to be checked against a list of valid values. For e.g. if you are using the field matnr in a table you could define MARA as the check table.
    Also while defining a check table SAP proposes the value table as check table by default. Referring to the previous example if you tried to define a check table for the matnr field SAP would propose MARA as the check table.
    1. what is the purpose / use ?
    so that the user can select values
    from some master table , for that field !!!!
    2. This is done by
    CHECK TABLE (foreign key concept)
    (and not value table)
    3. When we create a check table for a field,
    then
    some DEFAULT table is PROPOSED
    4. that DEFAULT table is nothing
    but PICKED up from the domain of that field,
    and shown from the value of VALUE TABLE.
    CHECK TABLE -it is a parent table.
    for example..
    i have two tables ZTAB1 and ZTAB2.
    I have one common field in both the tables,i can make any ztable to be the check table .If i make Ztab1 to be the check table then when i have to make an entry in ztab2 i will check whether ztab1 is having that value or not..
    its also field level checking..
    Valuetable-It is nothing but default check table.
    one parent can have n number of child tables.For example
    For ztable we have zchild1 and zchild2 tables r there.
    Its domain level checking..When zchild2 uses the same domain as used by zchild1 then the system automatically generates a popup saying a check table already exists would u want to maintain it.
    go to domain and then press the value tab u can see the valuetable at the end...
    Please refer the links below,
    d/r b/n check and value table?
    wjhat is the exct difference between check table and value table
    what is the check table and value table
    check table and value table
    Re: wjhat is the exct difference between check table and value table
    http://www.sap-img.com/abap/difference-between-a-check-table-and-a-value-table.htm
    <REMOVED BY MODERATOR>
    GAURAV J.
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 3:29 PM

  • Problem in assigning check table to a table field

    Hi Champs,
    I have a requirement where I need to assign a check table to POSID field(same as of table PRPS) of my Custom Table. I know there is as such no check table for this field but is there any way to put check for the value entered in this field.
    Regards,
    Nishant

    Hi,
    If you only want to validate the field values then try to use Value Table.
    use that table in the domain (PS_POSID) of this perticuler field.
    Hope this will solve your problem.
    Regards,
    Raj Gupta

  • Check table and its effect in AET - Application Enhancement Tool

    Hi fellows,
    I created a Z-field using AET, and assigned a check table to it. I did not populate the dropbox values, as I have a check table for the field. As far as I know, a check table for a field means "you cannot enter a value which is not stored in the check table", is that false?
    I made my field visible in the configuration, but I am able to enter any value in that field.
    For your concern, the check table I assigned to my field is "BUT000". As you can tell, my aim is to restrict a user to enter a value here only by business partner numbers. I did check the structure INCL_EEW_BUT000 too, under the .INCLUDE here comes my new Z-field. When I click on it, it shows that its check table is BUT000, and its domain is BU_PARTNER, which comes with no surprise. Its length is 10 CHAR as well. But in the transaction, I am still able to enter any value there.
    Is there any other thing I should be doing?
    Thanks,

    Closed.
    Fyi, I've been testing AET with check table on an IDES system (SAP CRM 7.0). There are oss notes available about AET/check table program errors for SAP CRM 7.0 with correction instructions. In CRM 7.0 EhP1, that issue's been solved. In 7.0 EhP1 if you do exactly as I've done, no problems will occur about populating field values of the check table.

  • Add new fields with EEW and assign a standard check table?

    Hi,
    I would like to add more language fields to a BP - Sold-to (Organization). As I see, one possibility is to use EEW.
    Is it then possible to link this field to an existing check table in order to get the existing langauge codes by default?
    Thanks in advance!
    //a

    Hi,
    Actually i am working on the similar task. I added 2 custom fields in order item level using EEWB. I added the check table to my custom field but for some reason it wouldn't show up. So i added the values to the DOMAIN assigned to the custom field and the values showed up on the screen in the seatch help.
    I am actually still trying to find other possibilities. I will let you know if i find any.
    Hope this helps you,
    Karuna.

  • Reg value table and check table

    Hi Friends,
        I have defined a value table(ZVALTAB) for a domain and defined the relation ship between check table(ZCHKTAB) and dependent table(ZDEPTAB). Here value table and check table both are different. My problem is while I am entering the values into check table, it is not restricting the values to enter into check table even those values are not in value table. And while I am entering values into the dependent table through the menu option Utilities->Create entries then also foreign key is not working. But when I use the SM30 then the foreign key is working. So can any body explain me when this value table restrict the values and why the option Utilities->Create entries is not validating the foreign key relation ship.
    Sathish Reddy

    Hi,
      Value Table will just provide you the possible set of values.  It won't restrict u for the wrong entries.  Moreover whenever u enter entries thru Create entries no user interface is available.  The constraints whatever we give is not at all stored in the Data Dictionary.  Only the user interface which takes care all about this.  Hence it wont restrict you.  For this u have to create table maintenance generator for your table.  Then it will restrict the values against check table.
    Both Value table and Check table will provide u possible set of values.  But only the check table will restrict the values.
    Hope this will help u.

  • Prob while using check table

    Hi
    I am trying to create a table in SE11.
    The problem is, for 1 field I am using check table. But while creating the entries it is just acting as a value table, not as check table. Same thing is repeating in the case of fixed values to domain also.
    Please help me in this regard.

    Hi,
    Assign the Foriegn key relationship to the field and creating the foreign key relation ship check whether the check box check required  is check are not.
    Thanks,
    Khushboo.
    Edited by: khushboo Brahmbhatt on Sep 1, 2008 8:28 AM

  • Check table not working for custom field in tcode CAT2.

    Hi Guys,
    I have created a ZCITY table for Plant which has below  3 field
    Code (5 Char) u2013 Key field
    Spras (2 char ) Language u2013 Key field
    Description (40 Character)
    I have added a custom field ZZCITY in CI_CATSDB  with check table as ZCITY.
    Now in tcode CAT2, when I enter the city code (eg. 12345) thru keyboard. 12345 does not exist in table ZCITY.
    System is not giving any error message.
    How I can I validate the input data using check table.
    Thanks,

    HI
    At the Domain Level of field ZZCITY enter the VALUE TABLE field in the Value Range Tab of the Domain.
    Cheers & Happy Diwali
    Ram

  • Existing Customized COPA characteristic to add check table

    Hi,
    I already have this customized COPA characteristic- tied to an operating concern. This COPA characteristic uses a customized data element.
    Now I want to add a check table to it. I have already added a Value Table to the domain of the characteristic's data element. But in t-code: KEA5, the characteristic still does not show the check table under the 'Validation' section. Also in KEA5, it does not allow me to edit the characteristic.
    Does anyone know how I can add the check table under the 'Validation' section in KEA5? Your help is very much appreciated!
    Thank you.

    Hello, I have to apply the scenario 3 of the sapnote 70623 also, but I am having problem when try to change the domain for the data element RKEG_WW403.. Object name RKEG_WW403 reserved for generated objects in package KEG0. 
    Object name RKEG_WW403 reserved for generated objects in package KEG0
    Message no. TR247
    Diagnosis
    The object name belongs to a name range protected for generated objects.
    This name is used by generation functions and is reserved for package KEG0.
    Procedure
    Create object:
    Choose a different object name.
    If you want to keep this object name for a particular reason, enter package KEG0. The object is automatically flagged as generated when it is created.
    Change object:
    To allow repairs, the object can be changed.
    Thanks for your help!!!!

  • Difference between a value table and a check table?

    What is the difference between a value table and a check table?

    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values.   For example  you go to Domain   SHKZG - Debit/credit indicator.  Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Check table
    For example you have Employee master table & Employee Transaction table.
    When ever an employee Transacts we need to check whether that employee exists , so we can refer to the employee master table.
    This is nothing but a Parent & Child relationship .  Here data can be maintained at client level , no development involved.
    As per DBMS what we call foregin key table, is called as check table in SAP.
    Reward points for the answer

  • Regarding check table

    Hi,
    Is it possible to enter a value into our ztable which not in check table?
    please clarify  on value and check table.
    regards
    ram.

    Hi
    Difference between a check table and a value table
    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values. For example you go to Domain SHKZG - Debit/credit indicator. Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Check table
    For example you have Employee master table & Employee Transaction table.
    When ever an employee Transacts we need to check whether that employee exists , so we can refer to the employee master table.
    This is nothing but a Parent & Child relationship . Here data can be maintained at client level , no development involved.
    As per DBMS what we call foregin key table, is called as check table in SAP.
    There is 1 more important Difference in Value Table and Check Table is that:
    1. The contents of the check will be used as an input help(F4 Help) for a particular field on which a check table is assigned.
    But the contents of Value Table are never used in Input Help.
    The Heirarchy which decides from where to used the Input Help is:
    1. Input help defined explicitly in ABAP Program or Dialog Module.
    2. Input Help Attached to the referenced Database Table field.
    3. Using the contents of Check Table as an input help if neither (1) or (2) help are there.
    4. Input help from Fixed value or Value range given in Domain.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Values from check table to Dropdown

    Hi Experts,
                    I have a requirement like, i want to show the values from a check table in dropdown list. i have two transparent table of which i made a foreign key relation with the second one with some value restrictions. That all working fine.  
        I tried creating an input box with reference to the field in the first table.then the search help is comming correctly with the valus from check table. But when i tried to attach the same to dropdown its not displaying the value.
    please suggest a solution to display the values in drop down.
    Regards
    Sarath
    Message was edited by:
            sarath satheesan

    hi sarath.........
              consider you want to have some 10 purchase order numbers in your drop down.
              you will be assigning a node to your drop down.
              in its supply function, write the codings to fill your node by using a select query.
               just like filling a table.
               in this case, your drop down gets filled automatically.
    --regards,
      alex b justin

  • Check table TFBEFU_CR: entry 10   does not exist

    Dear all
    When i am doing GR for Order (T.Code : MB31),the system displays the following message.
    Check table TFBEFU_CR: entry 10   does not exist
    plz give me the solution as early as possible,bcaz it is very urgent to me.
    Thanks in advance.
    Regards
    Basava sreenu

    Dear Mr.Basava,
    I'm not sure,but try with this.
    For the particular material which you are using in MB31 for Good's receipt for
    Order,check whether the storage location is present in  T code MMSC-Extend
    material storage location.If not add and save,then try in MB31.
    If useful reward points.
    Regards
    Mangal

  • How can we restrict the f4 help from check table in the pop up form.

    Hi,
    I am trying to control the F4 help values from check table coming in the form of pop up.

    When a user uses SM30 to add an entry into table, you often need to add more checks. If you were to add code inside, there is a big chance that it would be overwritten.
    The solution: go to table maintenance generator ( se56) => Enviroment => add event.
    [To add event in table main.|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc]

Maybe you are looking for