Vous êtes sur la page 1sur 21

Contents

Introduction .................................................................................................................................................. 2
Customizing ................................................................................................................................................... 2
Define public holidays ............................................................................................................................... 2
Define a public holiday option with fixed date ............................................................................... 4
Define a public holiday option with a fixed day from date ............................................................ 7
Define a public holiday option Distance to Easter .......................................................................... 8
Define a public holiday option Easter Sunday ................................................................................ 9
Define a public holiday option Floating Public Holiday ................................................................ 10
Define Holiday Calendar ......................................................................................................................... 11
Define a Factory Calendar ....................................................................................................................... 14
Define special rules ............................................................................................................................. 15
View Factory Calendar ............................................................................................................................ 17
Assign factory calendar to a plant............................................................................................................... 19
Recommended OSS Notes on Factory Calendar ......................................................................................... 20



Introduction
In order to define working days and no-working days of the business, you need to create a calendar in
SAP. This functionality is known as Factory Calendar in SAP and it will be assigned to respective plant
in customizing.
Lets see how you can create a new Factory Calendar in SAP.
Customizing
Under below IMG node, you can customize your factory calendar.
IMG Path:

Define public holidays
Under below IMG option, you can define all public holidays which should be applicable for your
calendar.
Select the option and click on the button
Check the available holidays in SAP. If required, create a new one.

To create a new public holiday, click on the button

From the popup, select the relevant option for your public holiday and click on the button

You have below options available
o With fixed date This option should be selected only if the holiday falls on the same
date every year
o With a fixed day from date - This option should be selected only if the holiday falls on a
fixed weekday from a particular date
o Distance to Easter - This option should be selected only if the holiday has a fixed
distance to Easter Sunday
o Easter Sunday - This option should be selected only if the holiday is Easter Sunday
o Floating Public Holiday - This option should be selected only if there is no rule to define
a holiday. Therefore it must be defined each year
Based on the option you select above, the subsequent process of defining a holiday differs.
Define a public holiday option with fixed date
This option should be selected only if the holiday falls on the same date every year

Click on the button
Here you need to define the exact date (fixed) in every year for this holiday. For example, lets take 15
th

of May as a fixed holiday and define it in SAP.

o Mark the option Not Guaranteed to define whether public holiday should NOT be
moved if it falls on a weekend.

o Mark the field Thursday or Friday to specify the day to which the public holiday is to
be moved if it falls on a day off. Using F4 search help, you can specify the logic.

o Mark the option Sunday, if the holiday should be moved if it falls on a Sunday. In the
adjacent field, you need to specify the logic of moving that holiday.

o Mark the field, Saturday/Sunday to indicate that the public holiday should be moved
to a working day, if it falls on a Saturday or a Sunday. Logic of moving the date has to be
specified in the adjacent field.

Under Public Holiday Attributes you need to maintain below;
o Sort Criterion This is to sort all public holidays in the overview screen. For example
you can use country code here to sort all the public holidays for a particular country
o Short Holiday Name a short form of the description of the holiday (10 character
length)
o Long Holiday Name Long version of the description of the public holiday (You have 30
characters)
o Other fields are optional

Click on button to create the public holiday
Define a public holiday option with a fixed day from date
This option should be selected only if the holiday falls on a fixed weekday from a particular date

Click on the button
Lets say our test holiday falls on every Wednesday starting from 04
th
January. Then you need to
define it as below;

Click on button to create the public holiday
Define a public holiday option Distance to Easter
This option should be selected only if the holiday has a fixed distance to Easter Sunday

Click on the button
If the holiday is before Easter, then you have to use the field No. of Days Before Easter to
specify those days. If the holiday is after Easter, then you have to use the field No. of Days After
Easter to specify those days. I will define a test holiday which falls 5 days before Easter.

Click on button to create the public holiday
Define a public holiday option Easter Sunday
This option should be selected only if the holiday is Easter Sunday

Click on the button
You just have to give the search criteria and the names only

Click on button to create the public holiday
Define a public holiday option Floating Public Holiday
This option should be selected only if there is no rule to define a holiday. Therefore it must be defined
each year.

Click on the button
You need to define the exact date of the year as below. You can maintain the year, month and
date combination by clicking button

Click on button to create the public holiday
Once you added all public holidays, you can view them using the sort key as below;

Since I have not assign these holidays yet, the Use in holiday cal column in not marked. But
once I used them, this column will be marked with X
Define Holiday Calendar
Now you need to assign above created holidays in to a holiday calendar. In order to create a new holiday
calendar, mark the field and click on the button

Click on the button to create a new holiday calendar
Give a Calendar ID and a description with a valid from and valid to days

In order to assign the holidays created in the previous step, click on the button


In the popup, mark your public holidays accordingly and click on button

Now they will appear in your holiday calendar. You have to select them and enter a validity
period for each holiday

Save your new holiday calendar using button
In the overview screen you will see that the Used in Factory Calendar field is not marked as we
havent assign this holiday calendar to a factory calendar

But now you will see the Used in holiday cal field is marked for these holidays in the Public holidays
overview screen

Define a Factory Calendar
In order to define a new factory calendar, mark the field and press the button
Click on to create a new calendar
Give a ID and a description for you factory calendar

Define a valid from and valid to days and assign the above created holiday calendar
Make sure the validity period of your factory calendar should be equal or less than the validity
period of the holiday calendar

Define a start date of the factory calendar together with working days

Save your new factory calendar using button
Define special rules
If you want to specify any weekend or any other non-working day as a working day, you can do it using
button. At the moment, you will see there are no special rules assigned to our factory
calendar.

Click on the button to add a new rule
Click on button to create a new rule

Give exact dates and mark the field Workday to specify it as a working day in the factory
calendar. For example, I will specify 07
th
and 08
th
January weekend as a working days in my
calendar.

Click on

Save your special rule using button
Same manner you can define multiple special rules
Now in the factory calendar you will see that special rules are available

View Factory Calendar
Using this option you can graphical view the factory calendar
Mark the field and click on the button

Select your calendar and click on the button

You can view the working days and free days as shown below

In order to view a particular year, select the line and click on the button
Since I specify special rules for 2012, I will view that year

Based on your holiday calendar and special rules, you will be able to see your calendar

As shown above, 7
th
and 8
th
January are marked as working days due to special rule I applied.
Assign factory calendar to a plant
In order to use the factory calendar you need to assign it to your respective plant. Under below IMG
node, you can assign your factory calendar to the plant.
IMG Path:
->
Go in to details of the plant using

Assign the factory calendar to your plant under Factory Calendar field


Recommended OSS Notes on Factory Calendar

Please refer below OSS notes on the factory calendar creation / Change and transport between clients:
Note 86621 - Calendar: Change or transport is not possible
Note 501670 - Public Holiday Calendar Creation/Change
Note 538344 - Transporting calendar dates
Note 574628 - Change calendar dates in production system
Note 1375438 - Globalization Collection Note

Author: Anupa Wijesinghe
E-Mail: anupaw@gmail.com / anupaw@learnsaptips.com
Website: www.learnsaptips.com
View my profile in LinkedIn
Follow me on Twitter


Disclaimer

This article is done based on my research and readings, unless otherwise stated. The views expressed
are my own and not of anyone else.
Author accepts no liability for the content of the articles in this website or for the consequences of any
actions taken on the basis of the information provided. Using this information is at the users own
discretion and responsibility.

Vous aimerez peut-être aussi