@AbapCatalog.sqlViewName : 'CCPPMATVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@EndUserText.label : 'Material for Cut Planning Profile'
@ObjectModel.representativeKey : 'BillOfOperationsGroup'
@ObjectModel.usageType: {serviceQuality: #C,
dataClass: #MIXED,
sizeCategory: #S}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey:true
@Search.searchable: true
@ObjectModel.dataCategory: #VALUE_HELP
define view C_ChgRecdRefCutPlngPrflMatVH as select from I_BillOfOperations as _BillOfOperations
association [0..*] to I_BOOMaterialAssgmtChangeState as _BOOMaterialAssgmtChangeState on $projection.BillOfOperationsType = _BOOMaterialAssgmtChangeState.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BOOMaterialAssgmtChangeState.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BOOMaterialAssgmtChangeState.BillOfOperationsVariant
{
@EndUserText.label : 'Material'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
key _BOOMaterialAssgmtChangeState.Material,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
key _BOOMaterialAssgmtChangeState.Plant,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.9
@EndUserText.label : 'Group '
key cast ( BillOfOperationsGroup as r_plnnr preserving type) as BillOfOperationsGroup,
@Search.defaultSearchElement: true
key BillOfOperationsVariant,
@Search.defaultSearchElement: true
@UI.hidden: true
key BillOfOperationsType,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
cast (_BillOfOperations._BillOfOperationsChangeState[1: ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date].BillOfOperationsDesc as r_rbez preserving type) as BillOfOperationsDesc ,
@Search.defaultSearchElement: true
_BillOfOperations._BillOfOperationsChangeState[1: ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date].BillOfOperationsUsage,
@Search.defaultSearchElement: true
cast (_BillOfOperations._BillOfOperationsChangeState[1: ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date].BillOfOperationsStatus as r_statu preserving type) as BillOfOperationsStatus,
_BOOMaterialAssgmtChangeState
}
where BillOfOperationsType = '3'
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_BILLOFOPERATIONS",
"I_BILLOFOPERATIONSCHANGESTATE",
"I_BOOMATERIALASSGMTCHANGESTATE"
],
"ASSOCIATED":
[
"I_BOOMATERIALASSGMTCHANGESTATE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_ChgRecdRefCutPlngPrflMatVH view