Skip to Content
0
Former Member
Mar 13, 2007 at 10:43 AM

validating date in module pool

259 Views

Hi

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'.

endif.

but if i pressed save it is taking i dont want to take

Message was edited by:

kiran kumar