P_EWM_PInvItemFlattenedRow04

DDL: P_EWM_PINVITEMFLATTENEDROW04 Type: view_entity COMPOSITE Package: VDM_EWM_CORE

Private view 04 for Flattened Row of PI Item

P_EWM_PInvItemFlattenedRow04 is a Composite CDS View that provides data about "Private view 04 for Flattened Row of PI Item" in SAP S/4HANA. It reads from 1 data source (P_EWM_PhysInventoryItemRow05) and exposes 14 fields with key fields PhysicalInventoryDocumentUUID, PhysicalInventoryItemNumber, LineIndexOfPInvItem, PhysicalInventoryChangeVersion, PInvDocumentItemType. Part of development package VDM_EWM_CORE.

Data Sources (1)

SourceAliasJoin Type
P_EWM_PhysInventoryItemRow05 P_EWM_PhysInventoryItemRow05 from

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 PhysicalInventoryDocumentUUID PhysicalInventoryDocumentUUID
KEY PhysicalInventoryItemNumber PhysicalInventoryItemNumber
KEY LineIndexOfPInvItem LineIndexOfPInvItem
KEY PhysicalInventoryChangeVersion PhysicalInventoryChangeVersion
KEY PInvDocumentItemType PInvDocumentItemType
ParentHandlingUnitNumber ParentHandlingUnitNumber
HandlingUnitNumber HandlingUnitNumber
HndlgUnitItemCountedIsComplete
HndlgUnitItemCountedIsNotExist
PackagingMaterial _KeyItem PackagingMaterial Packaging Materials
HandlingUnitType _KeyItem HandlingUnitType HUTyp
_KeyItem _KeyItem
_ParentItem _ParentItem
_Quantity _Quantity

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_PInvItemFlattenedRow04.
-- 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_PInvItemFlattenedRow04 AS
SELECT
  PhysicalInventoryDocumentUUID,
  PhysicalInventoryItemNumber,
  LineIndexOfPInvItem,
  PhysicalInventoryChangeVersion,
  PInvDocumentItemType,
  ParentHandlingUnitNumber,
  HandlingUnitNumber,
  cast ( HndlgUnitItemCountedIsComplete as /lime/pi_de_ind_hu_item_compl ) AS HndlgUnitItemCountedIsComplete,
  cast ( HndlgUnitItemCountedIsNotExist as /lime/pi_de_ind_hu_item_noex ) AS HndlgUnitItemCountedIsNotExist,
  _KeyItem.PackagingMaterial AS PackagingMaterial,
  _KeyItem.HandlingUnitType AS HandlingUnitType
FROM P_EWM_PhysInventoryItemRow05
;