Loading

CDS标准视图:维护包描述 I_MaintPackageTextData

  • 视图名称:维护包描述 I_MaintPackageTextData
  • 视图类型:基础
  • 视图代码:
点击查看代码
@EndUserText.label: 'Maintenance Package - Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'IMNTPCKGTXTDATA'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'MaintenancePackage'

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@Metadata.ignorePropagatedAnnotations: true

@Analytics: {
  dataExtraction: {
    enabled: true
  }
}

@ObjectModel.modelingPattern:   #EXTRACTION_DATA_SOURCE
@ObjectModel.supportedCapabilities:     [ #EXTRACTION_DATA_SOURCE ]

define view I_MaintPackageTextData
    as select from I_MaintenancePackageText

    association [0..1] to I_MaintenanceStrategyData as _MaintenanceStrategy     on  _MaintenanceStrategy.MaintenanceStrategy = $projection.MaintenanceStrategy

    association [0..1] to I_MaintenancePackageData  as _MaintenancePackage      on  _MaintenancePackage.MaintenanceStrategy = $projection.MaintenanceStrategy
                                                                                and _MaintenancePackage.MaintenancePackage  = $projection.MaintenancePackage

    association [0..1] to I_Language                as _Language                on  _Language.Language = $projection.Language
{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key Language,

      @ObjectModel.foreignKey.association: '_MaintenanceStrategy'
  key MaintenanceStrategy,

      @ObjectModel.foreignKey.association: '_MaintenancePackage'
  key MaintenancePackage,

      @Semantics.text: true
      MaintenancePackageText,

      @Semantics.text: true
      MaintPackageHierarchyShortText,

      @Semantics.text: true
      MaintenanceCycleShortText,

      @Semantics.text: true
      StartOffsetShortText,

      /* Associations - locally defined */
      _Language,
      _MaintenancePackage,
      _MaintenanceStrategy
}
  • 事务代码:IP12

  • 视图结构:

字段名称 技术名称
语言 LANGUAGE
策略 MAINTENANCESTRATEGY
维护包 MAINTENANCEPACKAGE
周期正文 MAINTENANCEPACKAGETEXT
层次短说明正文 MAINTPACKAGEHIERARCHYSHORTTEXT
周期简短正文 MAINTENANCECYCLESHORTTEXT
偏置短说明文本 STARTOFFSETSHORTTEXT

posted @ 2025-01-07 13:49  观兴  阅读(1)  评论(0编辑  收藏  举报