‎2007 Oct 05 6:33 AM
‎2007 Oct 05 6:42 AM
Hi,
<b>Value tab</b>le is nothing but proposed check table.
while creating the <b>domain</b> you can give value table.
‎2007 Oct 05 6:47 AM
Hi,
<b>Value table</b> is nothing but a proposed check table.
while creating the <b>domain</b> you can give value table.
‎2007 Oct 05 6:48 AM
hi
Value Table
In some cases you can see when you define a domain that all the table fields or structure
components referring to this domain should be checked against a certain table. This information
can be stored in the domain by entering a value table.
The system proposes the value table as check table when you try to define a foreign key for the field or component. This proposal can be overridden.
Domain S_CARR_ID (data type CHAR, length 3) in the flight model
describes the three-place code of the airlines. All the airlines are listed together with
their codes in table SCARR. It is generally advisable to check fields referring to
domain S_CARR_ID against table SCARR. SCARR is therefore entered as value
table for domain S_CARR_ID. If you want to define a foreign key for a field referring
to S_CARR_ID, SCARR is proposed as the check table.
A check is not implemented by simply entering a value table! The check against the value table
only takes effect when a foreign key has been defined.
reward if u find useful
regards
Nagesh.Paruchuri
‎2007 Oct 05 6:49 AM
Ganapathi,
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.
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.
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.
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.
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.
Reward if helpful,
Karthik
‎2007 Oct 05 6:51 AM
Hi,
Value tables will help in validating the data entering in ur tables.
Suppose there is Mater table A containing field F..
And u r creating some other table B in which u want to use same field F.....so by giving the value table as A in domain level ....
By this the data in table B for field F will be automatically validated against data in table A for the same field.