R_EquipMatlSerialNumberTP
Material Serial Number - TP
R_EquipMatlSerialNumberTP is a Transactional CDS View that provides data about "Material Serial Number - TP" in SAP S/4HANA. It reads from 1 data source (I_EquipMatlSerialNumber) and exposes 65 fields with key fields Material, SerialNumber. It has 3 associations to related views. It is exposed through 1 OData service (EAM_MATERIALSERIALNUMBER).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EquipMatlSerialNumber | I_EquipMatlSerialNumber | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EquipMatlSrlNumberStatus | _EquipMatlSerialNumberStatus | $projection.Material = _EquipMatlSerialNumberStatus.Material and $projection.SerialNumber = _EquipMatlSerialNumberStatus.SerialNumber |
| [0..1] | I_WBSElementBasicData | _WBSElement | $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID |
| [0..*] | R_EquipMatlSrlNmbrPrtnTP | _Partner | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Material Serial Number - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.sapObjectNodeType.name | Equipment | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| EAM_MATERIALSERIALNUMBER | EAM_SB_MATERIALSERIALNUMBER | V4 | C1 | NOT_RELEASED |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | SerialNumber | SerialNumber | Serial Number | |
| Equipment | Equipment | Equipment check | ||
| EquipmentCategory | EquipmentCategory | EquipCategory | ||
| UniqueItemIdentifier | UII | |||
| UniqueItemIdentifierStrucType | UniqueItemIdentifierStrucType | |||
| UniqueItemIdentifierRespPlant | UniqueItemIdentifierRespPlant | |||
| TechObjIsEquipOrFuncnlLoc | ||||
| MaintObjectInternalID | MaintObjectInternalID | Object number | ||
| HasEquipmentData | HasEquipmentData | |||
| EquipmentHasStockInformation | EquipmentHasStockInformation | |||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| MatlSrlNmbrMasterBatch | MatlSrlNmbrMasterBatch | Lot No. | ||
| EquipMaterialLastSerialNumber | EquipMaterialLastSerialNumber | |||
| MatlSrlNmbrLastGdsMvtDte | MatlSrlNmbrLastGdsMvtDte | |||
| MaterialSerialNumberStockBatch | MaterialSerialNumberStockBatch | Lot No. | ||
| InventoryStockType | InventoryStockType | Stock Type | ||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElement | _WBSElement | WBSElementExternalID | WBS Element External ID | |
| StockOwner | StockOwner | Owner of stock | ||
| CompanyCode | ||||
| _Customer | _Customer | |||
| CompanyCodeName | ||||
| EquipmentName | ||||
| TechnicalObjectDescription | ||||
| MatlSrlNmbrIsAvailable | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsAvailable | ||
| MatlSrlNmbrIsDeleted | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsDeleted | ||
| MatlSrlNmbrIsMrkdForDeltn | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsMrkdForDeltn | ||
| MatlSrlNmbrIsInactive | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsInactive | ||
| MatlSrlNmbrIsInstalled | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsInstalled | ||
| MatlSrlNmbrIsAllcToParent | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsAllcToParent | ||
| MatlSrlNmbrIsInWarehouse | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsInWarehouse | ||
| MatlSrlNmbrIsAssgdToDeliv | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsAssgdToDeliv | ||
| MatlSrlNmbrIsAtCustomer | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsAtCustomer | ||
| MatlSrlNmbrIsUndrCnstrctn | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsUndrCnstrctn | ||
| MatlSrlNmbrIsOnHold | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsOnHold | ||
| MatlSrlNmbrIsLocked | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsLocked | ||
| MatlSrlNmbrIsIDUndefined | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsIDUndefined | ||
| MatlSrlNmbrIsAssgdToJITCall | _EquipMatlSerialNumberStatus | MatlSrlNmbrIsAssgdToJITCall | ||
| MatlSrlNmbrDocIsCreated | _EquipMatlSerialNumberStatus | MatlSrlNmbrDocIsCreated | ||
| MatlSrlNmbrHndlgUntIsAssgd | _EquipMatlSerialNumberStatus | MatlSrlNmbrHndlgUntIsAssgd | ||
| MatlSrlNmbrInvtryIsActv | _EquipMatlSerialNumberStatus | MatlSrlNmbrInvtryIsActv | ||
| MatlSrlNmbrUUIDIsGnrtd | _EquipMatlSerialNumberStatus | MatlSrlNmbrUUIDIsGnrtd | ||
| MatlSrlNmbrUUIDIsAttached | _EquipMatlSerialNumberStatus | MatlSrlNmbrUUIDIsAttached | ||
| MatlSrlNmbrUUIDIsSent | _EquipMatlSerialNumberStatus | MatlSrlNmbrUUIDIsSent | ||
| MatlSrlNmbrUUIDIsConfd | _EquipMatlSerialNumberStatus | MatlSrlNmbrUUIDIsConfd | ||
| _Material | _Material | |||
| _EquipmentCategory | _EquipmentCategory | |||
| _InventoryStockType | _InventoryStockType | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _Partner | _Partner | |||
| _EquipmentText | _EquipmentText | |||
| _WBSElement | _WBSElement |
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 R_EquipMatlSerialNumberTP.
-- 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 R_EquipMatlSerialNumberTP AS
SELECT
Material,
SerialNumber,
Equipment,
EquipmentCategory,
cast(UniqueItemIdentifier as vdm_uii_char72 preserving type ) AS UniqueItemIdentifier,
UniqueItemIdentifierStrucType,
UniqueItemIdentifierRespPlant,
cast ('EAMS_EQUI' as eams_tec_obj_type_value ) AS TechObjIsEquipOrFuncnlLoc,
MaintObjectInternalID,
HasEquipmentData,
EquipmentHasStockInformation,
CreatedByUser,
LastChangedByUser,
CreationDate,
LastChangeDate,
LastChangeDateTime,
MatlSrlNmbrMasterBatch,
EquipMaterialLastSerialNumber,
MatlSrlNmbrLastGdsMvtDte,
MaterialSerialNumberStockBatch,
InventoryStockType,
Plant,
StorageLocation,
InventorySpecialStockType,
Customer,
Supplier,
SalesOrder,
SalesOrderItem,
WBSElementInternalID,
_WBSElement.WBSElementExternalID AS WBSElement,
StockOwner,
_Customer._CustomerCompany.CompanyCode AS CompanyCode,
_Customer._CustomerCompany._CompanyCode.CompanyCodeName AS CompanyCodeName,
_EquipmentText[1:Language=$session.system_language].EquipmentName AS EquipmentName,
_EquipmentText[1:Language=$session.system_language].EquipmentName AS TechnicalObjectDescription,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsAvailable AS MatlSrlNmbrIsAvailable,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsDeleted AS MatlSrlNmbrIsDeleted,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsMrkdForDeltn AS MatlSrlNmbrIsMrkdForDeltn,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsInactive AS MatlSrlNmbrIsInactive,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsInstalled AS MatlSrlNmbrIsInstalled,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsAllcToParent AS MatlSrlNmbrIsAllcToParent,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsInWarehouse AS MatlSrlNmbrIsInWarehouse,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsAssgdToDeliv AS MatlSrlNmbrIsAssgdToDeliv,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsAtCustomer AS MatlSrlNmbrIsAtCustomer,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsUndrCnstrctn AS MatlSrlNmbrIsUndrCnstrctn,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsOnHold AS MatlSrlNmbrIsOnHold,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsLocked AS MatlSrlNmbrIsLocked,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsIDUndefined AS MatlSrlNmbrIsIDUndefined,
_EquipMatlSerialNumberStatus.MatlSrlNmbrIsAssgdToJITCall AS MatlSrlNmbrIsAssgdToJITCall,
_EquipMatlSerialNumberStatus.MatlSrlNmbrDocIsCreated AS MatlSrlNmbrDocIsCreated,
_EquipMatlSerialNumberStatus.MatlSrlNmbrHndlgUntIsAssgd AS MatlSrlNmbrHndlgUntIsAssgd,
_EquipMatlSerialNumberStatus.MatlSrlNmbrInvtryIsActv AS MatlSrlNmbrInvtryIsActv,
_EquipMatlSerialNumberStatus.MatlSrlNmbrUUIDIsGnrtd AS MatlSrlNmbrUUIDIsGnrtd,
_EquipMatlSerialNumberStatus.MatlSrlNmbrUUIDIsAttached AS MatlSrlNmbrUUIDIsAttached,
_EquipMatlSerialNumberStatus.MatlSrlNmbrUUIDIsSent AS MatlSrlNmbrUUIDIsSent,
_EquipMatlSerialNumberStatus.MatlSrlNmbrUUIDIsConfd AS MatlSrlNmbrUUIDIsConfd
FROM I_EquipMatlSerialNumber
LEFT OUTER JOIN I_EquipMatlSrlNumberStatus AS _EquipMatlSerialNumberStatus ON Material = _EquipMatlSerialNumberStatus.Material AND SerialNumber = _EquipMatlSerialNumberStatus.SerialNumber -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN R_EquipMatlSrlNmbrPrtnTP AS _Partner ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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