cancel
Showing results for 
Search instead for 
Did you mean: 

FM to calculate busines time stamps

Former Member
0 Kudos

Hi friends,

I need to calculate the cycle time of two time stamps. I do know one FM,

SD_DATETIME_DIFFERENCE, which gives the cycle time in days and hours. But this FM also includes weekends. My requirement is not to include weekends. I require the similar result as the fm SD_DATETIME_DIFFERENCE gives but it should ONLY consider week days. Can anyone suggest me any FM which fulfils my requirement ?

Thanks in advance

Reddy

Accepted Solutions (0)

Answers (1)

Answers (1)

ramki_maley
Active Contributor
0 Kudos

FM DURATION_DETERMINE will do the job if you have a Factory Calendar setup.

Cheers,

Ramki Maley.

P.S: You could have found this by searching the ABAP forums.

Former Member
0 Kudos

Hi,

Thanks for your reply.

The bad thing is I am not able to get what I want. Can you please help me out. I am not getting anything in the export parameters.

Please suggest me any other fm which can solve my issue.

greatful for ur time and ideas

vijay

ramki_maley
Active Contributor
0 Kudos

If you are executing the FM in test mode, scroll to the right to see value in the export parameter Duration. Please search the <b>ABAP, General</b> forum. I am sure you will find several examples for the FM. This is not really a question for this forum.

Cheers,

Ramki Maley.