I_EQUIPMENT

CDS View

Equipment

I_EQUIPMENT is a CDS View in S/4HANA. Equipment. It contains 55 fields. 39 CDS views read from this table.

CDS Views using this table (39)

ViewTypeJoinVDMDescription
A_Equipment view_entity left_outer COMPOSITE Equipment
A_EquipmentClfnCharValue view_entity inner COMPOSITE Equipment Characteristic Values
A_EquipmentClfnClass view_entity inner COMPOSITE Equipment Class
A_EquipmentClfnClassChar view_entity inner COMPOSITE Equipment Class Characteristics
C_CustomerReturnSerialNumberVH view_entity from CONSUMPTION Returns Order Serial Number
C_DFS_EquipSerialNumberVH view from CONSUMPTION Equipment By Serial Number Seach Help
C_DFS_MaintEquipmentVH view from CONSUMPTION Value help for Equipment
C_FldLogsEquipmentVH view from CONSUMPTION Equipment
C_MaintItmEquipMatlSrlNmbrVH view from CONSUMPTION Maintenance Item Equipment
C_MfgExecDefectRecord view left_outer CONSUMPTION View with UI attributes for defect
C_SerialNmbrEquipNmbrDelivery view left_outer CONSUMPTION Serial and Equipment Numbers
C_SerialNumberObjPage view from CONSUMPTION Serial Number Object Page
C_SerialNumbersForGdsMvtVH view from CONSUMPTION Value Help for Serial numbers for Goods Movement
C_SrlNmbrAvailableForAssyVH view_entity from CONSUMPTION Serial number available for assembly
ESH_N_MATSLNS view from
I_AuthzdActlEquipmentDetails view inner COMPOSITE View of Equipments relevant for AAC
I_AvailMaterialSerialNumberVH view from COMPOSITE Available Material Serial Number
I_DFS_MaintStsBrdEquipment view from COMPOSITE Interface view for Status Board Equip
I_EquipMaterialSerialNumberVH view from COMPOSITE Equipment
I_EquipMatlSerialNumber view from COMPOSITE Material Serial Number
I_EquipmentData view inner COMPOSITE Equipment Data
I_EquipmentLongText view from COMPOSITE Equipment Long Text
I_EquipmentStdVH view from COMPOSITE Equipment
I_FixedAssetEquipment view inner BASIC Fixed Asset Equipments
I_MaterialSerialNumberVH view from COMPOSITE Material Serial Number
I_MatlSerialNumberInformation view_entity from COMPOSITE Serial Number Information
I_SerialNumberStockSegment view inner BASIC Serial Number Stock Segment
I_SerialNumberValueHelp view_entity from BASIC Selection Help for Serial Numbers
I_SerialNumberWithStkSgmtVH view from BASIC Help-View for serial numbers
I_TrackToolUsageOpActyEquip view inner COMPOSITE List of OAs for Equipment
P_EquiFuncnlLocUnionBreakdown view from COMPOSITE
P_EquipMatlSerialNumberStatus view from COMPOSITE
P_EquipmentSearch view from BASIC
P_EquipmentStatus view from COMPOSITE
P_MfgProcgExecNonAssySrlNmbr view from COMPOSITE
P_WrntyClaimEquipment view from COMPOSITE Warranty Claim Equipment
R_EquipmentClfnCharValueTP view_entity inner TRANSACTIONAL Equipment Characteristic Values
R_EquipmentClfnClassCharTP view_entity inner TRANSACTIONAL Equipment Class Characteristics
R_EquipmentClfnClassTP view_entity inner TRANSACTIONAL Equipment Class

Fields (55)

KeyField CDS FieldsUsed in Views
KEY Batch Batch,MatlSrlNmbrMasterBatch 6
KEY Equipment Equipment 18
KEY Material Material 14
KEY SerialNumber SerialNumber 13
_Currency _Currency 1
_Customer _Customer 4
_Division _Division 1
_EquipmentCategory _EquipmentCategory 2
_EquipmentText _EquipmentText 3
_GrossWeightUnit _GrossWeightUnit 1
_ManufacturerCountry _ManufacturerCountry 1
_Material _Material 5
_Plant _Plant 1
_Status _Status 1
_StorageLocation _StorageLocation 1
_Supplier _Supplier 4
_TechnicalObjectType _TechnicalObjectType 1
AcquisitionDate AcquisitionDate 5
AcquisitionValue AcquisitionValue 5
AssetManufacturerName AssetManufacturerName 5
AssetSynchronizationRule AssetSynchronizationRule 1
AuthorizationGroup AuthorizationGroup 9
ConstructionMonth ConstructionMonth 5
ConstructionYear ConstructionYear 5
CreatedByUser CreatedByUser 6
CreationDate CreationDate 7
Currency Currency 5
Customer Customer 4
Division Division 1
EquipmentCategory EquipmentCategory 7
EquipmentEndOfUseDate EquipmentEndOfUseDate 3
EquipmentHasStockInformation EquipmentHasStockInformation 1
EquipmentOID EquipmentOID 2
GrossWeight GrossWeight 5
GrossWeightUnit GrossWeightUnit 5
HasEquipmentData HasEquipmentData 2
InventoryNumber InventoryNumber 5
LastChangeDate LastChangeDate 3
LastChangeDateTime LastChangeDateTime 1
LastChangedByUser LastChangedByUser 5
MaintObjectInternalID MaintObjectInternalID 9
ManufacturerCountry ManufacturerCountry 5
ManufacturerPartTypeName ManufacturerPartTypeName 6
ManufacturerSerialNumber ManufacturerSerialNumber 9
MatlSrlNmbrLastGdsMvtDte MatlSrlNmbrLastGdsMvtDte 1
OperationStartDate OperationStartDate 5
Plant Plant 1
SizeOrDimensionText SizeOrDimensionText 5
StorageLocation StorageLocation 1
Supplier Supplier 4
TechnicalObjectType TechnicalObjectType 8
UniqueItemIdentifier UniqueItemIdentifier 6
UniqueItemIdentifierRespPlant UniqueItemIdentifierRespPlant 3
UniqueItemIdentifierStrucType UniqueItemIdentifierStrucType 3
ValidityEndDate EquipmentValidityEndDate,ValidityEndDate 6
@EndUserText.label: 'Equipment'
@Analytics: { dataCategory: #DIMENSION }
@VDM.viewType: #BASIC
@AbapCatalog: { sqlViewName: 'IEQUIPMENT', compiler.compareFilter, preserveKey }

@AccessControl: {
  authorizationCheck:#CHECK,
  privilegedAssociations:['_CreatedByUser','_LastChangedByUser','_Status']
}
@ObjectModel.representativeKey: 'Equipment'
@ObjectModel.semanticKey:  [ 'Equipment' ]
@AccessControl.personalData.blocking: #REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L

@Metadata: { ignorePropagatedAnnotations, allowExtensions }
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET]

