Skip to Content
Former Member
Nov 17, 2012 at 08:12 AM

Re:Time Validation


Hello Experts,

I have to perform the validation on time field i.e,if I entered time is less than current time I have to show an error mesage. I have assigned sy-uzeit to workarea of timefield and am checking if timefield < sy-uzeit But it is taking sy-uze-it in the format hh:mm:ss so it is always showing error message that time is less than current time. can anyone suggest me the solution or how to convert hh:mm:ss into hh:mm format.