I_EWM_PInvSerialNumber

DDL: I_EWM_PINVSERIALNUMBER SQL: IEWMPISERNUM Type: view BASIC

Serial Numbers of Whse Phys Inventory

I_EWM_PInvSerialNumber is a Basic CDS View that provides data about "Serial Numbers of Whse Phys Inventory" in SAP S/4HANA. It reads from 1 data source (/lime/pi_doc_ser) and exposes 8 fields with key fields PhysicalInventoryDocumentUUID, PhysicalInventoryItemNumber, LineIndexOfPInvItem, PhysicalInventoryChangeVersion, PInvDocumentItemType.

Data Sources (1)

SourceAliasJoin Type
/lime/pi_doc_ser /lime/pi_doc_ser from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IEWMPISERNUM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Serial Numbers of Whse Phys Inventory view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY PhysicalInventoryDocumentUUID guid_doc GUID
KEY PhysicalInventoryItemNumber item_no Sort No.
KEY LineIndexOfPInvItem line_idx Table Row
KEY PhysicalInventoryChangeVersion change_seq Version
KEY PInvDocumentItemType item_type Type
KEY EWMPhysInvtrySrlNmbrSts ser_doc_status Serial Number Status
KEY EWMPhysInvtrySrlNmbrSqnc ser_seq Table Row
EWMSerialNumber sernr Serial Number

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 I_EWM_PInvSerialNumber.
-- 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.
-- SQL view name: IEWMPISERNUM

CREATE VIEW I_EWM_PInvSerialNumber AS
SELECT
  guid_doc AS PhysicalInventoryDocumentUUID,
  item_no AS PhysicalInventoryItemNumber,
  line_idx AS LineIndexOfPInvItem,
  change_seq AS PhysicalInventoryChangeVersion,
  item_type AS PInvDocumentItemType,
  ser_doc_status AS EWMPhysInvtrySrlNmbrSts,
  ser_seq AS EWMPhysInvtrySrlNmbrSqnc,
  sernr AS EWMSerialNumber
FROM /lime/pi_doc_ser
;