on 10-18-2016 12:49 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prem,
You could find the UI path:
http://scn.sap.com/docs/DOC-73334
and then BO from that.
Thanks, Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.