Application Development 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: 

DAYS_BETWEEN_TWO_DATES-Can any one explain I_STGMETH field

Former Member
0 Kudos

Hi Experts,

I am using the Function Module DAYS_BETWEEN_TWO_DATES to calculate the difference between two dates


CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
        EXPORTING
          i_datum_bis = 20080401
          i_datum_von = 20080327
        IMPORTING
          e_tage      = lv_diff.

The lv_day_diff is '4'

and

CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
        EXPORTING
          i_datum_bis = 20080401
          i_datum_von = 20080327
          I_STGMETH   = 2
        IMPORTING
          e_tage      = lv_day_diff.

The lv_day_diff is 5

What is the importance of I_STGMETH..........

Thanks,

Chaitanya

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Parameter I_STGMETH is required to calculate days based German calculation of interest method.

4 REPLIES 4

Former Member
0 Kudos

Hi,

I think these are the different formats of the calender.

check the domain VVSTGMETH.

1 360E

2 Act

3 365

4 360

5 ActW

6 360 ISDA

These are the input parameters which can be passed to that field while calculating days bet'n two days.

Thanks,

Vamshi.

Former Member
0 Kudos

Parameter I_STGMETH is required to calculate days based German calculation of interest method.

0 Kudos

Thanks for your replies.........

Former Member
0 Kudos

Thanks a lot............