Skip to Content

Billing schema variant program to find number of days in current fiscal year.

Hello experts,

I am not able to find variant program to find number of days in current fiscal year. Let's say my fiscal year is from 01.04.2015 To 31.03.2016. Number of days would be 366. Is there any standard variant program available for this ? If not, what is the work around?

Thanks

Viraj

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 26, 2015 at 06:34 AM

    Hi Viraj,

    As per my knowledge there is no such variant to compute "Days in Fiscal year" .only "COMPUT20" Variant to calculate days for particular contract which is not for your use.

    Alternative solution :

    You can create a Z variant of "COMPUT03" (Multiply/Divide Two Factors)

    And use below FM to calculate days between two dates inside the variant program and overwrite days value with output operand .

    FM: -DURATION_DETERMINE

    Thanks


    Capture.PNG (9.5 kB)
    Add comment
    10|10000 characters needed characters exceeded