cancel
Showing results for 
Search instead for 
Did you mean: 

What is value table and check table

Former Member
0 Kudos

What is value table and check table

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

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.

plz rewards the point if it is useful..:-)

Rgds

Reshma

Answers (5)

Answers (5)

former_member196299
Active Contributor
0 Kudos

HI ,

below are some of the informations :

vALUE TABLE :

1) Value table does not provide any F4 help.

2) Value table does not provide any validation.

Only thing happened by specifying a Value table is: System proposes the value table name as the check table name when we try to create a foreign key relationship for the field and we can override this proposal.

Value table is defined at Domain level.

CHECK TABLE :

The ABAP Dictionary allows you to define relationships between tables using foreign keys. A dependent table is called a foreign key table, and the referenced table is called the check table. Each key field of the check table corresponds to a field in the foreign key table. These fields are called foreign key fields. One of the foreign key fields is designated as the check field for checking the validity of values. The key fields of the check table can serve as input help for the check field.

value tables:

Regards,

Ranjita

Former Member
0 Kudos

Hi,

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:

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.

A foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key fields of table T2. Table T2 is then known as the check table of the foreign key.

value table : when you define a domain, you already know that all fields that use the domain will need to be checked against a particular table. You can store this information in the domain definition by specifying a value table.

If you try to define a foreign key for a field that points to this domain, the value table of the domain is proposed as the check table for the foreign key.

Regards ,

Priyanka.

Former Member
0 Kudos

Hi Maheshkumar,

Check this info.

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.

Also Check this info.

CHECK TABLE----


VALUE TABLE

1. It works at table level.----


1. It works at a domain level.

2. It is a master table -


2. It provides a list of values

with a valid set of values.----


which will be automatically

-


proposed as a check table

-


while creating a foreign key

-


relationship.

3. The contents of this table----


3. It is a sort of master check.

will be used for input help----


for which the check table is -


assigned.----


4. It is called as foreign key----


4. It may also be maintained

table in DBMS.----


as a customization object,

-


which may require to

-


transport development request.

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.

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_help&query=value+table&adv=false&sortby=cm_rn...

Refer

Hope this resolves your query.

<b>Reward all the helpful answers.</b>

Regards

Former Member
0 Kudos

Hi Mahesh,

CHECK TABLE:

A foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key fields of table T2.

Table T1 is called the foreign key table (dependent table) and table T2 the check table (referenced table). The pair of fields for the two tables must have the same data type and length. One field of the foreign key table therefore corresponds to each key field of the check table. This field is called the foreign key field.

ALSE SEE:

http://help.sap.com/saphelp_nw04/helpdata/en/63/1b70bcc32111d1950600a0c929b3c3/frameset.htm

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.

Value table is used to generate praposal for a checktable

ALSO SEE:

http://help.sap.com/saphelp_erp2005vp/helpdata/en/e2/667092730811d2959500a0c929b3c3/frameset.htm

Former Member
0 Kudos

<b>Value Table</b>

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.

<b>Check table</b>

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.

<b>There is 1 more important Difference in Value Table and Check Table is that:</b>

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.