Hierarchy
⤷ IS-M (Application Component) SAP Media
⤷ JSD (Package) Appl. dev. R/3 Publishing Sales and Distribution System
Basic Data
Data Element | RTVARTYPST |
Short Description | Generate truck route |
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 | GenTrRte |
Medium | 15 | Gen.truck route |
Long | 20 | Generate truck route |
Heading | 6 | GTrRte |
Supplementary Documentation - RTVARTYPST0001
Use
- Example for daily run frequency for a truck route:
- If the following is specified for individual period 1:
Truck route is generated = X (truck route is run)
On Monday August 2nd, 1993, the truck route is run on Monday. (The Monday is not a public holiday, nor is it the day before or one or two days after a public holiday; if any of these were the case, the system would determine whether the truck route was run according to the indicators specified for the Monday in the truck route generation data (BefPH, OnPH, 1AftPH, 2AftPH). - If the following is specified:
Truck route is generated = blank
On Monday August 2nd, 1993, the truck route is not run. (If the Monday were a public holiday, the day before or one or two days after a public holiday, the entry in the truck route generation data would determine whether or not the truck route was run.)
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 - RTVARTYPST0002
Use
- Example of non-daily run frequency for a truck route: Monthly run frequency in year
- If the following is specified for individual period 1:
Truck route is generated = X (truck route runs in January)
According to time offset and absolute time specifications and public holiday collisions, January 5th was determined as the planning date for the January truck route. This means that the January truck route is run on January 5th. - If the following is specified:
Standard truck route variant type = blank
The January truck route is not run (in this case, it is also not possible to have the truck route run on the basis of time offsets or public holiday collisions).
Examples
Examples for creation and interpretation of a generation rule
1. Example of a non-daily truck route
The frequency rule is explained here as it would be for a truck route run monthly:
- Repetition period : Year
- Grid : Month
- Grid divider : 1
- Grid factor : 1
This results in 12 individual periods:
- Individual period 1 : January
- Individual period 2 : February
...
- Individual period 12: December
In the generation rule, the individual periods are displayed in a tabular view containing the following columns (truck route generation data):
- Individual period
- Generate truck route (GTRte)
- Current day in individual period (DP)
- Current week in individual period (WP)
- Current month in individual period (MP)
- Public holiday collision (PHColl.)
You must now define the truck route generation data for each individual period.
2. Example of a generation rule (non-daily)
In the sequence MP/WP/DP, the FIRST entry is a time offset and all others are absolute times.
Ind.period GTRte DP WP MP PHolColl.
-----------------------------------------------------------
1 X 0 0 0 X
2 X 0 0 0 +
3 X 0 0 2 -
4 X 0 3 2 +
5 X 4 3 2 +
6 X 4 3 0 +
7 X 4 0 0 +
8 X 0 0 0 +
9 X 0 0 0 +
10 X 0 0 0 +
11 X 0 0 0 +
12 X 0 0 0 +
Interpretation of this generation rule
The individual period date is the start of the individual period irrespective of any additional time offset, absolute time and public holiday collisions that may have been specified.
Individual period 1 ( = January):
-GTRte=X : The January truck route has the individual period date
January 1st. No time offset or absolute times are
specified. The provisional shipping date remains
January 1st. The system now checks if this date
is a public holiday. January 1st is a public
holiday. The indicator for public holiday collision
defines that the truck route is still to be run on a
public holiday. This means that the shipping date
for the January issue is January 1st.
(If a '+' was entered in this field, the truck route
would be run on the workday following the public
holiday.)
Individual period 2 ( = February):
-GTRte=X : The February truck route has the individual period date
February 1st. No time offset or absolute times are
specified. The provisional shipping date remains
February 1st. The system now checks if this date
is a public holiday. February 1st is not a public
holiday. (The indicator for public holiday collision
is therefore ignored.) This means that the shipping
date for the February issue is February 1st.
(If February 1st were a public holiday, the February
truck route would run on the workday following it.)
Individual period 3 ( = March):
-GTRte=X : The March truck route has the individual period date
March 1st. A time offset of 2 months into the
future is specified. This means the provisional
shipping date is May 1st. May 1st is a public
holiday. The indicator for public holiday collision
defines that the truck route is to be run on the last
workday before the public holiday. (Non-working
days in the factory calendar are taken into account
here.)
Individual period 4 ( = April):
-GTRte=X : The April truck route has the individual period date
April 1st. A time offset of 2 months is specified
together with an absolute time of 3 for the week.
This means that the provisional shipping date is
moved 2 months into the future, to June 1st, and
then to the 3rd week in this month, to the beginning
of this 3rd week in June (the Monday). (A week is
assigned to a month if the whole of the week starting
from the Monday belongs to that month.) The public
holiday collision is handled as above.
Individual period 5 ( = May):
-GTRte=X : The May truck route has the individual period date
May 1st. A time offset of 2 months is specified
together with an absolute time of 3 for the week
&
History
Last changed by/on | SAP | 20050224 |
SAP Release Created in |