Hello!
Is there some function or something which would enable checking of a value against ANY table/field (or domain) combination? This is tricky because there are numerous criteria types. For example, date and currency fields have specific formats, many fields have foreign key table, others have value table or fixed values list in domain...
I know that each of data types have specific functions. But I wonder is there something generic?
For example (note that this doesn't work):
DATA: l_value TYPE char132. l_value = '20071231'. CALL FUNCTION 'CHECK_VALUE' EXPORTING tablename = 'BSEG' fieldname = 'BLDAT' value = l_value EXCEPTIONS invalid = 1.
Thanks in advance!
Regards,
Igor
Add a comment