I_ProjectDemandService

DDL: I_PROJECTDEMANDSERVICE Type: view BASIC

Project Demand for Service

I_ProjectDemandService is a Basic CDS View that provides data about "Project Demand for Service" in SAP S/4HANA. It reads from 1 data source (R_ProjectDemandService) and exposes 18 fields with key field ProjectDemandServiceUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_ProjectDemandService R_ProjectDemandService from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_ProjectDemandServiceSupply _ServiceSupply _ServiceSupply.ProjectDemandUUID = $projection.ProjectDemandUUID
[1..1] I_ProjectDemand _RootTP $projection.ProjectDemandUUID = _RootTP.ProjectDemandUUID
[0..1] I_Product _Material $projection.Material = _Material.Product
[0..1] I_ProductGroup_2 _MaterialGroup $projection.MaterialGroup = _MaterialGroup.ProductGroup
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (16)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.sqlViewName IPROJDMNDSERVICE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ProjectDemandServiceUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Project Demand for Service view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandServiceUUID ProjectDemandServiceUUID
ProjectDemandUUID ProjectDemandUUID
Material Material
MaterialGroup MaterialGroup
Supplier Supplier
PurchasingInfoRecord PurchasingInfoRecord
PurchaseContract PurchaseContract
PurchaseContractItem PurchaseContractItem
MaterialPlannedDeliveryDurn MaterialPlannedDeliveryDurn
CreatedByUser CreatedByUser
CreationDateTime CreationDateTime
LastChangedByUser LastChangedByUser
LastChangeDateTime LastChangeDateTime
_RootTP _RootTP
_ServiceSupply _ServiceSupply
_Material _Material
_MaterialGroup _MaterialGroup
_Supplier _Supplier
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type:  #PUBLIC_LOCAL_API

@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED

@AbapCatalog: {
    sqlViewName: 'IPROJDMNDSERVICE',
    compiler.compareFilter: true,
    preserveKey:true
}

@ObjectModel: {
    modelingPattern: #ANALYTICAL_DIMENSION,
    supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE ],
   semanticKey:       ['Material' ],
   representativeKey: 'ProjectDemandServiceUUID',
   usageType: {
     serviceQuality:  #A,
     dataClass:       #TRANSACTIONAL,
     sizeCategory:    #XL
   }
}
@Analytics.dataExtraction.enabled: true
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Project Demand for Service'
define view I_ProjectDemandService
  as select from R_ProjectDemandService

  association [0..1] to I_ProjectDemandServiceSupply as _ServiceSupply        on  _ServiceSupply.ProjectDemandUUID = $projection.ProjectDemandUUID
  association [1..1] to I_ProjectDemand              as _RootTP               on  $projection.ProjectDemandUUID = _RootTP.ProjectDemandUUID

  association [0..1] to I_Product                    as _Material             on  $projection.Material = _Material.Product
  association [0..1] to I_ProductGroup_2             as _MaterialGroup        on  $projection.MaterialGroup = _MaterialGroup.ProductGroup
  association [0..1] to I_Supplier                   as _Supplier             on  $projection.Supplier = _Supplier.Supplier

{

  key ProjectDemandServiceUUID    as ProjectDemandServiceUUID,

      ProjectDemandUUID           as ProjectDemandUUID,
      
      @Consumption.valueHelp: '_Material'
      Material                    as Material,

      @ObjectModel.foreignKey.association: '_MaterialGroup'
      MaterialGroup               as MaterialGroup,

      @ObjectModel.foreignKey.association: '_Supplier'
      Supplier                    as Supplier,

      PurchasingInfoRecord        as PurchasingInfoRecord,

      PurchaseContract            as PurchaseContract,

      PurchaseContractItem        as PurchaseContractItem,

      MaterialPlannedDeliveryDurn as MaterialPlannedDeliveryDurn,

      @Semantics.user.createdBy: true
      CreatedByUser               as CreatedByUser,
      @Semantics.systemDateTime.createdAt: true
      CreationDateTime            as CreationDateTime,
      @Semantics.user.lastChangedBy: true
      LastChangedByUser           as LastChangedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      LastChangeDateTime          as LastChangeDateTime,

      _RootTP,
      _ServiceSupply,

      _Material,
      _MaterialGroup,
      _Supplier

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_PROJECTDEMANDSERVICE"
],
"ASSOCIATED":
[
"I_PRODUCT",
"I_PRODUCTGROUP_2",
"I_PROJECTDEMAND",
"I_PROJECTDEMANDSERVICESUPPLY",
"I_SUPPLIER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/