Loading

CDS标准视图:维护计划员组 I_MAINTENANCEPLANNERGROUP

  • 视图名称:维护计划员组 I_MAINTENANCEPLANNERGROUP
  • 视图类型:基础视图
  • 视图代码:
点击查看代码
@EndUserText.label: 'Maintenance Planner Group'
@Analytics: { dataCategory: #DIMENSION,
  dataExtraction : { enabled: true ,
  delta.changeDataCapture.automatic: true }
}
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IMAINTPLGRP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK

@ObjectModel.representativeKey:  'MaintenancePlannerGroup'

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE]

define view I_MaintenancePlannerGroup as select from t024i
//Obsolete-C1 released association not intended to used and replaced with I_MaintenancePlanPlant
association[0..1] to I_Plant as _MaintenancePlanningPlant on $projection.MaintenancePlanningPlant = _MaintenancePlanningPlant.Plant
//////////////////////////////////////////////////////////////////////////////
association[0..1] to I_MaintenancePlanPlant  as _MaintenancePlanPlant on $projection.MaintenancePlanningPlant = _MaintenancePlanPlant.MaintenancePlanningPlant
{

    @ObjectModel.text.element:  [ 'MaintenancePlannerGroupName' ]
    key cast( t024i.ingrp as eam_planner_group preserving type ) as MaintenancePlannerGroup,

    @ObjectModel.foreignKey.association: '_MaintenancePlanPlant'
    key t024i.iwerk as MaintenancePlanningPlant,

    @Semantics.text: true
    cast( t024i.innam as eam_planner_group_name preserving type ) as MaintenancePlannerGroupName,
    @Semantics.telephone.type:#PREF
    t024i.intel as MaintPlannerGroupPhoneNumber,
    t024i.auart_wp as MaintenanceOrderType,
    @Semantics.eMail.address : true
    t024i.smtp_addr as EmailAddress,

    _MaintenancePlanningPlant,  //Obsolete association
    _MaintenancePlanPlant
}
  • 事务代码:OP48
    维护计划员组、维护工厂

  • 视图结构:

字段名称 技术名称
维护计划员组 MAINTENANCEPLANNERGROUP
计划工厂 MAINTENANCEPLANNINGPLANT
维护计划员组的名称 MAINTENANCEPLANNERGROUPNAME
电话号码 MAINTPLANNERGROUPPHONENUMBER
订单类型 MAINTENANCEORDERTYPE
电子邮件地址 EMAILADDRESS

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