Application Development and Automation 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: 
Read only

FM to validate date

Former Member
0 Likes
1,321

Hi all,

I am receiving date (day,month,year) from the file.Now i want to validate this date .

Please let me know if any function module available for this.

Regards,

Shoban

Hi all,

I am receiving date (day,month,year) from the file.Now i want to validate this date .

Please let me know if any function module available for this.

Regards,

Shoban

4 REPLIES 4
Read only

amit_khare
Active Contributor
0 Likes
813

You can check this FM - DATE_CHECK_PLAUSIBILITY

But if you are using variable as type SY-DATUM then it will automatically gets validated to your system settings.

Refer this link also -

Regards,

Amit

Read only

jayakummar
Active Participant
0 Likes
813

hai,

do you want to conver the date as like in database format?

please reply me....

for help

regards,

jai.m

Read only

Former Member
0 Likes
813

HI Shoban,

u can check the date with the FM K_POSTING_DATE_CHECK

or else if u didnt get means just search in se37 by typing DATE or CHECK k u can fine lot of FM so check there k

or else individual fields u can check i mean date between 1 to 31 and month in between 1 to 12 like year also

THX

Read only

Former Member
0 Likes
813

hi,

if ur not finding any fm's u can easily validate the date by spltting the same and the validate along with ur requiement by year month or date wise. this is much simpler.

Reward points if helpful,

Regards,

Sumanjeet.