C_PhysInvtryDocItmCreate
CDS View for the creation of new PI documents
C_PhysInvtryDocItmCreate is a Consumption CDS View that provides data about "CDS View for the creation of new PI documents" in SAP S/4HANA. It reads from 1 data source (P_PhysInvtryDocItmCreateTP) and exposes 32 fields with key fields PhysicalInventoryDocument, FiscalYear, PhysicalInventoryDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PhysInvtryDocItmCreateTP | P_PhysInvtryDocItmCreateTP | from |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | CPICREATEITM | view | |
| EndUserText.label | CDS View for the creation of new PI documents | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| OData.entitySet.name | C_PhysInvtryDocItmCreate | view | |
| VDM.private | false | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PhysicalInventoryDocument | PhysicalInventoryDocument | Physical Inventory Document | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | PhysicalInventoryDocumentItem | PhysicalInventoryDocumentItem | Physical Inventory Document Item | |
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| PhysicalInventoryType | PhysicalInventoryType | |||
| InventoryTransactionType | InventoryTransactionType | Trans. Ev. Type | ||
| PhysicalInventoryGroupType | PhysicalInventoryGroupType | Grouping Type | ||
| PhysicalInventoryGroup | PhysicalInventoryGroup | Grpg Crit. | ||
| PhysicalInventoryNumber | PhysicalInventoryNumber | Physical Inventory Number | ||
| PhysInventoryReferenceNumber | PhysInventoryReferenceNumber | Physical Inventory Reference | ||
| PhysicalInventoryDocumentDesc | PhysicalInventoryDocumentDesc | Description | ||
| PostingIsBlockedForPhysInvtry | PostingIsBlockedForPhysInvtry | Posting Block | ||
| PhysInvtryDocHasQtySnapshot | PhysInvtryDocHasQtySnapshot | Book Inventory Freeze | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| PhysInventoryPlannedCountDate | PhysInventoryPlannedCountDate | Plan.Count date | ||
| Material | Material | Vehicle Model | ||
| Batch | RealProductBatch | |||
| ValuationType | ValuationType | Valuation Type | ||
| PhysicalInventoryStockType | PhysicalInventoryStockType | Stock Type | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| StockOwner | StockOwner | Owner of stock | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| LinkedSAPObjectKey | ||||
| _Supplier | _Supplier | |||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _Customer | _Customer | |||
| _CustomerCompanyByPlant | _CustomerCompanyByPlant |
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 C_PhysInvtryDocItmCreate.
-- 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: CPICREATEITM
CREATE VIEW C_PhysInvtryDocItmCreate AS
SELECT
PhysicalInventoryDocument,
FiscalYear,
PhysicalInventoryDocumentItem,
Plant,
StorageLocation,
InventorySpecialStockType,
PhysicalInventoryType,
InventoryTransactionType,
PhysicalInventoryGroupType,
PhysicalInventoryGroup,
PhysicalInventoryNumber,
PhysInventoryReferenceNumber,
PhysicalInventoryDocumentDesc,
PostingIsBlockedForPhysInvtry,
PhysInvtryDocHasQtySnapshot,
DocumentDate,
PhysInventoryPlannedCountDate,
Material,
RealProductBatch AS Batch,
ValuationType,
PhysicalInventoryStockType,
SalesOrder,
SalesOrderItem,
Supplier,
Customer,
StockOwner,
WBSElement,
cast('' as objky) AS LinkedSAPObjectKey
FROM P_PhysInvtryDocItmCreateTP
;
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