Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM of date and time

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

U can use the FM, 'DATE_CHECK_PLAUSIBILITY' to check whether a date is valid or not.

6 REPLIES 6

Former Member
0 Kudos

U can use the FM, 'DATE_CHECK_PLAUSIBILITY' to check whether a date is valid or not.

Former Member
0 Kudos

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

Former Member
0 Kudos

chk this FM DATE_CHECK_PLAUSIBILITY

Former Member
0 Kudos

<deleted>

chk this link

http://sap.ittoolbox.com/code/archives.asp?d=2782&a=s&i=10

Message was edited by: Chandrasekhar Jagarlamudi

Manohar2u
Active Contributor
0 Kudos

Use below FMs

DATE_CHECK_PLAUSIBILITY Date plausibility check

TIME_CHECK_PLAUSIBILITY Time plausibility check

Regds

Manohar

ashok_kumar24
Contributor
0 Kudos

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