F Calculate first and last date of a fiscal year in SAP | CodeTheta

Calculate first and last date of a fiscal year in SAP

October 31, 2025

To determine the first and last date of a fiscal year, we can use a function module.

Name of function module - FIRST_AND_LAST_DAY_IN_YEAR_GET

Step 1 - First we need to find the fiscal year variant (PERIV) from T001 table.
Step 2 - Then pass the Fiscal Year in I_GJAHR and Fiscal Year Variant in I_PERIV parameter.

I_GJAHR = 2025
I_PERIV = V3




 

 

 

 

 

 

IDE Used To Test This Code :SAP GUI.

Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us. We will reply you as soon as possible.

Post a Comment