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

alv

Former Member
0 Likes
548

Hi experts,

what is the diff between check table and value table.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
513

Hi ahammad,

1. This concepts come into picture

only when we have to define

FOREIGN KEY RELATION SHIP

Between Two Tables.

2. If primary values in some table (A)

needs to be validated/checked against

some master table (B)

then this master table (B) is called the CHECK TABLE.

3. Now,

Instead of SELECTING this check table,

the system automatically proposes

this check table,

if the primary key data element

has a 'VALUE Table' attached to it.

(This Value Table is JUST FOR DEFAULTING

/ PROPOSING THE CHECK TABLE, AND NOTHING ELSE)

regards,

amit m.

4 REPLIES 4
Read only

Former Member
0 Likes
513

hi shaik,

check is used when we r trying to use a table as a foreign key relationship... as it will allow any other new entries

if it is a value table -- Entering a value table does not implement a check.

With Regards,

S.Barani

Message was edited by:

S BHARANIDARAN

Read only

Former Member
0 Likes
513

HI,

Difference between a check table and a value table

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

For more info check this URL.

http://www.ask.com/web?q=Differencebetweenchecktableandvaluetable&qsrc=1&o=333&l=dir

http://www.allinterview.com/showanswers/757

<b>Reward if it useful.</b>

Regards,

<b>Jackie...</b>

Message was edited by:

Jackie Chan

Read only

Former Member
0 Likes
514

Hi ahammad,

1. This concepts come into picture

only when we have to define

FOREIGN KEY RELATION SHIP

Between Two Tables.

2. If primary values in some table (A)

needs to be validated/checked against

some master table (B)

then this master table (B) is called the CHECK TABLE.

3. Now,

Instead of SELECTING this check table,

the system automatically proposes

this check table,

if the primary key data element

has a 'VALUE Table' attached to it.

(This Value Table is JUST FOR DEFAULTING

/ PROPOSING THE CHECK TABLE, AND NOTHING ELSE)

regards,

amit m.

Read only

Former Member
0 Likes
513

HI,

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.

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.

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.

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.

rewards if useful

regards,

nazeer