I_EquipmentTimeSeg
Equipment Time Segment
I_EquipmentTimeSeg is a Basic CDS View (Dimension) that provides data about "Equipment Time Segment" in SAP S/4HANA. It reads from 1 data source (equz) and exposes 27 fields with key fields Equipment, ValidityEndDate, EquipUsagePeriodSequenceNumber. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| equz | equz | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LocationAccountAssignment | _LocationAccountAssignment | _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr = $projection.MaintObjectLocAcctAssgmtNmbr |
| [0..1] | I_WorkCenterType | _WorkCenterType | $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode |
| [0..1] | I_WorkCenter | _WorkCenter | _WorkCenter.WorkCenterInternalID = $projection.WorkCenterInternalID and _WorkCenter.WorkCenterTypeCode = $projection.WorkCenterTypeCode |
| [0..*] | I_EquipmentText | _SuperordinateEquipmentText | _SuperordinateEquipmentText.Equipment = $projection.SuperordinateEquipment |
| [0..1] | I_TechnicalReport | _EquipmentCodeCatalog | $projection.CatalogProfile = _EquipmentCodeCatalog.CatalogProfile |
| [0..1] | I_Equipment | _Equipment | $projection.Equipment = _Equipment.Equipment |
| [0..1] | I_Product | _ConstructionMaterial | $projection.ConstructionMaterial = _ConstructionMaterial.Product |
| [0..1] | I_MaintenancePlanPlant | _MaintenancePlanningPlant | $projection.MaintenancePlanningPlant = _MaintenancePlanningPlant.MaintenancePlanningPlant |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Equipment Time Segment | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| AbapCatalog.sqlViewName | IEQUITIMESEGM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | EquipUsagePeriodSequenceNumber | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Equipment | equz | equnr | |
| KEY | ValidityEndDate | equz | datbi | |
| KEY | EquipUsagePeriodSequenceNumber | equz | eqlfn | |
| ValidityEndTime | equz | timbi | ||
| NextEquipUsagePeriodSqncNmbr | equz | equzn | ||
| MaintObjectLocAcctAssgmtNmbr | equz | iloan | ||
| WorkCenterInternalID | equz | gewrk | ||
| WorkCenterTypeCode | equz | pm_objty | ||
| MaintenancePlannerGroup | equz | ingrp | ||
| CatalogProfile | equz | rbnr | ||
| MaintenancePlanningPlant | equz | iwerk | ||
| SuperordinateEquipment | equz | hequi | ||
| EquipInstallationPositionNmbr | equz | heqnr | ||
| TechnicalObjectSortCode | equz | tidnr | ||
| ConstructionMaterial | equz | submt | ||
| ValidityStartDate | equz | datab | ||
| LastChangeDate | equz | aedat | ||
| ManufacturerPartNmbr | equz | mapar | ||
| LastChangeDateTime | equz | segchangeddatetime | ||
| _LocationAccountAssignment | _LocationAccountAssignment | |||
| _WorkCenterType | _WorkCenterType | |||
| _WorkCenter | _WorkCenter | |||
| _SuperordinateEquipmentText | _SuperordinateEquipmentText | |||
| _EquipmentCodeCatalog | _EquipmentCodeCatalog | |||
| _Equipment | _Equipment | |||
| _ConstructionMaterial | _ConstructionMaterial | |||
| _MaintenancePlanningPlant | _MaintenancePlanningPlant |
@EndUserText.label: 'Equipment Time Segment'
@Analytics: { dataCategory: #DIMENSION }
@AbapCatalog:{ sqlViewName: 'IEQUITIMESEGM', compiler.compareFilter: true, preserveKey }
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck:#CHECK
@AccessControl.privilegedAssociations:['_LocationAccountAssignment']
@ObjectModel.representativeKey: 'EquipUsagePeriodSequenceNumber'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET]
define view I_EquipmentTimeSeg
as select from equz // EQUZ = Equipment time segment
association [0..1] to I_LocationAccountAssignment as _LocationAccountAssignment on _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr = $projection.MaintObjectLocAcctAssgmtNmbr // ILOA = PM Object Location and Account Assignment
association [0..1] to I_WorkCenterType as _WorkCenterType on $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode
association [0..1] to I_WorkCenter as _WorkCenter on _WorkCenter.WorkCenterInternalID = $projection.WorkCenterInternalID
and _WorkCenter.WorkCenterTypeCode = $projection.WorkCenterTypeCode // CRHD = Work Center Header
association [0..*] to I_EquipmentText as _SuperordinateEquipmentText on _SuperordinateEquipmentText.Equipment = $projection.SuperordinateEquipment
association [0..1] to I_TechnicalReport as _EquipmentCodeCatalog on $projection.CatalogProfile = _EquipmentCodeCatalog.CatalogProfile
association [0..1] to I_Equipment as _Equipment on $projection.Equipment = _Equipment.Equipment
association [0..1] to I_Product as _ConstructionMaterial on $projection.ConstructionMaterial = _ConstructionMaterial.Product
association [0..1] to I_MaintenancePlanPlant as _MaintenancePlanningPlant on $projection.MaintenancePlanningPlant = _MaintenancePlanningPlant.MaintenancePlanningPlant
{
@ObjectModel.foreignKey.association: '_Equipment'
key equz.equnr as Equipment,
@Semantics.businessDate.to: true
key equz.datbi as ValidityEndDate,
key equz.eqlfn as EquipUsagePeriodSequenceNumber,
equz.timbi as ValidityEndTime,
equz.equzn as NextEquipUsagePeriodSqncNmbr,
@ObjectModel.foreignKey.association: '_LocationAccountAssignment'
equz.iloan as MaintObjectLocAcctAssgmtNmbr,
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_WorkCenterStdVH',
element: 'WorkCenterInternalID' },
additionalBinding: [{ localElement: 'WorkCenterTypeCode',
element: 'WorkCenterTypeCode' }]
}]
@ObjectModel.foreignKey.association: '_WorkCenter'
equz.gewrk as WorkCenterInternalID,
@ObjectModel.foreignKey.association: '_WorkCenterType'
equz.pm_objty as WorkCenterTypeCode,
equz.ingrp as MaintenancePlannerGroup,
equz.rbnr as CatalogProfile,
@ObjectModel.foreignKey.association: '_MaintenancePlanningPlant'
equz.iwerk as MaintenancePlanningPlant,
equz.hequi as SuperordinateEquipment,
equz.heqnr as EquipInstallationPositionNmbr,
equz.tidnr as TechnicalObjectSortCode,
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ProductStdVH',
element: 'Product' }
}]
@ObjectModel.foreignKey.association: '_ConstructionMaterial'
equz.submt as ConstructionMaterial,
@Semantics.businessDate.from: true
equz.datab as ValidityStartDate,
@Semantics.systemDate.lastChangedAt: true
equz.aedat as LastChangeDate,
equz.mapar as ManufacturerPartNmbr,
@Semantics.systemDateTime.lastChangedAt: true
equz.segchangeddatetime as LastChangeDateTime,
//Propagate associations
_LocationAccountAssignment,
_WorkCenterType,
_WorkCenter,
_SuperordinateEquipmentText,
_EquipmentCodeCatalog,
_Equipment,
_ConstructionMaterial,
_MaintenancePlanningPlant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EQUZ"
],
"ASSOCIATED":
[
"I_EQUIPMENT",
"I_EQUIPMENTTEXT",
"I_LOCATIONACCOUNTASSIGNMENT",
"I_MAINTENANCEPLANPLANT",
"I_PRODUCT",
"I_TECHNICALREPORT",
"I_WORKCENTER",
"I_WORKCENTERTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA