Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Data Dictionary

Former Member
0 Likes
908

Hi

Wat is Check table & Value table & wat is the use of this.

Regards

Sai

7 REPLIES 7
Read only

Former Member
0 Likes
876

Hi,

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

Read only

Former Member
0 Likes
876

Hi,

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.

Regards

Nilesh

Read only

Former Member
0 Likes
876

Hi Prasad,

Check table is mainly used with the foriegn key concepts,When we set a foriegn we want to entr only the values from the parent table...

So when u use the check table table it will give a check of the value which u have entered with the parent table...

Value table is useful at the time when we r inputing..The values which we require to enter in tht particular field will come as a search help button and we can choose from it..

REWARD WHEN IT USEFUL

Read only

Former Member
0 Likes
876

Hi Prasad,

Check Table is for Field level Validation whereas Value table is for Domain Level Validations.

Value Table proposes table for check table.

<b>Check Table</b>

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.

Also see this link.

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

<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.

ALSO SEE:

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

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.

Reward points if helpful.

Regards,

Hemant

Read only

0 Likes
876

<u>Value Table</u>

Hi Value table is thetable present in the domain of a particular element(Which inturn is availble in a particular table).

<u>Check Table</u>

Check table comes into picture at the relation dataqbase(Tables which are related to each other), here we will go for foreigh key relations. When we assign a particular field of one table as a foreighn key for a field of another particular table, then the check table of first field will becomes the value table for the second field.

That means the second field will accept only thevalues present in the check table of the first table.

<u><b>Award if useful</b></u>

Sudheer

Read only

Former Member
0 Likes
876

Check Table-It is used to check the foreign key relation.In any table if the foreign key exists u need to go to the respective check table and verify it.

Value Table-It is at the domain level.

To better understand what a value table is if u want to select material number or

something we will sive the table from where we should get the information in the select statetment .At that time we need to give the table name that is present in the value table in the domain level.Then it will select all the possible entries.

To check where the value table is we need to go to the domain of the particular field there in the value range u have either the fixed values or a table in the value table.

Message was edited by:

Roja Velagapudi

Read only

Former Member
0 Likes
876

u need to reward to all the replies which are uefull