2015 Jul 25 9:24 AM
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
2015 Jul 26 7: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
2015 Jul 26 7: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