- 视图名称:优先级描述数据 I_GenericPriorityTextData
- 视图类型:基础视图
- 视图代码:
点击查看代码
@AbapCatalog.sqlViewName: 'IGENPRIOTEXTDATA'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Generic Priority - Text'
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'PriorityCode'
@Metadata.ignorePropagatedAnnotations: true
@AbapCatalog.preserveKey:true
@Analytics: {
dataExtraction: {
enabled: true
}
}
@ObjectModel: {
dataCategory: #TEXT,
usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #A,
sizeCategory: #S
},
supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #CDS_MODELING_ASSOCIATION_TARGET],
modelingPattern: #LANGUAGE_DEPENDENT_TEXT
}
define view I_GenericPriorityTextData
as select from I_GenericPriorityText
association [0..1] to I_GenericPriorityData as _GenericPriorityData on _GenericPriorityData.GenericPriorityType = $projection.GenericPriorityType
and _GenericPriorityData.PriorityCode = $projection.PriorityCode
{
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key Language,
@ObjectModel.foreignKey.association: '_GenericPriorityType'
key GenericPriorityType,
@ObjectModel.foreignKey.association: '_GenericPriorityData'
key PriorityCode,
@Semantics.text: true
GenericPriorityDesc,
// Propagate association(s)
_GenericPriorityData,
_GenericPriorityType,
_Language
}
-
事务代码:配置SPRO
优先级描述 -
视图结构:
字段名称 | 技术名称 |
---|---|
优先级类型 | GENERICPRIORITYTYPE |
优先级 | PRIORITYCODE |
相对开始日期 | GENERICSTARTDATESHIFTFACTOR |
开始日期单位 | GENERICSTRTDATESHIFTFACTORUNIT |
相对结束日期 | GENERICENDDATESHIFTFACTOR |
结束日期单位 | GENERICENDDATESHIFTFACTORUNIT |
优先级颜色代码 | GENERICPRIORITYCOLORCODE |