I_MLPricePersistedPeriod
Periods for ML Prices per Currency
I_MLPricePersistedPeriod is a Composite CDS View that provides data about "Periods for ML Prices per Currency" in SAP S/4HANA. It reads from 5 data sources (P_MLPricePersistedPeriod, I_MaterialLedgerPrice, ckmlhd, R_MatlPriceDataMigrationStatus, t001k) and exposes 13 fields with key fields CostEstimate, ValuationArea, Material, CurrencyRole, FiscalYearPeriod.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| P_MLPricePersistedPeriod | cr | from |
| I_MaterialLedgerPrice | fmltp | union_all |
| ckmlhd | hd | inner |
| R_MatlPriceDataMigrationStatus | tf | inner |
| t001k | tk | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMLPRICEPERSPER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Periods for ML Prices per Currency | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | CostEstimate | ||
| KEY | ValuationArea | ValuationArea | ||
| KEY | Material | Material | ||
| KEY | CurrencyRole | CurrencyRole | ||
| KEY | FiscalYearPeriod | FiscalYearPeriod | ||
| CompanyCode | CompanyCode | |||
| CostEstimateasCostEstimate | ||||
| KEY | ValuationArea | t001k | bwkey | |
| KEY | Material | ckmlhd | matnr | |
| KEY | CurrencyRole | I_MaterialLedgerPrice | CurrencyRole | |
| KEY | FiscalYearPeriod | MatlPrcValdtyStrtFsclYearPerd | ||
| CompanyCode | t001k | bukrs | ||
| MatlPrcMigratedUntilFsclYrPerd |
@AbapCatalog.sqlViewName: 'IMLPRICEPERSPER'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Periods for ML Prices per Currency'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MIXED
define view I_MLPricePersistedPeriod
as select from P_MLPricePersistedPeriod as cr
{
key CostEstimate,
key ValuationArea,
key Material,
key CurrencyRole,
key FiscalYearPeriod,
CompanyCode,
MatlPrcMigratedUntilFsclYrPerd
}
union all
select from I_MaterialLedgerPrice as fmltp
inner join R_MatlPriceDataMigrationStatus as tf on ( tf.MatlPriceDataMigrationStatus = 'F' )
or ( tf.MatlPriceDataMigrationStatus = 'R' )
inner join ckmlhd as hd on hd.kalnr = fmltp.CostEstimate
inner join t001k as tk on tk.bwkey = hd.bwkey
{
key fmltp.CostEstimate as CostEstimate,
key tk.bwkey as ValuationArea,
key hd.matnr as Material,
key fmltp.CurrencyRole as CurrencyRole,
key MatlPrcValdtyStrtFsclYearPerd as FiscalYearPeriod,
tk.bukrs as CompanyCode,
cast(hd.price_sdm_yearper as fml_yearper_nconv) as MatlPrcMigratedUntilFsclYrPerd
}
where ( ( hd.price_sdm_yearper <> '0000000' and hd.price_sdm_yearper <= fmltp.MatlPrcValdtyStrtFsclYearPerd ) )
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MATERIALLEDGERPRICE",
"P_MLPRICEPERSISTEDPERIOD",
"R_MATLPRICEDATAMIGRATIONSTATUS",
"CKMLHD",
"T001K"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA