
CHETAB – Check Table Contents
The function CHETAB compares database field values with specified values to check database updates after transactions. You can also check with CHETAB whether a particular table entry exists. You can also check customizing table entries.
CHETAB requires specification of the complete key.

If the key is not completely specified, those key field which are not specified take the initial value for their type (spaces for CHAR, "0" for NUM).

In those exceptional cases where you need to select by non-key fields, you can call appropriately programmed function modules in test cases, with the function
Procedure

Database table values must be input in the fields in internal format. Values which fail the target/actual comparison are output as errors in the log.

If the CHETAB function does not find any entries for the specified values in the corresponding table in special cases, because e.g. an account has not yet been updated, an error occurs, because CATT assumes that this is an error. You can avoid this by reading the corresponding table entry with the function
Maintaining a function in a remote system
You can specify a parameter for remote maintenance after recording with this function, as described under Create a remote call in
REF – Refer to test case.If a parameter with the remote access target is defined, this function is performed remote when the procedure is called. The destination is the current contents of the parameters.