What is The Difference Between Check Table and Value Table in SAP ABAP
What Is The Difference Between Check Table and Value Table in SAP ABAP
As a ABAP consultant,most of the times ,up to 7 years experience interviews,we will face check table and value table definitions interview questions and difference between check table and value table questions ,so we must be know concepts of check table and value table to crack the interview. For this we need know clear meaning of both tables.
Value Table
This is defined at Domain Level.
Whenever creating a domain, we can enter allowed values. For example if we go to Domain SHKZG - Debit/credit indicator. Here only allowed values is H or S.
Wherever we use this Domain, the system will force us to enter only these values.
This is a sort of master check. To be maintained as a customization object.
This mean that if we want to enter values to this table we have to create a development request & transport the same.
Check table
check table will carry out the check for input values for the table field being entered in any application.
check table is validation at field level. The Check Table is the table used by system to check if a data exist or not exist.
While creating a table if we want to ensure that a field can have some values
and these are in a certain table, we can give this table as CHECK TABLE.
For example, we have an Employee master table & an Employee Transaction table.
Whenever an employee Transacts we need to check whether that employee exists, so we can refer to the employee master table.
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.
Comments
Post a Comment