V_Mmim_DDL_Om_Param_PI

DDL: V_MMIM_DDL_OM_PARAM_PI SQL: V_MMIM_OM_PAR_PI Type: view

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

CategoryCDS 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 .

View on SAP Help Portal →

Data Sources (3)

SourceAliasJoin Type
I_PhysInvtryDocItem document from
t001w plant inner
t001k val inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_PhysInvtryDocumentItem _PrintExtension $projection.PhysicalInventoryYear = _PrintExtension.FiscalYear and $projection.PhysicalInventoryDocument = _PrintExtension.PhysicalInventoryDocument and $projection.PhysicalInventoryItem = _PrintExtension.PhysicalInventoryDocumentItem

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;