SAP ABAP Data Element DYSCH (Create Daily Work Schedule Dynamically)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-PA (Application Component) Personnel Administration
     PBAS (Package) SAP HR Master Data Application Development
Basic Data
Data Element DYSCH
Short Description Create Daily Work Schedule Dynamically  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XFELD    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Dyn.DWS 
Medium 15 Dyn.daily WS 
Long 25 Dyn.daily work schedule 
Heading
Documentation

Definition

If you activate this field, the system overwrites certain fields in the daily work schedule with values from the Planned Working Time infotype (0007) when the work schedule is accessed in time evaluation.

Use

Procedure

Examples

An employee works part-time - an average of 5 hours a day, a minimum of 4, and a maximum of 6. His/her work schedule rule is GL for flextime.

The monthly work schedule contains the daily work schedule GL from Monday through Friday. The daily work schedule GL starts at 08:00 and ends at 17:00 (8 planned hours plus breaks).

Dynamic generation of the daily work schedule:
If the employee's daily work schedule is accessed (e.g. to enter a full-day absence), the fields in the daily work schedule (GL) are overwritten as follows:

Field Old GL WS New GL WS
Start of normal working time 08.00 08.00
End of normal working time 17.00 13.00
Planned working time 08.00 05.00
Minimum working time 00.00 04.00
Maximum working time 00.00 06.00

The start of normal working time is identical to the data in the daily work schedule. However, the end of normal working time is calculated by adding the number of daily working hours to the start of normal working time. The system performs this operation if you activate the Dynamic daily work schedule field.

The minimum working time is taken from the Minimum working time per day field and the

maximum working time from the Maximum working time per day field.
If the employee's break schedule specifies a break between 08:00 and 13:00, the new working time end is extended accordingly.

Dependencies


Supplementary Documentation - DYSCH 0001

Use

If you mark this checkbox, certain fields in the daily work schedule will be overwritten with values from infotype 0007 when the daily work schedule is accessed.

Example

An employee works part-time - an average of 5 hours each day from Monday to Friday. He/she is assigned the work schedule 'GL'.

The work schedule 'GL' begins at 8:00 and ends at 17:00 hours (8:00 working hours, the remaining time is for breaks).
If you must access the employee's work schedule, the fields are overwritten as follows:

Field Old WS New WS
Start of normal workings time 08.00 08.00
En of normal working time 17.00 13.00
Planned working time 08.00 05.00
Minimum working hours 00.00 04.00
Maximum working hours 00.00 06.00

The beginning of normal working time remains the same. The end of normal working time is calculated by adding the number of working hours per day (P0007-ARBST) to the start of normal working time.

The minimum working hours is taken from the minimum daily working hours field (P0007-MINTA), the maximum working hours from the maximum daily working hours field (P0007-MAXTA).
If, according to the break schedule, there is a break between 08.00 and 13.00, the new normal working time end is extended accordingly.

Procedure

Example

Dependencies

History
Last changed by/on SAP  19950403 
SAP Release Created in