06-12-2006 11:42 AM
hi
i look for FM that check the correctness of date and time
for eaxmple:
The date 01/55/2006 is not correct becasue the range of month is between 1 to 12
thanks
have a nice day
06-12-2006 11:44 AM
U can use the FM, 'DATE_CHECK_PLAUSIBILITY' to check whether a date is valid or not.
06-12-2006 11:44 AM
U can use the FM, 'DATE_CHECK_PLAUSIBILITY' to check whether a date is valid or not.
06-12-2006 11:45 AM
Hi Yossi,
Use FM <b>'DATE_CHECK_PLAUSIBILITY'</b> which will validate your date.
If you specify variables of type SY-DATUM at SELECTION-SCREEN then it will automatically validates.
Thanks,
Vinay
06-12-2006 11:46 AM
06-12-2006 11:48 AM
<deleted>
chk this link
http://sap.ittoolbox.com/code/archives.asp?d=2782&a=s&i=10
Message was edited by: Chandrasekhar Jagarlamudi
06-12-2006 11:54 AM
Use below FMs
DATE_CHECK_PLAUSIBILITY Date plausibility check
TIME_CHECK_PLAUSIBILITY Time plausibility check
Regds
Manohar
06-12-2006 1:26 PM
Hi Yossi,
Try these function modules
DATE_CHECK_PLAUSIBILITY Date plausibility check
TIME_CHECK_PLAUSIBILITY Time plausibility check
DATE_CHECK_WORKINGDAY
TM_DATE_CHECK_WORKINGDAY
FUTURE_DATE_CHECK
Thanks and Regards
Ashok