cancel
Showing results for 
Search instead for 
Did you mean: 

wht is diff b/w check table and value table

Former Member
0 Kudos

Hi,

Wht is diff b/w check table and vaue table.

whether value table and search help are same.

Regards,

Rani.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

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.

cheers,

Sreekar.

Edited by: sreekar kadiri on Jan 29, 2008 10:27 AM

Former Member
0 Kudos

I will explain it with an example.

Assume there are two tables employee(ZEMP) and department(ZDEPT) and having the fields as following

ZDEPT:

DEPT Primary Key

………….

…………..

ZEMP:

IDNO Primary Key

DEPT Foreign Key

………….

…………..

When making the DEPT as foreign key the system displays one popup in which you have to provide check table manually and pressing Generate Proposal. Then it will provide the relationship between those two tables.

If you maintain the value table (ZDEPT) for DEPT field in domain level. When making it as foreign key It provides small popup which ask as following.

Create a proposal with values table ZDEPT as check table?

If u press OK then it will create foreign key relationship without providing check table manually.

Values table doesn’t provide input help except the following case.

For example table ZTABLE contains domain ZDOMAIN which have the check table the table itself ZTABLE. In this case it provides input help from the value table if it doesn’t have other input help. Because value table have the least priority for displaying input help ( See the Hierarchy ).

The fields of the other tables which have the ZDOMAIN. In this case it never displays input help from value table.

Note: Input help from value table doesn’t provide the input help indicator. If you press F4 it will work.

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

I think u understood the search help and value table are not same.

Please let me know if you have any other doubts.

Reward me if it is useful.

Former Member
0 Kudos

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.

Value Table:

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

Also, visit :

****************************************************

Search Help:

Search helps can be used to assign an input help (F4 help) to screen fields. You can do this by creating a search help in the ABAP Dictionary and attaching it to the corresponding screen field.

The input help (F4 help) is a standard function of the R/3 System. The user can display the list of all possible input values for a screen field with the input help. The possible input values can be enhanced with further information. This is meaningful especially when the field requires the input of a formal key.

**********************************************8

Former Member
0 Kudos

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 D

omain.

Regards,

Priyanka.

Former Member
0 Kudos
Former Member
0 Kudos

hi,

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.

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 its found useful

Edited by: Rajasekhar Reddy on Jan 24, 2008 3:21 PM