I_EWM_PInvItemRowSrlNmbr

DDL: I_EWM_PINVITEMROWSRLNMBR Type: view_entity COMPOSITE Package: VDM_EWM_CORE

Serial Number of Whse PInv Item Row

I_EWM_PInvItemRowSrlNmbr (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Supply Chain

I_EWM_PInvItemRowSrlNmbr is a Composite CDS View that provides data about "Serial Number of Whse PInv Item Row" in SAP S/4HANA. It reads from 1 data source (P_EWM_PInvItemRowSrlNmbr04) and exposes 11 fields with key fields EWMWarehouse, PhysicalInventoryDocNumber, PhysicalInventoryDocYear, LineIndexOfPInvItem, PhysicalInventoryItemNumber. Part of development package VDM_EWM_CORE.

SAP Help Documentation

CategoryCDS Views for Physical Inventory
StatusSerial Number Processing Status Name in Physical Inventory Documents
Purpose
This CDS view provides information about serial numbers of physical inventory item rows in your warehouse. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: SCWM_LGNU (Warehouse Number/Warehouse Complex) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description EWMWarehouse Warehouse PhysicalInventoryDocNumber Physical Inventory Document Number PhysicalInventoryDocYear Document Year of Physical Inventory Document PhysicalInventoryItemNumber Physical Inventory Item Number LineIndexOfPInvItem Row Index of Physical Inventory Item EWMPInvSrlNmbrProcgStatus Serial Number Processing Status in Physical Inventory Documents EWMPInvSrlNmbrProcgStatusText Serial Number Processing Status Name in Physical Inventory Documents EWMSerialNumber Serial Number

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessSupply Chain
Application ComponentSCM-EWM-WOP-2CL
CapabilitiesAssociation Target for Defining CDS Entities,Data Source for Defining CDS Entities,Data Source in SQL Select
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSupply Chain for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides information about serial numbers of physical inventory item rows in your warehouse.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_EWM_PInvItemRowSrlNmbr04 P_EWM_PInvItemRowSrlNmbr04 from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Serial Number of Whse PInv Item Row view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY EWMWarehouse EWMWarehouse Warehouse Number/Warehouse Complex
KEY PhysicalInventoryDocNumber PhysicalInventoryDocNumber Physical Inventory Document Number
KEY PhysicalInventoryDocYear PhysicalInventoryDocYear Document Year of Physical Inventory Document
KEY LineIndexOfPInvItem LineIndexOfPInvItem Row Index of Internal Tables
KEY PhysicalInventoryItemNumber PhysicalInventoryItemNumber Item
KEY EWMPhysInvtrySrlNmbrSqnc EWMPhysInvtrySrlNmbrSqnc Row Index of Internal Tables
KEY EWMPInvSrlNmbrProcgStatus EWMPInvSrlNmbrProcgStatus Serial Number Processing Status in Phys. Inventory Documents
EWMPInvSrlNmbrProcgStatusText SN Processing Status Name in Physical Inventory Documents
EWMSerialNumber EWMSerialNumber Serial Number
ActivityArea ActivityArea Activity Area
PhysicalInventoryDocumentUUID PhysicalInventoryDocumentUUID GUID for Physical Inventory Document

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_PInvItemRowSrlNmbr.
-- 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 I_EWM_PInvItemRowSrlNmbr AS
SELECT
  EWMWarehouse,
  PhysicalInventoryDocNumber,
  PhysicalInventoryDocYear,
  LineIndexOfPInvItem,
  PhysicalInventoryItemNumber,
  EWMPhysInvtrySrlNmbrSqnc,
  EWMPInvSrlNmbrProcgStatus,
  _Status._Text[1:Language = $session.system_language].EWMPInvSrlNmbrProcgStatusText AS EWMPInvSrlNmbrProcgStatusText,
  EWMSerialNumber,
  ActivityArea,
  PhysicalInventoryDocumentUUID
FROM P_EWM_PInvItemRowSrlNmbr04
;