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 HR_HK_DIFF_BT_2_DATES runtime error

Former Member
0 Likes
535

hi friends,

i am getting runtime error at years = ( l_date3+0(4) + ( l_total_number_days / days_in_year ) ). in the FM HR_HK_DIFF_BT_2_DATES.

can any one give me a soluion,

thanks

rahul

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
471

Hi,

Check what you have passed to the dates. (DATE1 , DATE2)

If the difference is greater than 999 years , then you'll get the below dump.

l_date3 = ( date1 + 1 ) - date2.

2 REPLIES 2
Read only

Former Member
0 Likes
472

Hi,

Check what you have passed to the dates. (DATE1 , DATE2)

If the difference is greater than 999 years , then you'll get the below dump.

l_date3 = ( date1 + 1 ) - date2.

Read only

0 Likes
471

hi,

s i got it, same issue thanks