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.
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 | |
| KEY | pidockey | |||
| PhysicalInventoryDocument | I_PhysInvtryDocItem | PhysicalInventoryDocument | ||
| PhysicalInventoryYear | I_PhysInvtryDocItem | FiscalYear | ||
| PhysicalInventoryItem | I_PhysInvtryDocItem | PhysicalInventoryDocumentItem | ||
| Plant | I_PhysInvtryDocItem | Plant | ||
| StorageLocation | I_PhysInvtryDocItem | StorageLocation | ||
| CompanyCode | t001k | bukrs | ||
| Language | t001w | spras | ||
| Country | t001w | land1 | ||
| SalesPriceValuation | t001k | xvkbw |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'V_MMIM_OM_PAR_PI'
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.sizeCategory: #XL
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking:#NOT_REQUIRED
@ObjectModel.supportedCapabilities: [ #OUTPUT_PARAMETER_DETERMINATION_DATA_SOURCE ]
@ObjectModel.modelingPattern:#OUTPUT_PARAMETER_DETERMINATION_DATA_SOURCE
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Physical Inventory Parameters'
/* View used for BRF plus application GOODS_MOVEMENT */
define view V_Mmim_DDL_Om_Param_PI
as select from I_PhysInvtryDocItem as document
inner join t001w as plant on document.Plant = plant.werks
inner join t001k as val on plant.bwkey = val.bwkey
/*left outer join V_Mmim_Ddl_Om_PI_PRINT as printit on printit.iblnr = document.iblnr
and printit.gjahr = document.gjahr
and printpo.zeili = document.zeili */
// Custom Fields extensibility
association [0..1] to E_PhysInvtryDocumentItem as _PrintExtension on $projection.PhysicalInventoryYear = _PrintExtension.FiscalYear
and $projection.PhysicalInventoryDocument = _PrintExtension.PhysicalInventoryDocument
and $projection.PhysicalInventoryItem = _PrintExtension.PhysicalInventoryDocumentItem
{
key document.mandt as SAPClient,
key 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
// printit.xprint as OperationIsPrinted
//'X' as OperationIsPrinted
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PHYSINVTRYDOCITEM",
"T001K",
"T001W"
],
"ASSOCIATED":
[
"E_PHYSINVTRYDOCUMENTITEM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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