define view I_Equipment 
  as select from equi
  association [0..1] to I_EquipmentCategory         as _EquipmentCategory         on  _EquipmentCategory.EquipmentCategory = $projection.EquipmentCategory
  association [0..1] to I_TechnicalObjectType       as _TechnicalObjectType       on  _TechnicalObjectType.TechnicalObjectType = $projection.TechnicalObjectType
  association [0..*] to I_EquipmentText             as _EquipmentText             on  _EquipmentText.Equipment = $projection.Equipment
  association [0..*] to I_EquipmentTimeSeg          as _EquipmentTimeSeg          on  _EquipmentTimeSeg.Equipment = $projection.Equipment
  association [0..1] to I_EquipmentTimeSeg          as _CurrentTimeSegment        on  _CurrentTimeSegment.Equipment                      = $projection.Equipment
                                                                                  and _CurrentTimeSegment.EquipUsagePeriodSequenceNumber = '001'
                                                                                  and _CurrentTimeSegment.ValidityEndDate                = '99991231'
  association [0..1] to I_Plant                     as _Plant                     on  $projection.Plant = _Plant.Plant
  association [0..1] to I_User                      as _CreatedByUser             on  $projection.CreatedByUser = _CreatedByUser.UserID
  association [0..1] to I_User                      as _LastChangedByUser         on  $projection.LastChangedByUser = _LastChangedByUser.UserID
  association [0..1] to I_Currency                  as _Currency                  on  $projection.Currency = _Currency.Currency
  association [0..1] to I_Division                  as _Division                  on  $projection.Division = _Division.Division
  association [0..1] to I_StorageLocation           as _StorageLocation           on  $projection.StorageLocation = _StorageLocation.StorageLocation
                                                                                  and $projection.Plant           = _StorageLocation.Plant
  association [0..1] to I_SerialNumberStockSegment  as _SerialNumberStockSegment  on  $projection.Equipment = _SerialNumberStockSegment.Equipment
  association [0..1] to I_EquipmentStockSegment     as _StockSegment                on  _StockSegment.Equipment = $projection.Equipment
  
  association [0..1] to I_Material                  as _Material                  on  $projection.Material = _Material.Material
  association [0..1] to I_Customer                  as _Customer                  on  $projection.Customer = _Customer.Customer
  association [0..1] to I_Country                   as _ManufacturerCountry       on  $projection.ManufacturerCountry = _ManufacturerCountry.Country
  --  association [0..1] to I_BatchCrossPlant          as _BatchCrossPlant          on  $projection.Material = _BatchCrossPlant.Material
  --                                                                                and $projection.Batch    = _BatchCrossPlant.Batch
  association [0..1] to I_Batch                     as _Batch                     on  $projection.Plant    = _Batch.Plant
                                                                                  and $projection.Material = _Batch.Material
                                                                                  and $projection.Batch    = _Batch.Batch
  association [0..1] to I_MasterWarranty            as _MasterWarranty            on  $projection.MasterWarranty = _MasterWarranty.MasterWarranty
  association [0..*] to I_PlantMaintenancePartner   as _PlantMaintenancePartner   on  $projection.MaintObjectInternalID = _PlantMaintenancePartner.MaintObjectInternalID
  association [0..*] to I_MasterWrntyObjectAssgmt   as _MasterWrntyObjectAssgmt   on  $projection.MaintObjectInternalID = _MasterWrntyObjectAssgmt.ObjectInternalID
  association [0..1] to I_Supplier                  as _Supplier                  on  $projection.Supplier = _Supplier.Supplier
  association [0..1] to I_UnitOfMeasure             as _GrossWeightUnit           on  $projection.GrossWeightUnit = _GrossWeightUnit.UnitOfMeasure
  association [0..1] to I_LinearAssetManagementData as _LinearAssetManagementData on  $projection.Equipment                           = _LinearAssetManagementData.LinearDataObjectKey
                                                                                  and _LinearAssetManagementData.LinearDataObjectType = 'IE'
  association [0..*] to I_StatusObjectStatus        as _Status                    on  $projection.MaintObjectInternalID = _Status.StatusObject

  -- Extensions, do not expose as association:
  association [0..1] to E_Equipment          as _EquipmentExtension          on _EquipmentExtension.Equipment = $projection.Equipment


