Quantcast
Channel: SCN : Unanswered Discussions - SAP Solution Manager
Viewing all articles
Browse latest Browse all 5299

Calculate the time between different timestamps using factory calender.

$
0
0

Hello ,

 

I would like to calulate the time between two timestamp by considering factory calender in SLA percentage calculation .

 

Currently I am using below method,

 

    CALL METHOD cl_foev_time_func_brf=>difference_timestamp
      EXPORTING
        iv_timestamp_1 = lv_upd_ts
        iv_timestamp_2 = lv_now_ts
        iv_timezone_1  = 'CET'
        iv_timezone_2  = 'CET'
        iv_timeunit    = 'MINUTE'
        iv_fac_cal     = 'CH'
      IMPORTING
        ev_difference  = lv_diff.

 

It gives time difference without considering factory calender.

My factory calender configuration is right as i used it in other methods.

 

But in calculating difference, it gives actual difference between two time.

 

Please suggest to calculate the time between different timestamps using factory calender

 

Thanks in advance.

 

Thanks,

Vikas.

 


Viewing all articles
Browse latest Browse all 5299

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>