i have a screen that contains date filed , if the date is greater than present date i want to give message and if the user is giving the other than future date then only it will be processed .
in pai i write like this
if equi-MEASURED_DATE > sy-datum.
message E000(z01) with 'Date Cannot be the future date'.
but if i pressed save it is taking i dont want to take
Message was edited by: