C_EquipMaterialAndSerialNmbrVH
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)
| Source | Alias | Join Type |
|---|---|---|
| I_EquipmentValidTimeSegment | _EquipmentTimeSeg | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProductText | _MaterialText | _MaterialText.Product = _EquipmentTimeSeg.Material and _MaterialText.Language = $session.system_language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA