C_ProjectDemandWorkTP

DDL: C_PROJECTDEMANDWORKTP Type: view_entity CONSUMPTION

Project Demand Work Consumption TP view

C_ProjectDemandWorkTP is a Consumption CDS View that provides data about "Project Demand Work Consumption TP view" in SAP S/4HANA. It reads from 1 data source (I_ProjectDemandWorkTP) and exposes 9 fields with key field ProjectDemandWorkUUID.

Data Sources (1)

SourceAliasJoin Type
I_ProjectDemandWorkTP I_ProjectDemandWorkTP projection

Annotations (8)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Project Demand Work Consumption TP view view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandWorkUUID ProjectDemandWorkUUID
ProjectDemandUUID ProjectDemandUUID
CostCenter CostCenter
ActivityType ActivityType
ReferencedObjectUUID _Root ReferencedObjectUUID
_CostCenter _CostCenter
_CostCenterText _CostCenterText
_CostCenterActType _CostCenterActType
_ActivityTypeText _ActivityTypeText

@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Project Demand Work Consumption TP view'
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@ObjectModel: {
  usageType: {
    sizeCategory: #XL,
    dataClass: #TRANSACTIONAL,
    serviceQuality: #C
  },
//  alternativeKey: [

//    'ProjectDemandUUID'

//  ],

//  representativeKey: 'ProjectDemandWorkUUID',

  semanticKey: [
    'ActivityType'
  ]
}
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #CHECK
define view entity C_ProjectDemandWorkTP 
  as projection on I_ProjectDemandWorkTP

// association [0..*] to I_CostCenterText               as _CostCenterText   on $projection.CostCenter = _CostCenterText.CostCenter  

//  association [0..*] to I_CostCenterActivityTypeText   as _ActivityTypeText on $projection.ActivityType = _ActivityTypeText.CostCtrActivityType


{  //Removed for RAP migration as all keys are not present in on condition . Needs to be adopted later

 
  key ProjectDemandWorkUUID,  
  ProjectDemandUUID,   
  
//  @ObjectModel: { text.element: ['CostCenterName']}


//  @ObjectModel: { text.association: '_CostCenterText' }

  @UI.textArrangement: #TEXT_FIRST
  
  @Consumption.valueHelpDefinition: [
    { 
      entity: {
        element: 'CostCenter',
        name: 'C_ProjDemandCostCenterVH'
      }
    }
  ]
  
  CostCenter, // @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'

   //      @ObjectModel.readOnly: true

 //      _CostCenterText[1:Language = $session.system_language].CostCenterName as CostCenterName,



//  @ObjectModel: { text.association: '_ActivityTypeText' }

  @UI.textArrangement: #TEXT_FIRST
  
  @UI.fieldGroup: [
    {
      label: 'Activity Type'
    }
  ]
  @Consumption.valueHelpDefinition: [
    {
      entity: {
        element: 'CostCtrActivityType',
        name: 'C_ProjDemandActivityTypeVH'
      }
    }
  ]
  
  ActivityType, // @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'

 
  
  _Root.ReferencedObjectUUID as ReferencedObjectUUID,  /* Associations */

  _Root: redirected to parent C_MngProjectDemandWorkTP, 
  _ResourceAssignment: redirected to composition child C_ProjDmndResourceAssignmentTP, //      @Consumption.filter.hidden: true

  
  _CostCenter,   
 _CostCenterText,

  _CostCenterActType,
  _ActivityTypeText
}