Skip to Content
avatar image
Former Member

C4C Fiscal Year Period

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Oct 18, 2016 at 02:36 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 19, 2016 at 03:49 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2016 at 03:01 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2016 at 04:11 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2016 at 02:53 AM

    Hi Prem,

    You could find the UI path:

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

    and then BO from that.

    Thanks, Pradeep.

    Add comment
    10|10000 characters needed characters exceeded