I_DFS_PurReqnOnPlntStorLocLvl
Requested Qty on Plant and SLoc Level
I_DFS_PurReqnOnPlntStorLocLvl is a Composite CDS View that provides data about "Requested Qty on Plant and SLoc Level" in SAP S/4HANA. It reads from 1 data source (I_Purchaserequisitionitem) and exposes 9 fields with key fields Plant, StorageLocation, Material.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Purchaserequisitionitem | I_Purchaserequisitionitem | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Requested Qty on Plant and SLoc Level | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | Plant | ||
| KEY | StorageLocation | StorageLocation | ||
| KEY | Material | Material | ||
| BaseUnit | BaseUnit | |||
| RequestedQuantity | ||||
| _Material | _Material | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Requested Qty on Plant and SLoc Level'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType:{
serviceQuality: #D,
sizeCategory: #L,
dataClass: #MIXED
}
define view entity I_DFS_PurReqnOnPlntStorLocLvl
as select from I_Purchaserequisitionitem {
key Plant,
key StorageLocation,
key Material,
BaseUnit,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
sum( RequestedQuantity ) as RequestedQuantity,
/* Associations */
_Material,
_UnitOfMeasure,
_Plant,
_StorageLocation
}
where
ProcessingStatus = 'N' // Consider only 'N'ot editied PRs
and PurchaseRequisitionType <> 'LD1' // Shouldn't consider stock loan PRs
and IsDeleted <> 'X' // Shouldn't consider deleted PRs
group by
Material,
Plant,
StorageLocation,
BaseUnit
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCHASEREQUISITIONITEM"
],
"ASSOCIATED":
[
"I_MATERIAL",
"I_PLANT",
"I_STORAGELOCATION",
"I_UNITOFMEASURE"
],
"BASE":
[
"I_PURCHASEREQUISITIONITEM"
],
"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