we upgraded from 7.5 SP11 to PPM 8.03 and try to update the regional calendar period until 2018. Looking into the "Whats New" guide, the kGenPeriods.sh script was replaced by newer version kGenFiscalPeriods.sh.
I tried the following command, but evertime it causes an error:
$ sh kGenFiscalPeriods.sh -startYear 2013 -endYear 2018 -language all An error occurred while performing this operation: "The start day of the week specified in the configuration file does not match th e existing fiscal calendar definitions."
Where can i edit the start day of the week? Is it used as a server parameter?
if you check the START_DAY_OF_WEEK from PPM_FISCAL_PERIODS_NLS, you’ll know what the current setting is.
Sunday = 1;
Monday = 2;
The Fiscal Guide states:
“In PPM Center version 7.5, the start day of each week is Monday (Note Dirkf: the start day of a FRESH INSTALL of PPM 8 is SUNDAY). If PPM Center has just been upgraded from version 7.5, before you generate any new periods you must perform this procedure to change the start day of each week to Monday so that the start day of new weeks is consistent with the weeks in version 7.5.
To change this if necessary:
Open the periods.conf configuration file in the <PPM_Home>/conf/fiscal directory. (The parameters in this file apply to all languages.)
Change the value of the START_DAY_OF_WEEK parameter to the value of your choice.”
The value will take effect the next time you run the kGenFiscalPeriods.sh-script.
I’ll attach the ‘Generating Fiscal Periods’ guide for your information, it states how to change them on page 14.
In case the start day IS already Monday, you should log a case with the case details for further analysis.
The Start day of a week can be configured in periods.conf which is present at <PPM_HOME>/conf/fiscal.
For more detials you can refer Generating Fiscal Periods.pdf provide by HP.
Below is the content from the pdf (changing the start date)
To change the start day for all of the weeks:
1. Open the periods.conf configuration file in the <PPM_Home>/conf/fiscal directory. (The parameters in this file apply to all languages.)
2. Change the value of the START_DAY_OF_WEEK parameter to one of thefollowing values:
1 to make Sunday the start day for all weeks. This is the default.
2 to make M onday the start day for all weeks.
3 to make Tuesday the start day for all weeks.
4 to make Wednesday the start day for all weeks.
5 to make Thursday the start day for all weeks.
6 to make Friday the start day for all weeks.
7 to make Saturday the start day for all weeks.
3. Save and close the periods.conf configuration file.You do not need to run the script immediately. The next time the script isrun to generate periods, the new starting day of the week will apply to newweeks the script generates.
Cheers.. Utkarsh Mishra
-- Remember to give Kudos to answers! (click the KUDOS star)