I_DFS_PurReqnOnPlntStorLocLvl

DDL: I_DFS_PURREQNONPLNTSTORLOCLVL Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_Purchaserequisitionitem I_Purchaserequisitionitem from

Annotations (7)

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

KeyFieldSource TableSource FieldDescription
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":""
}
}*/