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

Function module which convert number to days to date

Former Member
0 Likes
3,293

Hi,

Any one knows any function module which convert total number of days into date.

thnaks,

shilpa k

Hi,

Any one knows any function module which convert total number of days into date.

thnaks,

shilpa k

11 REPLIES 11
Read only

Former Member
0 Likes
1,938

Hi

Check the following fun modules

DAYS_BETWEEN_TWO_DATES

LEAP_DAYS_BETWEEN_TWO_DATES

HR_SEN_CALE_DAYS_DATE

ISB_DAYS_BETWEEN_TWO_DATES

FIMA_DAYS_BETWEEN_TWO_DATES

FIMA_DAYS_BETWEEN_TWO_DATES_2

FIMA_LEAP_DAYS_BETWEEN_2_DATES

Reward points for useful Answers

Regards

Anji

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,938

Hi Shilpa

Use the FM:

<b>FIMA_DAYS_BETWEEN_TWO_DATES_2</b>

Regards,

Sree

Read only

Former Member
0 Likes
1,938

u can use this

'RP_CALC_DATE_IN_INTERVAL'

Regards

Peram

Read only

Former Member
0 Likes
1,938

<b>RELATIVE_DATE_CALCULATE</b>

Girish

Read only

Former Member
0 Likes
1,938

Hi,

FIMA_DAYS_AND_MONTHS_AND_YEARS

FI_PSO_DAYS_MONTHS_YEARS_GET

RSSM_CONVERT_DAYSEC2TIMESTAMP

RSSM_CONVERT_TIMESTAMP2DAYSEC

Function Modules related to Date and Time Calculations

DATE_COMPUTE_DAY : Returns weekday for a date

DATE_GET_WEEK : Returns week for a date

DAY_ATTRIBUTES_GET : Returns attributes for a range of dates specified

MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.

END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.

HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.

FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.

MONTH_NAMES_GET : Get the names of the month

WEEK_GET_FIRST_DAY : Get the first day of the week

HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format

SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours

L_MC_TIME_DIFFERENCE : Find the time difference between two date/time

HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months

LAST_DAY_OF_MONTHS : Returns the last day of the month

Regards

Read only

Former Member
0 Likes
1,938

Hi All,

I am having number of days with me...suppose it is 999 days...

I want to calculate date for this days....like i have to pass 999 to FM and have to get any date...

Let me kow if there is any function module for this.

Read only

0 Likes
1,938

Hi,

"I have to pass 999 to FM and have to get any date..."

what u mean by ANY DATE.

Explain clearly with example.

Revert back,

Regards,

Naveen

Read only

0 Likes
1,938

Hi,

No of days = 999 > pass it to FM-> output of function module is conversion of 999 days into date....

Read only

0 Likes
1,938

in this case u have to add no of days to one date ?

so chck my prev.post.

Read only

0 Likes
1,938

hi,

Do u mean , if i pass 999 to Fm , it shud return the date which is 999 days before from the current date?

Revert back

Regards,

Naveen

Read only

0 Likes
1,938

Hi Prabhu,

The FM was the one i was looking for. Thanks.

Regards,

Shreyas