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

Comparison in date

Former Member
0 Likes
365

hi all,

can anybody tell me, how we can compare the dates?

i have a bdc for billing date and i want to compare my XL billing date to system billing date, my requirement is XL billing date should not Lesser than system billing date. can anybody help me that how should i do ?

its urgent..... suitable ans will be rewarded.

regards saurabh.

1 ACCEPTED SOLUTION
Read only

kiran_k8
Active Contributor
0 Likes
343

Saurabh,

You can use the below given Function Module to caluculate the difference between date.

CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'

K.Kiran.

2 REPLIES 2
Read only

Former Member
0 Likes
343

hi

Compare year, month and date separately.

EX :-

if date10(4) <= date20(4) and date14(2) <= date24(2) and date16(2) <= date26(2).

Regards

Prajwal K

Read only

kiran_k8
Active Contributor
0 Likes
344

Saurabh,

You can use the below given Function Module to caluculate the difference between date.

CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'

K.Kiran.