I_EQUIPMENTTIMESEG

CDS View

Equipment Time Segment

I_EQUIPMENTTIMESEG is a CDS View in S/4HANA. Equipment Time Segment. It contains 24 fields. 22 CDS views read from this table.

CDS Views using this table (22)

ViewTypeJoinVDMDescription
A_Equipment view_entity from COMPOSITE Equipment
A_EquipmentLongText view_entity from COMPOSITE Equipment Long Text
C_Equipment view from CONSUMPTION Equipment
C_RSHMaintAssetBoardParAsset view from CONSUMPTION
C_TechnicalObjectForEditVH view from CONSUMPTION Technical Object Value Help For Edit
I_ConstructionTypeBoM view from BASIC Bill of Material of a Construction Type
I_EquipmentConstructionMatBom view from BASIC BoM of Equipment Const. Type
I_EquipmentData view from COMPOSITE Equipment Data
I_Equipmenthierarchy view from BASIC Hierarchy Information between Equipments
I_EquipmentHierarchyNode view from BASIC Equipment Hierarchy Nodes
I_EquipmentStrucList view_entity from COMPOSITE Equipment Structure List
I_FixedAssetEquipment view inner BASIC Fixed Asset Equipments
I_FuncnlLocEquipStrucList view_entity from COMPOSITE Functional Location to Equip Struc List
I_FunctionallocationEquipmentH view from BASIC Hierarchy Information between FLOC and EQUI
P_EquipmentFuncnlLocUnion view from COMPOSITE
P_EquipmentInstallationSegment view from COMPOSITE
P_EquipmentStructureList view from COMPOSITE
P_EquiTimeSegFuncLocationUnion view from COMPOSITE
P_FuncnlLocEquipStrucList view from COMPOSITE
P_PmBillOfMaterialUnion view inner COMPOSITE
R_EquipmentLongTextTP view_entity from TRANSACTIONAL Equipment Long Text
R_EquipmentTP view_entity from TRANSACTIONAL Equipment

Fields (24)

KeyField CDS FieldsUsed in Views
KEY ConstructionMaterial ConstructionMaterial 8
KEY Equipment Equipment,EquipmentWithLeadingZeros,HierarchyNode 16
KEY EquipUsagePeriodSequenceNumber DfsMaintEquipUsagePerdSqncNmbr,EquipUsagePeriodSequenceNumber 7
KEY MaintenancePlanningPlant MaintenancePlanningPlant,Plant 9
KEY MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr 12
KEY SuperordinateEquipment DfsMaintSuperordinateEquipNmbr,SuperordinateEquipment 10
KEY ValidityEndDate DfsMaintEquipValidityEndDate,ValidityEndDate 11
_ConstructionMaterial _ConstructionMaterial 1
_Equipment _Equipment 2
_LocationAccountAssignment _LocationAccountAssignment 1
_MaintenancePlanningPlant _MaintenancePlanningPlant 1
_WorkCenter _MainWorkCenter 1
_WorkCenterType _WorkCenterType 1
CatalogProfile CatalogProfile 5
EquipInstallationPositionNmbr EquipInstallationPositionNmbr 4
LastChangeDateTime LastChangeDateTime 1
MaintenancePlannerGroup MaintenancePlannerGroup 7
ManufacturerPartNmbr EquipmentManufacturerPrtNmbr,ManufacturerPartNmbr 5
NextEquipUsagePeriodSqncNmbr NextEquipUsagePeriodSqncNmbr 3
TechnicalObjectSortCode TechnicalObjectSortCode 5
ValidityEndTime ValidityEndTime 7
ValidityStartDate EquipmentInstallationDate,ValidityStartDate 8
WorkCenterInternalID MainWorkCenterInternalID,WorkCenterInternalID 5
WorkCenterTypeCode WorkCenterTypeCode 5
@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":""
}
}*/