what are value table and check table ?and what are the
difference between them?
Answers were Sorted based on User's Feedback
Answer / malli.gontla
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.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sai krrishna
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 Table: Prior to Release 4.0, it was possible to use
the value table of a domain to provide input help. This is
no longer possible, primarily because unexpected results
could occur if the value table had more than one key field.
It was not possible to restrict the other key fields, which
meant that the environment of the field was not considered,
as is normal with check tables.
In cases where this kind of value help was appropriate, you
can reconstruct it by creating a search help for the data
elements that use the domain in question, and using the
value table as the selection method.
Check table will be at field level checking.
Value table will be at domain level checking ex: scarr
table is check table for carrid.
Is This Answer Correct ? | 0 Yes | 0 No |
How do we assign dynamic views while creating material master and generating bdc? : abap bdc
why to create a custom BAPI if the BAPI already exists? y to find BAPI again? frankly even i dint undstnd tne question properly. if any one come across this q please do anser me.
What are logical databases?
What is the difference between a pool table and a transparent table and how they are stored at the database level?
sy-field for internal table process?
What is the role of ‘refresh’ in internal table?
What are the types of indexes in abap?
what is difference between commit and rollback.?
How do you do BDC?
Landscape of your company and what are their names?
hi i am prasoona completed b.tech in 2007...righr now i got trained in SAP-ABAP...im trying on 2.5yrs exp..whay sort of questions cpmanies may ask for..plz help me who were working on ABAP at present... thanking you.
what is naming conventions given for lock object and how you create the lock object