I_JITAvailableUnrstrcdStock

DDL: I_JITAVAILABLEUNRSTRCDSTOCK Type: view_entity COMPOSITE

Unrestricted stock for Material

I_JITAvailableUnrstrcdStock is a Composite CDS View that provides data about "Unrestricted stock for Material" in SAP S/4HANA. It reads from 1 data source (I_MaterialStock_2) and exposes 6 fields with key fields Material, Plant, MaterialBaseUnit.

Data Sources (1)

SourceAliasJoin Type
I_MaterialStock_2 I_MaterialStock_2 from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Unrestricted stock for Material view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Material Material
KEY Plant Plant
KEY MaterialBaseUnit MaterialBaseUnit
UnrestrictedStkInStkUnit
_Material _Material
_Plant _Plant
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Unrestricted stock for Material'
@VDM.viewType: #COMPOSITE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType:{
  serviceQuality: #D,
  sizeCategory: #XXL,
  dataClass: #TRANSACTIONAL
}
define view entity I_JITAvailableUnrstrcdStock
  as select from I_MaterialStock_2
{
         @ObjectModel.foreignKey.association: '_Material'
  key    Material,
         @ObjectModel.foreignKey.association: '_Plant'
  key    Plant,
  key    MaterialBaseUnit,
         @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
         @Aggregation.default:#SUM
         sum( MatlWrhsStkQtyInMatlBaseUnit ) as UnrestrictedStkInStkUnit,
         _Material,
         _Plant
}
where
      InventoryStockType     = '01'
  and MatlDocLatestPostgDate <= $session.system_date
group by
  Material,
  Plant,
  MaterialBaseUnit
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MATERIALSTOCK_2"
],
"ASSOCIATED":
[
"I_PLANT",
"I_PRODUCT"
],
"BASE":
[
"I_MATERIALSTOCK_2"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/