SAP ABAP Data Element CPET_PERDETRULE_C (CPE Term - Period Determ. Rule for Currency Exchange Rates)
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_C |
Short Description | CPE Term - Period Determ. Rule for Currency Exchange Rates |
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 | Per.Rule C |
Medium | 20 | PerDetRule Curr |
Long | 40 | Ex.Rate: PerDetRule |
Heading | 5 | PerRC |
Documentation
Definition
Defines the rule for determining the period during which currency exchange rates are considered.
Use
The period determination rule for currency exchange rates defines the following details:
- Period determination routine - for calculating the period
- Source routine - for reading currency exchange rates from a specific table
- Fields for calculating the period include the following:
- 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 - to restrict the use of data after a certain date
- Date list routine - to define the number of entries within the period
- Period determination calendar - to determine the dates when the market is closed
- 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
You define period determination rules in the commodity pricing engine (CPE) Customizing activity, Define Period Determination Rule.
Dependencies
Whenever you use a conversion rule within a commodity pricing formula, and that conversion rule has the Use Averaging of Currency Exchange Rates flag set, then you have to use a period determination rule for the currency exchange rates.
Example
History
Last changed by/on | SAP | 20130604 |
SAP Release Created in | 2004_1_46C |