CDS标准视图:维修工单工艺数据 I_MAINTORDEROPERATIONDATA
- 视图名称:维修工单工艺数据 I_MAINTORDEROPERATIONDATA
- 视图类型:基础
- 视图代码:
点击查看代码
@EndUserText.label: 'Maintenance Order Operation Data'
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.sqlViewName: 'IPMORDOPERDATA'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'I_MaintOrderOperation_DEX'
@Analytics: {
dataCategory: #FACT,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
mapping:[
{
table: 'afvc', role: #MAIN,
viewElement: [ 'MaintOrderRoutingNumber', 'MaintOrderOperationCounter'],
tableElement: ['aufpl', 'aplzl']
}
,
{
table: 'afko', role: #LEFT_OUTER_TO_ONE_JOIN,
viewElement: ['MaintenanceOrder'],
tableElement: ['aufnr']}
]
}
}
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #XL
}
}
@ObjectModel.supportedCapabilities: [ #EXTRACTION_DATA_SOURCE ]
@Metadata.ignorePropagatedAnnotations: true
// A more comprehensive view for order (sub)operation data, created as a replacement for BW extractor 2LIS_17_I3OPER
define view I_MaintOrderOperationData
as select from I_MaintOrderOperAndSubOper
association [0..1] to I_LogisticsOrder as _Order on _Order.OrderID = $projection.MaintenanceOrder // AUFK (Order master data) and AFKO (Order Header data )
association [0..1] to I_LocationAccountAssignment as _LocationAccountAssignment on $projection.maintobjectlocacctassgmtnmbr = _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr
association [0..1] to I_Equipment as _Equipment on $projection.equipment = _Equipment.Equipment
{
key MaintenanceOrder,
key cast( MaintOrderOperationCounter as operationinternalid preserving type ) as MaintOrderOperationCounter,
// Order Header:
MaintOrderRoutingNumber,
_MaintenanceOrder._LocationAccountAssignment.FunctionalLocation,
_MaintenanceOrder.Equipment,
_MaintenanceOrder.Assembly,
_MaintenanceOrder.MaintenanceActivityType,
_MaintenanceOrder.MaintenancePlannerGroup,
_MaintenanceOrder.MaintenancePlanningPlant,
_MaintenanceOrder.MaintenanceOrderType,
_MaintenanceOrder.MaintenancePlant,
_MaintenanceOrder.MaintObjectLocAcctAssgmtNmbr,
// Order Operation (MCVGIH)
MaintenanceOrderOperation,
MaintenanceOrderSubOperation,
OperationPersonResponsible,
OperationControlKey,
OperationDescription,
_WorkCenter.WorkCenter,
// note 3197880: WorkCenterPlant get it from operation (in case work center initial)
// _WorkCenter.Plant as WorkCenterPlant,
Plant as WorkCenterPlant,
@Semantics.quantity.unitOfMeasure: 'OperationPlannedWorkUnit'
_OperationPlanningValues.OperationPlannedWork,
@ObjectModel.foreignKey.association: '_PlannedWorkUnitOfMeasure'
@Semantics.unitOfMeasure:true
_OperationPlanningValues.OperationPlannedWorkUnit,
@Semantics.quantity.unitOfMeasure: 'OperationPlannedWorkUnit'
_OperationPlanningValues.ConfirmationTotalQuantity,
@Semantics.quantity.unitOfMeasure: 'OperationQuantityUnit'
_OperationPlanningValues.OperationQuantity,
@ObjectModel.foreignKey.association: '_OperationQtyUnitOfMeasure'
@Semantics.unitOfMeasure: true
_OperationPlanningValues.OperationQuantityUnit,
Assembly as OperationAssembly,
CostCtrActivityType,
CostElement,
MaterialGroup,
OperationUnloadingPointName,
PurchaseRequisition,
cast( case when _StatusObjectActiveStatus[ StatusCode = 'I0013' ].StatusCode is not null then 'X' else ' ' end as eam_is_deleted preserving type ) as IsDeleted,
@Semantics.systemDate.createdAt: true
_MaintenanceOrder._Order.CreationDate,
@Semantics.systemDateTime.lastChangedAt: true
_MaintenanceOrder.LastChangeDateTime,
MaintOrderConfirmation,
MaintOrderOperationInternalID,
SuperiorOperationInternalID,
OperationWorkCenterInternalID,
OperationWorkCenterTypeCode,
/* Associations */
//I_MaintOrderOperPlanningValues
_OperationPlanningValues._PlannedWorkUnitOfMeasure,
_OperationPlanningValues._OperationQtyUnitOfMeasure,
// For DCL:
_MaintenanceOrder,
_PersonResponsible,
_Order,
_Equipment,
_LocationAccountAssignment
}
事务代码:IW33/IW49
短描述、创建日期、技术对象、删除标记、完成确认编码、计划数据、工作中心、采购和会计数据视图结构:
| 字段名称 | 技术名称 |
|---|---|
| 订单 | MAINTENANCEORDER |
| 工序内部标识 | MAINTORDEROPERATIONCOUNTER |
| 计划工艺路线号 | MAINTORDERROUTINGNUMBER |
| 功能位置 | FUNCTIONALLOCATION |
| 设备 | EQUIPMENT |
| 装配 | ASSEMBLY |
| 活动类型 | MAINTENANCEACTIVITYTYPE |
| 计划人员组 | MAINTENANCEPLANNERGROUP |
| 计划工厂 | MAINTENANCEPLANNINGPLANT |
| 订单类型 | MAINTENANCEORDERTYPE |
| 工厂 | MAINTENANCEPLANT |
| 位置/科目分配 | MAINTOBJECTLOCACCTASSGMTNMBR |
| MAINTENANCEORDEROPERATION | |
| 子工序 | MAINTENANCEORDERSUBOPERATION |
| 人员编号 | OPERATIONPERSONRESPONSIBLE |
| 控制码 | OPERATIONCONTROLKEY |
| 工序短文本 | OPERATIONDESCRIPTION |
| 工作中心 | WORKCENTER |
| 工厂 | WORKCENTERPLANT |
| 工作 | OPERATIONPLANNEDWORK |
| 工作单位 | OPERATIONPLANNEDWORKUNIT |
| 实际的工作 | CONFIRMATIONTOTALQUANTITY |
| 工序数量 | OPERATIONQUANTITY |
| 基本单位 | OPERATIONQUANTITYUNIT |
| 装配 | OPERATIONASSEMBLY |
| 活动类型 | COSTCTRACTIVITYTYPE |
| 成本要素 | COSTELEMENT |
| 物料组 | MATERIALGROUP |
| 卸货点 | OPERATIONUNLOADINGPOINTNAME |
| 请购单 | PURCHASEREQUISITION |
| 已删除 | ISDELETED |
| 创建日期 | CREATIONDATE |
| 时戳 | LASTCHANGEDATETIME |
| 确认 | MAINTORDERCONFIRMATION |
| 对象编号 | MAINTORDEROPERATIONINTERNALID |
| 上级工序结点 | SUPERIOROPERATIONINTERNALID |
| 对象标识 | OPERATIONWORKCENTERINTERNALID |
| OPERATIONWORKCENTERTYPECODE |

CDS标准视图:维修工单工艺数据 I_MAINTORDEROPERATIONDATA的更多相关文章
- 【ASP.NET MVC系列】浅谈ASP.NET MVC 视图与控制器传递数据
ASP.NET MVC系列文章 [01]浅谈Google Chrome浏览器(理论篇) [02]浅谈Google Chrome浏览器(操作篇)(上) [03]浅谈Google Chrome浏览器(操作 ...
- HTML5(字符标准,表单)
字符标准 <meta charset="utf-8"> 表单 1.HTML 表单用于搜集不同类型的用户输入. 实例——创建文本字段 <form action=&q ...
- django做form表单的数据验证
我们之前写的代码都没有对前端input框输入的数据做验证,我们今天来看下,如果做form表单的数据的验证 在views文件做验证 首先用文字描述一下流程 1.在views文件中导入forms模块 2. ...
- MySQL单表数据不超过500万:是经验数值,还是黄金铁律?
今天,探讨一个有趣的话题:MySQL 单表数据达到多少时才需要考虑分库分表?有人说 2000 万行,也有人说 500 万行.那么,你觉得这个数值多少才合适呢? 曾经在中国互联网技术圈广为流传着这么一个 ...
- MySQL单表数据不要超过500万行:是经验数值,还是黄金铁律?
本文阅读时间大约3分钟. 梁桂钊 | 作者 今天,探讨一个有趣的话题:MySQL 单表数据达到多少时才需要考虑分库分表?有人说 2000 万行,也有人说 500 万行.那么,你觉得这个数值多少才合适呢 ...
- odoo 给列表视图添加按钮实现数据文件导入
实践环境 Odoo 14.0-20221212 (Community Edition) 代码实现 模块文件组织结构 说明:为了更好的表达本文主题,一些和主题无关的文件.代码已略去 odoo14\cus ...
- from表单提交数据之后,后台对象接受不到值
如果SSH框架下,前段页面通过from表单提交数据之后,在后台对象显示空值,也就是接收不到值得情况下.首先保证前段输入框有值,这个可以在提交的时候用jQuery的id或者name选择器alert弹出测 ...
- 视图(View)与部分视图(Partial View)之间数据传递
写ASP.NET MVC程序,我们经常需要把数据从视图(View)传递至部分视图(Partial View) 或者相反. 今天Insus.NET使用 ControllerBase.TempData 进 ...
- HTML中表单提交数据GET、POST的区别
表单提交数据Get和Post的区别: GET和POST是表单提交数据其中的两种方式,除此之外还有PUT.DELETE等. GET: GET的请求起因于正常的URL请求,或是没有指定METHOD的HTM ...
- struts_表单得到数据
在大家学习struts表达式语言的时候经常会遇到,从表单的提交上面得到数据, 而如何将表单的数据得到呢? 下面就介绍其中的一种方式: :以类的方式进行注入我们以login为例子 首先可以在struts ...
随机推荐
- springBoot项目启动卡在Root WebApplicationContext: initialization completed... (非DEBUG断点问题)
通过源码启动排查发现,初始化连接池时创建了200次,通过配置文件中将initialSize值改为10,启动时间从1分钟变为了3秒.
- 说说Java的类加载机制?究竟什么是双亲委派模型?
首先引入一个概念,什么是Java类加载器? 一句话总结:类加载器(class loader)用来加载 Java 类到 Java 虚拟机中. 官方总结:Java类加载器(英语:Java Classloa ...
- normal matrix 正规矩阵
资料来源 In mathematics, a complex square matrix A is normal if 满足此条件也意味着A可对角化. 所以,厄米矩阵和幺正矩阵都是正规矩阵.
- K均值聚类和代码实现
K均值聚类是一种无监督学习分类算法. 介绍 对于$n$个$m$维特征的样本,K均值聚类是求解最优化问题: $\displaystyle C^*=\text{arg}\min\limits_{C}\su ...
- JVM学习笔记-操作数栈(Operand Stack)
Like the local variables, the operand stack is organized as an array of words. But unlike the local ...
- python爬虫利器之Playwright
Playwright 是微软在 2020 年初开源的新一代自动化测试工具,它的功能类似于 Selenium.Pyppeteer 等,都可以驱动浏览器进行各种自动化操作.它的功能也非常强大,对市面上的主 ...
- Element-Plus表格:Table自定义合并行数据的最佳实践
" 知行合一 " -- 王阳明 在开发项目中,我们时常会用到表格,许多需求可能会要求自定义特定的行或列. 接下来,我们将探讨在实际开发中如何应对这一挑战. 本文案例采用的技术: 名 ...
- ArkTs布局入门02——弹性布局(Flex)
1.概述 弹性布局(Flex)提供更加有效的方式对容器中的子元素进行排列.对齐和分配剩余空间.容器默认存在主轴与交叉轴,子元素默认沿主轴排列,子元素在主轴方向的尺寸称为主轴尺寸,在交叉轴方向的尺寸称为 ...
- openEuler欧拉部署Redis
一.系统优化 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 关闭selinux sed -ri 's/SELINUX=enfor ...
- 01编程语言简介与C++
编程语言是编程的工具 计算机系统是分层的 图1: 图2: 编程语言是软件,也是分层的 图3: 图4: 图5: 图6: visual studio.vscode .dev-c++是三种用于C++编程的集 ...