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 |
Did u inherit any standard sap programs? what are they? and for what purpose you have done it?
Explain the difference between free and refresh?
what are the two methods of modifying sap standard tables? : abap data dictionary
why we have to define function group?
what are Program Events and Run time Events in Reports
What is append search help? : sap abap data dictionary
My internal table exceed the limit. then it goes to dump. how will u handle this issue?
what "types" can be assigned to a data object in an abap
What are datasets?
what is the diffrence between inner and outer join
What is “call mode”?
loop 5 times. sy-tabix,sy-index. endloop. what is the output?