SAP ABAP Data Element RTVARTYPVF (Truck route before public holiday)
Hierarchy
IS-M (Software Component) SAP MEDIA
   IS-M (Application Component) SAP Media
     JSD (Package) Appl. dev. R/3 Publishing Sales and Distribution System
Basic Data
Data Element RTVARTYPVF
Short Description Truck route before public holiday  
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 TRBefPH 
Medium 15 TRBefPH 
Long 20 TrRte bef.pub.hol. 
Heading BefPH 
Supplementary Documentation - RTVARTYPVF0001

Examples

Examples for creation and interpretation of a generation rule

Example for a daily truck route

The frequency rule for a daily is always defined as follows:
- Repetition period : Week
- Grid : Day
- Grid divider : 1
- Grid factor : 1

This results in 7 individual periods:
- Individual period 1 : Monday
- Individual period 2 : Tuesday
...
- Individual period 7 : Sunday

In the generation rule, the individual periods are displayed in a tabular view containing the following columns (truck route generation data):
- Individual period
- Truck route is generated on 1st day of individual period (GTRte)
- Truck route is generated if the date is the day before a public
holiday (BefPH)
- Truck route is generated if the date is a public holiday (OnPH)
- Truck route is generated if the date is the day after a public
holiday (1AftPH)
- Truck route is generated if the date is two days after a public
holiday (2AftPH)

The truck route generation data must now be defined for each individual period.

Example of a generation rule (daily)
Ind.period GTRte BefPH OnPH 1AftPH 2AftPH
-----------------------------------------------------------
1 X X X X
2 X X X X
3 X X X X
4 X X X X
5 X X X X
6 X X X X
7

Interpretation of this generation rule
Individual period 1 ( = Monday):
-GTRte=X : The truck route is run on Mondays.
-BefPH =X : If the Monday is the day before a public holiday
(i.e. the Tuesday is a public holiday), the truck route
is also run on the Monday.
-OnPH = : If the Monday is a public holiday, the truck route is not
run on the Monday.
-1AftPH=X : If the Monday is the day after a public holiday
(i.e. the Sunday is a public holiday), the truck route
is also run on the Monday.
-2AftPH=X : If the Monday is two days after a public holidy
(i.e. the Saturday is a public holiday), the truck route
is also run on the Monday.

Individual period 2 ( = Tuesday):
-GTRte=X : The truck route is run on Tuesdays.
-BefPH =X : If the Tuesday is the day before a public holiday
(i.e. the Wednesday is a public holiday), the truck route
is also run on the Tuesday.
-OnPH = : If the Tuesday is a public holiday, the truck route is not
run on the Tuesday.
-1AftPH=X : If the Tuesday is the day after a public holiday
(i.e. the Monday is a public holiday), the truck route is
also run on the Tuesday.
-2AftPH=X : If the Tuesday is two days after a public holiday
(i.e. the Sunday is a public holiday), the truck route is
also run on the Tuesday.

The other individual periods are interpreted in the same way.

Meaning of factory calendar specified for truck route

The factory calendar is ignored for dailies; only the public holiday calendar assigned to it is interpreted. (The factory calendar distinguishes between workdays and non-working days - for example, Saturday is generally a non-working day but not a public holiday. Public holidays are defined in the public holiday calendar.) If the generation rule is defined for Saturday (= individual period 6),y the only decisive factor for generation is whether or not the Saturday is a public holiday in the public holiday calendar. When generating daily publications, it is irrelevant whether or not the Saturday in the factory calendar is a non-working day.

Supplementary Documentation - RTVARTYPVF0002

Examples

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