01-31-2007 5:56 AM
Hi All,
I have a input screen where Certain field is mark as mandatory but the Help value is X or space. The space will give problem for proceeding to the next screen if there is no entry in the sceen field.
Is there any way to defferentiate between space and empty?
You help will highly be appreciated.
Regards,
Sanjeev
01-31-2007 9:17 AM
Whats is the data type of the field?
if char field you can check empty with
IS INITIAL.
01-31-2007 9:19 AM
hi,
validate the value in this fashion ..
if not s_manr is initial.
endif.
regards,
santosh
01-31-2007 9:21 AM
Hi,
Since the possible values are X or space and since it is a CHAR 1 field. There is no use of making it Mandatory. Default value for char1 field is always space. If user has not entered any value then consider it as space otherwise if X is there then user has selected it. May be you can add a tooltip for the field. INITIAL check will let you know if the user has chnged it value or not.
Regards,
Sesh
Message was edited by:
Seshatalpasai Madala