C_EquipMaterialAndSerialNmbrVH

DDL: C_EQUIPMATERIALANDSERIALNMBRVH Type: view_entity CONSUMPTION

Equip with Material And Serial Number

C_EquipMaterialAndSerialNmbrVH is a Consumption CDS View that provides data about "Equip with Material And Serial Number" in SAP S/4HANA. It reads from 1 data source (I_EquipmentValidTimeSegment) and exposes 26 fields with key fields Equipment, ValidityEndDate, EquipUsagePeriodSequenceNumber. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_EquipmentValidTimeSegment _EquipmentTimeSeg from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ProductText _MaterialText _MaterialText.Product = _EquipmentTimeSeg.Material and _MaterialText.Language = $session.system_language

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.dataCategory #VALUE_HELP view
EndUserText.label Equip with Material And Serial Number view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
Consumption.ranked true view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
ObjectModel.representativeKey Equipment view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY Equipment
KEY ValidityEndDate I_EquipmentValidTimeSegment ValidityEndDate ValidTo
KEY EquipUsagePeriodSequenceNumber I_EquipmentValidTimeSegment EquipUsagePeriodSequenceNumber
EquipmentName
Material Material Vehicle Model
ProductName _MaterialText ProductName Description
SerialNumber SerialNumber Serial Number
Plant Plant Valuation Area
StorageLocation StorageLocation StorageLocation
Batch Batch Lot No.
CurrentSerialNmbrCustomerName CurrentSerialNmbrCustomerName
Customer Customer Sold-to Party
Supplier Supplier Supplier
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
WBSElementInternalID WBSElementInternalID WBS Internal ID
InventorySpecialStockType InventorySpecialStockType Special Stock Type
InventoryStockType InventoryStockType Stock Type
MaterialSerialNumberStockBatch MaterialSerialNumberStockBatch
CalendarDate ValidOnDate
MaintenancePlant
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group
WorkCenterInternalID WorkCenterInternalID Work Center
CatalogProfile CatalogProfile Catalog Profile
_MaterialText _MaterialText

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_EquipMaterialAndSerialNmbrVH.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_EquipMaterialAndSerialNmbrVH AS
SELECT
  _EquipmentTimeSeg._Equipment.Equipment AS Equipment,
  _EquipmentTimeSeg.ValidityEndDate AS ValidityEndDate,
  _EquipmentTimeSeg.EquipUsagePeriodSequenceNumber AS EquipUsagePeriodSequenceNumber,
  _Equipment._EquipmentText[1:Language=$session.system_language].EquipmentName AS EquipmentName,
  Material,
  _MaterialText.ProductName AS ProductName,
  SerialNumber,
  Plant,
  StorageLocation,
  Batch,
  CurrentSerialNmbrCustomerName,
  Customer,
  Supplier,
  SalesOrder,
  SalesOrderItem,
  WBSElementInternalID,
  InventorySpecialStockType,
  InventoryStockType,
  MaterialSerialNumberStockBatch,
  ValidOnDate AS CalendarDate,
  cast(_EquipmentTimeSeg._LocationAccountAssignment.MaintenancePlant as swerk) AS MaintenancePlant,
  MaintenancePlanningPlant,
  MaintenancePlannerGroup,
  WorkCenterInternalID,
  CatalogProfile
FROM I_EquipmentValidTimeSegment AS _EquipmentTimeSeg
LEFT OUTER JOIN I_ProductText AS _MaterialText ON _MaterialText.Product = _EquipmentTimeSeg.Material AND _MaterialText.Language = $session.system_language  -- association [0..1]
;