V_Mmim_DDL_Om_Param_PI
Physical Inventory Parameters
V_Mmim_DDL_Om_Param_PI is a CDS View that provides data about "Physical Inventory Parameters" in SAP S/4HANA. It reads from 3 data sources (I_PhysInvtryDocItem, t001w, t001k) and exposes 11 fields with key fields SAPClient, pidockey. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Output Management |
|---|
Purpose
This CDS view provides the data to determine whether an output shall be generated and which output type to be used. 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 .
This CDS view provides the data to determine whether an output shall be generated and which output type to be used. 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 .
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_PhysInvtryDocItem | document | from |
| t001w | plant | inner |
| t001k | val | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_PhysInvtryDocumentItem | _PrintExtension | $projection.PhysicalInventoryYear = _PrintExtension.FiscalYear and $projection.PhysicalInventoryDocument = _PrintExtension.PhysicalInventoryDocument and $projection.PhysicalInventoryItem = _PrintExtension.PhysicalInventoryDocumentItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | V_MMIM_OM_PAR_PI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.modelingPattern | #OUTPUT_PARAMETER_DETERMINATION_DATA_SOURCE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Physical Inventory Parameters | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SAPClient | I_PhysInvtryDocItem | mandt | Editing Client |
| KEY | pidockey | |||
| PhysicalInventoryDocument | I_PhysInvtryDocItem | PhysicalInventoryDocument | Physical Inventory Document | |
| PhysicalInventoryYear | I_PhysInvtryDocItem | FiscalYear | G/L Fiscal Year | |
| PhysicalInventoryItem | I_PhysInvtryDocItem | PhysicalInventoryDocumentItem | Physical Inventory Document Item | |
| Plant | I_PhysInvtryDocItem | Plant | Valuation Area | |
| StorageLocation | I_PhysInvtryDocItem | StorageLocation | StorageLocation | |
| CompanyCode | t001k | bukrs | Value | |
| Language | t001w | spras | Off. Language | |
| Country | t001w | land1 | Trip Ctry/Reg | |
| SalesPriceValuation | t001k | xvkbw | SalesPr.valuat. |
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 V_Mmim_DDL_Om_Param_PI.
-- 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: V_MMIM_OM_PAR_PI
CREATE VIEW V_Mmim_DDL_Om_Param_PI AS
SELECT
document.mandt AS SAPClient,
concat( document.PhysicalInventoryDocument, concat (document.FiscalYear, document.PhysicalInventoryDocumentItem ) ) AS pidockey,
document.PhysicalInventoryDocument AS PhysicalInventoryDocument,
document.FiscalYear AS PhysicalInventoryYear,
document.PhysicalInventoryDocumentItem AS PhysicalInventoryItem,
document.Plant AS Plant,
document.StorageLocation AS StorageLocation,
val.bukrs AS CompanyCode,
plant.spras AS Language,
plant.land1 AS Country,
val.xvkbw AS SalesPriceValuation
FROM I_PhysInvtryDocItem AS document
INNER JOIN t001w AS plant ON /* join condition not captured in parsed metadata */
INNER JOIN t001k AS val ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_PhysInvtryDocumentItem AS _PrintExtension ON PhysicalInventoryYear = _PrintExtension.FiscalYear AND PhysicalInventoryDocument = _PrintExtension.PhysicalInventoryDocument AND PhysicalInventoryItem = _PrintExtension.PhysicalInventoryDocumentItem -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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