@AbapCatalog.sqlViewName: 'PSDSPPPDA00'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE
define view P_SPP_PredictionData00
as select from P_SPP_PredictionDate02
left outer join P_SPP_PredictionDimension
on YearMonth = YearMonth
{
key YearMonth,
key PartOfMonth,
SalesOrganization,
DistributionChannel,
Division,
SoldToParty,
CustomerGroup,
Material,
MaterialGroup,
BillingDocumentType,
YearQuarter,
PartOfQuarter,
CalendarWeek,
CalendarMonth,
CalendarQuarter,
Previous1YearMonth,
Previous1YearQuarter
}
where ( YearMonth = CurrentYearMonth or YearMonth = NextYearMonth )
and PartOfMonth = CurrentPartOfMonth
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_SPP_PREDICTIONDATE02",
"P_SPP_PREDICTIONDIMENSION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/