Ansicht
Dokumentation

PAY_KSA_P001_HSCAL - Maintain Calendar for Islamic Dates

PAY_KSA_P001_HSCAL - Maintain Calendar for Islamic Dates

Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Use

The following documentation describes how you use the Maintain Calendar for Islamic Dates program, which you launch by executing transaction P001_HSCAL.

Maintain Calendar

The public holiday and factory calendar is a central module in the SAP System. It is used in many areas (e.g. in Logistics and in Human Resources) in the standard version.

You can use calendar maintenance to maintain and display the components of the calendar system. The public holiday and factory calendar data calculated from calendar maintenance is directly available to the system.

You can only change the holiday and factory calendar in the clients setup for them. The client must have the "Customizing" role and the "Repository and cross-client Customizing changes allowed" attribute. You must have maintenance authorization for the calendar.

A factory calendar is allocated to your plant via another Customizing function.

The calendar system consists of the following components:

  • Public holidays
    Definitions for public holidays: Calculation rule for date, religious denomination etc.
  • Public holiday calendar
    Any composition of public holiday rules.
  • Factory calendar
    Definition of workdays including special regulations, under the assignment of a particular public holiday calendar.

Standard settings

The system delivers definitions of all common public holidays and public holiday rules, as well as a standard factory calendar.

A main memory area of 400000 Bytes is reserved for calendar data in the standard version. This is the mimimum buffer size, which you should not go under.

Activities

Check whether all the definitions for public holidays and public holiday rules that you need are available in the sytem. If necessary, maintain the public holiday definitions and copy them to new or existing public holiday rules.

Create factory calendars if necessary.

Public holidays

Check that existing public holidays are complete, and create new definitions if required:

  1. Double-click with the mouse on the Execute symbol, select the option Public holidays and choose the function Display.
  2. Check whether the list of public holidays displayed contains all the public holidays that you need.
    If you want to see detailed information on any public holiday, choose the function Display def.
  3. If you need other public holidays, return to the initial screen of the maintenance transaction, and choose the function Change.
  4. Choose the function Insert, and now make the following entries:
  • Public holiday type. By default, public holidays are defined as Floating Public Holiday.

  • Date or calculation rule

  • Public holiday text (short and long)

  1. If required: Sort criterion, religious denomination or public holiday class (for notes on this, press the F1 Help).
  2. Save the definition.

Public holidays - Hijri Utility

If your organization intends to use the Hijri calendar for public holiday dates, you can convert the Hijri dates to the equivalent Gregorian dates by completing the following steps:

  1. When you execute the transaction, select the public holiday radio button, and click Edit.
  2. Double-click the public holiday in question. Note that you can only edit a public holiday that belongs to the "Floating Public Holiday" variety.
  3. In the Create/Change Public Holidays: Floating Public Holidays dialog, in the Public Holiday Attributes group box, enter a long and short text for the public holiday. If required, sort the criterion, religious denomination or public holiday class (for notes on this, press the F1 Help).
  4. In the Hijri Date group box, enter the Hijri day, month, and year, and specify the number of years that you want to generate Gregorian equivalents for. When you are ready, choose the execute pushbutton. This generates Gregorian date equivalents, which you can then adjust to your requirements.

Public holiday calendar

Combine the public holidays you require in a public holiday rule in the public holiday calendar:

  1. Double-click with the mouse on "Execute function", select the option Public holiday calendar and choose the function Display.
  2. Check whether all the public holiday rules that your require are available.
    To get the definitions for a public holiday calendar, position the cursor on it and choose the function Display def..
  3. If you need other public holiday calendars or would like to change existing ones, return to the initial screen of the maintenance transaction and choose the function Change.
  4. To create a public holiday calendar, choose the function Insert (to change a public holiday calendar, position the cursor on it and choose Change), and make the following entries:
  • Calendar ID and a descriptive short text

  • Period of validity (From year, To year)

  1. Using the function Assign public holidays, generate a complete list of defined public holidays.
  2. Select the public holidays you need, and choose Assign public holidays.
  3. Save your entries.

Factory calendar

Define a factory calendar including the relevant public holiday calendar:

  1. Double-click with the mouse on "Execute function", select the option Public holiday calendar and choose the function Display.
  2. In calendar maintenance, select the option "Factory calendar", and choose the function Change.
  3. Choose the function Insert and make the following entries:
  • Factory calendar ID and a descriptive short text

  • Period of validity (From year, To year)

  • Public holiday calendar ID

  • Start no. factory date
    Number from which the factory date is incremented for each workday.
    If you do not make an entry, the default value is "0".

  1. Decide which days of the week are meant to be workdays.
  2. Define special rules if necessary (e.g. plant holidays).

Further notes

  • Calendar buffer
    If you want to increase the size of the calendar buffer, maintain the parameter zcsa/calendar_area with the maintenance transaction for system profiles. Restart the system for the value to take effect.
  • Transport
    Changes to calendar data are not automatically included in a correction request.
    For the calendar data to be utilizable in another system, use the function Transport in the initial screen of the maintenance transaction.
    Note that you cannot transport individual public holidays or calendars. You can only transport calendar data in its entirety. When you do this, all public holidays, public holiday and factory calendars existing in the target system are deleted.






rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 8041 Date: 20240523 Time: 184905     sap01-206 ( 101 ms )