@AbapCatalog.sqlViewName: 'PCURMVPRICECRJ'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #BASIC
define view P_CURMATLVALNPRICE_CR_JOIN
as select from P_CURMATLVALNPRICE_CR as cr
inner join P_CURMATLVALNPRICE_CR_MAX as crmax on cr.CostEstimate = crmax.CostEstimate
and cr.CurrencyRole = crmax.CurrencyRole
and cr.FiscalYearPeriod = crmax.MaxFiscPer
{
key crmax.CostEstimate,
key crmax.CurrencyRole,
crmax.MaxFiscPer,
MaterialPriceControl,
MaterialPriceUnitQty,
Currency,
MovingAveragePrice,
StandardPrice,
InventoryPrice
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_CURMATLVALNPRICE_CR",
"P_CURMATLVALNPRICE_CR_MAX"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/