cancel
Showing results for 
Search instead for 
Did you mean: 

C4C Fiscal Year Period

former_member15983
Participant
0 Kudos

hi Experts

I have a requirement to get the Period based on the current date based on Custom fiscal variant ?

Please let me know how can i do that ?

Thanks,

Prem.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186648
Active Contributor
0 Kudos

Hi Prem,

You could use

SetofBooksUtilities.GetFiscalYearStartEndDate
You could search

SetofBooksUtilities at

http://help.sap.com/saphelpiis_studio_1608/studio_od_1608.pdf

Thanks, Pradeep.

Answers (4)

Answers (4)

former_member186648
Active Contributor
0 Kudos

Hi Prem,

You could find the UI path:

http://scn.sap.com/docs/DOC-73334

and then BO from that.

Thanks, Pradeep.

former_member15983
Participant
0 Kudos

Hi Pradeep

I have attached the screenshot of the fiscal variant maintained. based on this variant 9/25/2016 will fall into 4th quarter. I have returned in the code if the month is "10" or "11" or "12" it is quarter 4.

When I used dategetmonth it returns 9 which falls into 3rd quarter. Now i have the option to hard code the dates value else i need to select from the BO which stores the Fiscal variant details.

I couldn't find the BO for fiscal year variant object details.

fiscal.jpg

former_member186648
Active Contributor
0 Kudos

Hi Prem,

I am not aware of fiscal variant, but if it is to find the quarter on date then you could write code to determine the quarter yourself right.

Thanks, Pradeep.

former_member15983
Participant
0 Kudos

Thanks Pradeep. that link is very helpful. My requirement is to find which quarter the creation date falls based on the Fiscal variant. Any light on this one would be helpful.