SAP ABAP Data Element CPET_PERDETRULE (CPE Term - Period Determination Rule)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷ CA-GTF-CPE (Application Component) Commodity Pricing Engine
⤷ CPE_BASIS (Package) Commodity Pricing Engine: Basic Objects
⤷ CA-GTF-CPE (Application Component) Commodity Pricing Engine
⤷ CPE_BASIS (Package) Commodity Pricing Engine: Basic Objects
Basic Data
Data Element | CPET_PERDETRULE |
Short Description | CPE Term - Period Determination Rule |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | CPE_RULE | |
Data Type | CHAR | Character String |
Length | 5 | |
Decimal Places | 0 | |
Output Length | 5 | |
Value Table |
Further Characteristics
Search Help: Name | CPE_PERDETRULE | |
Search Help: Parameters | RULE | |
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 | PerDetRule |
Medium | 20 | Period Determ. Rule |
Long | 40 | Period Determination Rule |
Heading | 5 | PerRl |
Documentation
Definition
Defines the rule for determining the period during which price quotations or currency exchange rates are to be considered.
Use
A period determination rule defines the following details:
- Period determination routine used for calculating the period
- Source Routine for reading quotations or exchange rates from a specific table
- Fields for calculating the period:
- Reference Date Routine for choosing the starting point of the period determination
- Date Offset Routine and Number of Time Units for calculating the base date out of the reference date
- Time UoM Routine and Time Units Before and Time Units After for defining the length of the period before and after the base date
- Excluding Base Date flag to exclude the base date from the period
or
- Fix Start Date/Time and Fix End Date/Time
- Read-until routine for restricting the use of data after a certain date
- Date list routine for defining the number of entries within the period
- Period determination calendar for knowing closed days of the market
- Missing entry routine for handling missing data
- Closed days routine for handling days with closed market
- Maximum weighting to define the maximal weight of one entry during the calculation
Period determination rules can be defined in the commodity pricing engine (CPE) Customizing activity, Define Period Determination Rule.
Whenever conversion rules with the Use Averaging of Currency Exchange Rates flag set should be used within a commodity pricing formula, a period determination rule for the currency exchange rates has to be used.
Dependencies
The customer namespace for Rules is A0000 to ZZZZZ.
Example
History
Last changed by/on | SAP | 20130604 |
SAP Release Created in | 2004_1_46C |