P_EWM_PInvCountItem01
Help view of PInv Items filter
P_EWM_PInvCountItem01 is a Consumption CDS View that provides data about "Help view of PInv Items filter" in SAP S/4HANA. It reads from 1 data source (I_EWM_PhysicalInventoryDocItem) and exposes 32 fields with key fields PhysicalInventoryDocumentUUID, PhysicalInventoryItemNumber, LineIndexOfPInvItem, PhysicalInventoryChangeVersion, PInvDocumentItemType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EWM_PhysicalInventoryDocItem | item | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PEWMPICNTLIST01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Help view of PInv Items filter | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PhysicalInventoryDocumentUUID | I_EWM_PhysicalInventoryDocItem | PhysicalInventoryDocumentUUID | GUID |
| KEY | PhysicalInventoryItemNumber | I_EWM_PhysicalInventoryDocItem | PhysicalInventoryItemNumber | Sort No. |
| KEY | LineIndexOfPInvItem | I_EWM_PhysicalInventoryDocItem | LineIndexOfPInvItem | Table Row |
| KEY | PhysicalInventoryChangeVersion | I_EWM_PhysicalInventoryDocItem | PhysicalInventoryChangeVersion | Version |
| KEY | PInvDocumentItemType | I_EWM_PhysicalInventoryDocItem | PInvDocumentItemType | Type |
| PhysicalInventoryDocumentType | I_EWM_PhysicalInventoryDocItem | PhysicalInventoryDocumentType | VAT Document Type | |
| PhysicalInventoryStatusText | I_EWM_PhysicalInventoryDocItem | PhysicalInventoryStatusText | VL Doc Status | |
| WhseTaskGoodsReceiptDateTime | I_EWM_PhysicalInventoryDocItem | WhseTaskGoodsReceiptDateTime | Reqstd date | |
| ShelfLifeExpirationDate | I_EWM_PhysicalInventoryDocItem | ShelfLifeExpirationDate | SLED/BBD | |
| CountryOfOrigin | I_EWM_PhysicalInventoryDocItem | CountryOfOrigin | Country/Region of Origin | |
| PInvItemParentUUID | I_EWM_PhysicalInventoryDocItem | PInvItemParentUUID | Parent | |
| PInvItemParentType | I_EWM_PhysicalInventoryDocItem | PInvItemParentType | ObjectType | |
| PhysicalInventoryStockUUID | I_EWM_PhysicalInventoryDocItem | PhysicalInventoryStockUUID | GUID | |
| SequenceOfPInvDocumentItems | I_EWM_PhysicalInventoryDocItem | SequenceOfPInvDocumentItems | Sequence | |
| ProductUUID | _KeyItem | ProductUUID | UUID | |
| BatchUUID | _KeyItem | BatchUUID | Target Grp GUID | |
| HandlingUnitNumber | _KeyItem | HandlingUnitNumber | ||
| EntitledToDisposeParty | _KeyItem | EntitledToDisposeParty | Disposal Party | |
| StockOwner | _KeyItem | StockOwner | Owner of stock | |
| EWMStockOwner | _KeyItem | EWMStockOwner | Character Field with Length 10 | |
| StockType | _KeyItem | StockType | Stock Type | |
| EWMStockType | _KeyItem | EWMStockType | Stock Type | |
| StockUsage | _KeyItem | StockUsage | ||
| EWMStockUsage | _KeyItem | EWMStockUsage | Usage | |
| StockDocumentCategory | _KeyItem | StockDocumentCategory | Special Reference Stock Type | |
| StockDocumentNumber | _KeyItem | StockDocumentNumber | ||
| StockItemNumber | _KeyItem | StockItemNumber | ||
| ProducedMaterial | _KeyItem | ProducedMaterial | ||
| Warehouse | _KeyItem | Warehouse | Warehouse No. | |
| EWMWarehouse | _KeyItem | EWMWarehouse | Warehouse No. | |
| ParentStorageBin | _ParentItem | StorageBin | Storage Bin | |
| ParentHandlingUnitNumber | _ParentItem | HandlingUnitNumber |
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_PInvCountItem01.
-- 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: PEWMPICNTLIST01
CREATE VIEW P_EWM_PInvCountItem01 AS
SELECT
item.PhysicalInventoryDocumentUUID AS PhysicalInventoryDocumentUUID,
item.PhysicalInventoryItemNumber AS PhysicalInventoryItemNumber,
item.LineIndexOfPInvItem AS LineIndexOfPInvItem,
item.PhysicalInventoryChangeVersion AS PhysicalInventoryChangeVersion,
item.PInvDocumentItemType AS PInvDocumentItemType,
item.PhysicalInventoryDocumentType AS PhysicalInventoryDocumentType,
item.PhysicalInventoryStatusText AS PhysicalInventoryStatusText,
item.WhseTaskGoodsReceiptDateTime AS WhseTaskGoodsReceiptDateTime,
item.ShelfLifeExpirationDate AS ShelfLifeExpirationDate,
item.CountryOfOrigin AS CountryOfOrigin,
item.PInvItemParentUUID AS PInvItemParentUUID,
item.PInvItemParentType AS PInvItemParentType,
item.PhysicalInventoryStockUUID AS PhysicalInventoryStockUUID,
item.SequenceOfPInvDocumentItems AS SequenceOfPInvDocumentItems,
_KeyItem.ProductUUID AS ProductUUID,
_KeyItem.BatchUUID AS BatchUUID,
_KeyItem.HandlingUnitNumber AS HandlingUnitNumber,
_KeyItem.EntitledToDisposeParty AS EntitledToDisposeParty,
_KeyItem.StockOwner AS StockOwner,
_KeyItem.EWMStockOwner AS EWMStockOwner,
_KeyItem.StockType AS StockType,
_KeyItem.EWMStockType AS EWMStockType,
_KeyItem.StockUsage AS StockUsage,
_KeyItem.EWMStockUsage AS EWMStockUsage,
_KeyItem.StockDocumentCategory AS StockDocumentCategory,
_KeyItem.StockDocumentNumber AS StockDocumentNumber,
_KeyItem.StockItemNumber AS StockItemNumber,
_KeyItem.ProducedMaterial AS ProducedMaterial,
_KeyItem.Warehouse AS Warehouse,
_KeyItem.EWMWarehouse AS EWMWarehouse,
_ParentItem.StorageBin AS ParentStorageBin,
_ParentItem.HandlingUnitNumber AS ParentHandlingUnitNumber
FROM I_EWM_PhysicalInventoryDocItem AS item
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA