P_EWM_PInvItemRowSrlNmbr02

DDL: P_EWM_PINVITEMROWSRLNMBR02 Type: view_entity COMPOSITE Package: VDM_EWM_CORE

Physical Inventory row serial number 02

P_EWM_PInvItemRowSrlNmbr02 is a Composite CDS View that provides data about "Physical Inventory row serial number 02" in SAP S/4HANA. It reads from 1 data source (P_EWM_PInvItemRowSrlNmbr01) and exposes 14 fields with key fields EWMWarehouse, PhysicalInventoryDocNumber, PhysicalInventoryDocYear, LineIndexOfPInvItem, PhysicalInventoryItemNumber. It has 1 association to related views. Part of development package VDM_EWM_CORE.

Data Sources (1)

SourceAliasJoin Type
P_EWM_PInvItemRowSrlNmbr01 P_EWM_PInvItemRowSrlNmbr01 from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_EWM_ActyAreaMappgPInvArea_2 _PIAreaMapping $projection.physicalinventoryarea = _PIAreaMapping.PhysicalInventoryArea

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY EWMWarehouse EWMWarehouse Warehouse No.
KEY PhysicalInventoryDocNumber PhysicalInventoryDocNumber
KEY PhysicalInventoryDocYear PhysicalInventoryDocYear
KEY LineIndexOfPInvItem LineIndexOfPInvItem
KEY PhysicalInventoryItemNumber PhysicalInventoryItemNumber
KEY EWMPhysInvtrySrlNmbrSqnc EWMPhysInvtrySrlNmbrSqnc
EWMPhysInvtrySrlNmbrSts EWMPhysInvtrySrlNmbrSts
EWMPhysicalInventoryStatus EWMPhysicalInventoryStatus
EWMSerialNumber EWMSerialNumber
PInvDocumentItemType PInvDocumentItemType
PhysicalInventoryChangeVersion PhysicalInventoryChangeVersion
PhysicalInventoryDocumentUUID PhysicalInventoryDocumentUUID
PhysicalInventoryArea _PIArea PhysicalInventoryArea
_PIAreaMapping _PIAreaMapping

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 P_EWM_PInvItemRowSrlNmbr02.
-- 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 P_EWM_PInvItemRowSrlNmbr02 AS
SELECT
  EWMWarehouse,
  PhysicalInventoryDocNumber,
  PhysicalInventoryDocYear,
  LineIndexOfPInvItem,
  PhysicalInventoryItemNumber,
  EWMPhysInvtrySrlNmbrSqnc,
  EWMPhysInvtrySrlNmbrSts,
  EWMPhysicalInventoryStatus,
  EWMSerialNumber,
  PInvDocumentItemType,
  PhysicalInventoryChangeVersion,
  PhysicalInventoryDocumentUUID,
  _PIArea.PhysicalInventoryArea AS PhysicalInventoryArea
FROM P_EWM_PInvItemRowSrlNmbr01
LEFT OUTER JOIN I_EWM_ActyAreaMappgPInvArea_2 AS _PIAreaMapping ON physicalinventoryarea = _PIAreaMapping.PhysicalInventoryArea  -- association [1..1]
;