{
      @ObjectModel.text.association: '_EquipmentText'
  key equi.equnr           as Equipment,
      equi.equipmentoid    as EquipmentOID,


      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_EquipmentCategoryStdVH',
                     element: 'EquipmentCategory' }
        }]

      @ObjectModel.foreignKey.association: '_EquipmentCategory'
      equi.eqtyp           as EquipmentCategory,

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_TechnicalObjectTypeStdVH',
                     element: 'TechnicalObjectType' }
        }]

      @ObjectModel.foreignKey.association: '_TechnicalObjectType'
      equi.eqart           as TechnicalObjectType,
      @ObjectModel.foreignKey.association: '_Plant'
      equi.werk            as Plant,
      @ObjectModel.foreignKey.association: '_Division'
      equi.sparte          as Division,
      @ObjectModel.foreignKey.association: '_StorageLocation'
      equi.lager           as StorageLocation,

      // Admin data

      @Semantics.user.createdBy: true
      equi.ernam           as CreatedByUser,
      @Semantics.user.lastChangedBy: true
      equi.aenam           as LastChangedByUser,
      @Semantics.systemDate.createdAt : true
      equi.erdat           as CreationDate,
      @Semantics.systemDate.lastChangedAt: true
      equi.aedat           as LastChangeDate,

      equi.herst           as AssetManufacturerName,
      equi.typbz           as ManufacturerPartTypeName,
      @Semantics.address.country: true
      @ObjectModel.foreignKey.association: '_ManufacturerCountry'
      equi.herld           as ManufacturerCountry,

      equi.baujj           as ConstructionYear,
      equi.baumm           as ConstructionMonth,

      equi.ansdt           as AcquisitionDate,

      @Semantics.currencyCode:true
      equi.waers           as Currency,

      @Semantics.amount.currencyCode: 'Currency'
      @DefaultAggregation: #SUM
      equi.answt           as AcquisitionValue,

      equi.objnr           as MaintObjectInternalID,
      equi.sernr           as SerialNumber,
      equi.eqlfn           as EquipUsagePeriodSequenceNumber,

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_ProductStdVH',
                     element: 'Product' }
        }]

      @ObjectModel.foreignKey.association: '_Material'
      equi.matnr           as Material,
      @ObjectModel.foreignKey.association: '_Customer'
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_Customer_VH',
                     element: 'Customer' }
        }]
      equi.kunde           as Customer,
      equi.begru           as AuthorizationGroup,
      equi.serge           as ManufacturerSerialNumber,

      equi.uii             as UniqueItemIdentifier,
      equi.iuid_type       as UniqueItemIdentifierStrucType,
      equi.uii_plant       as UniqueItemIdentifierRespPlant,

      equi.act_change_aa   as AssetSynchronizationRule,

      equi.invnr           as InventoryNumber,
      @Semantics.quantity.unitOfMeasure: 'GrossWeightUnit'
      @DefaultAggregation:#SUM
      equi.brgew           as GrossWeight,
      @ObjectModel.foreignKey.association: '_GrossWeightUnit'
      @Semantics.unitOfMeasure: true
      equi.gewei           as GrossWeightUnit,
      equi.groes           as SizeOrDimensionText,

      equi.charge          as Batch,

      equi.inbdt           as OperationStartDate,

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_Supplier_VH',
                     element: 'Supplier' }
        }]
     @ObjectModel.foreignKey.association: '_Supplier'
      equi.elief           as Supplier,
      equi.s_equi          as HasEquipmentData,
      cast( equi.s_eqbs as equipmenthasstockinformation preserving type ) as EquipmentHasStockInformation,
      @ObjectModel.foreignKey.association: '_MasterWarranty'
      equi.mganr           as MasterWarranty,
      
      equi.changeddatetime as LastChangeDateTime,
      equi.auldt as EquipmentFirstDeliveryDate,
      _CurrentTimeSegment.ValidityStartDate,
      _CurrentTimeSegment.ValidityEndDate,
      equi.datlwb as MatlSrlNmbrLastGdsMvtDte,
      equi.endofuse as EquipmentEndOfUseDate,

      // Propagate associations

      _MasterWarranty,
      _CreatedByUser,
      _LastChangedByUser,
      _EquipmentText,
      _EquipmentCategory,
      _TechnicalObjectType,
      _EquipmentTimeSeg,
      _StockSegment,
      _Currency,
      _Plant,
      _Division,
      _StorageLocation,
      _SerialNumberStockSegment,
      _Material,
      _Customer,
      _ManufacturerCountry,
      --_BatchCrossPlant: see BCP 1880093140
      _Batch,
      _CurrentTimeSegment,
      _PlantMaintenancePartner,
      _MasterWrntyObjectAssgmt,
      _Supplier,
      _LinearAssetManagementData,
      _GrossWeightUnit,
      _Status
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EQUIPMENTTIMESEG",
"EQUI"
],
"ASSOCIATED":
[
"E_EQUIPMENT",
"I_BATCH",
"I_COUNTRY",
"I_CURRENCY",
"I_CUSTOMER",
"I_DIVISION",
"I_EQUIPMENTCATEGORY",
"I_EQUIPMENTSTOCKSEGMENT",
"I_EQUIPMENTTEXT",
"I_EQUIPMENTTIMESEG",
"I_LINEARASSETMANAGEMENTDATA",
"I_MASTERWARRANTY",
"I_MASTERWRNTYOBJECTASSGMT",
"I_MATERIAL",
"I_PLANT",
"I_PLANTMAINTENANCEPARTNER",
"I_SERIALNUMBERSTOCKSEGMENT",
"I_STATUSOBJECTSTATUS",
"I_STORAGELOCATION",
"I_SUPPLIER",
"I_TECHNICALOBJECTTYPE",
"I_UNITOFMEASURE",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/