CDS标准视图:优先级数据 I_GenericPriorityData
- 视图名称:优先级数据 I_GenericPriorityData
- 视图类型:基础视图
- 视图代码:
点击查看代码
@AbapCatalog.sqlViewName: 'IGENERICPRIODATA'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Generic Priority Data'
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'PriorityCode'
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
@AbapCatalog.preserveKey:true
@Analytics: {
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true
}
}
@ObjectModel: {
usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #A,
sizeCategory: #S
},
supportedCapabilities: [#EXTRACTION_DATA_SOURCE]
}
define view I_GenericPriorityData
as select from I_GenericPriority
{
@ObjectModel.foreignKey.association: '_GenericPriorityType'
key GenericPriorityType,
key PriorityCode,
GenericStartDateShiftFactor,
@ObjectModel.foreignKey.association: '_GenericStrtDateShiftFctrUnit'
GenericStrtDateShiftFactorUnit,
GenericEndDateShiftFactor,
@ObjectModel.foreignKey.association: '_GenericEndDateShiftFactorUnit'
GenericEndDateShiftFactorUnit,
GenericPriorityColorCode,
// Propagate association(s)
_GenericPriorityType,
_GenericPriorityText,
_GenericStrtDateShiftFctrUnit,
_GenericEndDateShiftFactorUnit
}
-
事务代码:配置SPRO
优先级类型、相对开始日期计算、优先级 -
视图结构:
| 字段名称 | 技术名称 |
| ------- | ------------------------------ |
| 优先级类型 | GENERICPRIORITYTYPE |
| 优先级 | PRIORITYCODE |
| 相对开始日期 | GENERICSTARTDATESHIFTFACTOR |
| 开始日期单位 | GENERICSTRTDATESHIFTFACTORUNIT |
| 相对结束日期 | GENERICENDDATESHIFTFACTOR |
| 结束日期单位 | GENERICENDDATESHIFTFACTORUNIT |
| 优先级颜色代码 | GENERICPRIORITYCOLORCODE |
本文来自博客园,作者:观兴,转载请注明原文链接:https://www.cnblogs.com/guanxing/p/18657759