R_PhysInvtryCountSerialNmbrTP

DDL: R_PHYSINVTRYCOUNTSERIALNMBRTP Type: view_entity TRANSACTIONAL

RAP entity for counted serial numbers

R_PhysInvtryCountSerialNmbrTP is a Transactional CDS View that provides data about "RAP entity for counted serial numbers" in SAP S/4HANA. It reads from 1 data source (I_SerialNumberPhysInventoryDoc) and exposes 10 fields with key fields SerialNumber, FiscalYear, PhysicalInventoryDocument, PhysicalInventoryDocumentItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SerialNumberPhysInventoryDoc I_SerialNumberPhysInventoryDoc from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_PhysicalInventoryDocumentTP _PhysInvtryDoc $projection.FiscalYear = _PhysInvtryDoc.FiscalYear and $projection.PhysicalInventoryDocument = _PhysInvtryDoc.PhysicalInventoryDocument

Annotations (7)

NameValueLevelField
EndUserText.label RAP entity for counted serial numbers view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY SerialNumber SerialNumber Serial Number
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY PhysicalInventoryDocument PhysicalInventoryDocument Physical Inventory Document
KEY PhysicalInventoryDocumentItem PhysicalInventoryDocumentItem Physical Inventory Document Item
SerialNumberPhysicalInvtryType SerialNumberPhysicalInvtryType Serial Number Physical Inventory Type
Equipment Equipment Equipment check
_PhysicalInventoryDocumentItem _PhysicalInventoryDocumentItem
_Equipment _Equipment
_PhysInvtryDoc _PhysInvtryDoc
_PhysicalInvtryDocFiscalYear _PhysicalInvtryDocFiscalYear

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_PhysInvtryCountSerialNmbrTP.
-- 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_PhysInvtryCountSerialNmbrTP AS
SELECT
  SerialNumber,
  FiscalYear,
  PhysicalInventoryDocument,
  PhysicalInventoryDocumentItem,
  SerialNumberPhysicalInvtryType,
  Equipment
FROM I_SerialNumberPhysInventoryDoc
LEFT OUTER JOIN R_PhysicalInventoryDocumentTP AS _PhysInvtryDoc ON FiscalYear = _PhysInvtryDoc.FiscalYear AND PhysicalInventoryDocument = _PhysInvtryDoc.PhysicalInventoryDocument  -- association [1..1]
;