C_ProjectDemandWorkTP

DDL: C_PROJECTDEMANDWORKTP Type: view_entity CONSUMPTION Package: ODATA_PS_DMND_MAINTAIN

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 11 fields with key field ProjectDemandWorkUUID. Part of development package ODATA_PS_DMND_MAINTAIN.

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 (11)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandWorkUUID ProjectDemandWorkUUID
ProjectDemandUUID ProjectDemandUUID
CostCenter CostCenter
CostCenterName
ActivityType ActivityType
CostCtrActivityTypeName
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
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view entity C_ProjectDemandWorkTP 
  as projection on I_ProjectDemandWorkTP



{  
 
  key ProjectDemandWorkUUID,  
  ProjectDemandUUID,   
  
  @ObjectModel: { text.element: ['CostCenterName']}
  @UI.textArrangement: #TEXT_FIRST
  
  @Consumption.valueHelpDefinition: [
    { 
      entity: {
        element: 'CostCenter',
        name: 'C_ProjDemandCostCenterVH'
      }
    }
  ]
  
  CostCenter,
  _CostCenterText[1:Language = $session.system_language].CostCenterName as CostCenterName,

  @ObjectModel: { text.element: ['CostCtrActivityTypeName']}
  @UI.textArrangement: #TEXT_FIRST
  
  @UI.fieldGroup: [
    {
      label: 'Activity Type'
    }
  ]
  @Consumption.valueHelpDefinition: [
    {
      entity: {
        element: 'CostCtrActivityType',
        name: 'C_ProjDemandActivityTypeVH'
      }
    }
  ]
  
  ActivityType,
  _ActivityTypeText[1:Language = $session.system_language].CostCtrActivityTypeName as CostCtrActivityTypeName,
  
  _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
}