R_EquipMatlSerialNumberTP

DDL: R_EQUIPMATLSERIALNUMBERTP Type: view_entity TRANSACTIONAL

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)

SourceAliasJoin Type
I_EquipMatlSerialNumber I_EquipMatlSerialNumber from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
EAM_MATERIALSERIALNUMBER EAM_SB_MATERIALSERIALNUMBER V4 C1 NOT_RELEASED

Fields (65)

KeyFieldSource TableSource FieldDescription
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..*]
;