I_ProjWIPDetWBSValueHelp

DDL: I_PROJWIPDETWBSVALUEHELP Type: view_entity CONSUMPTION Package: FINS_REV_REC_WIP_DIP

WBS Element Value Help

I_ProjWIPDetWBSValueHelp is a Consumption CDS View that provides data about "WBS Element Value Help" in SAP S/4HANA. It reads from 1 data source (I_WBSElement) and exposes 34 fields with key field WBSElement. It has 7 associations to related views. Part of development package FINS_REV_REC_WIP_DIP.

Data Sources (1)

SourceAliasJoin Type
I_WBSElement WBSElement from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_CostCenter _CostCenter $projection.CostCenter = _CostCenter.CostCenter and $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CreationDate = _CostCenter.ValidityEndDate
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.CreationDate = _ProfitCenter.ValidityEndDate
[0..1] I_Projecttype _ProjectType $projection.ProjectType = _ProjectType.ProjectType

Annotations (11)

NameValueLevelField
EndUserText.label WBS Element Value Help view
ObjectModel.dataCategory #VALUE_HELP view
Analytics.technicalName IWBSELVALHLP view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey WBSElement view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY WBSElement WBSElement
WBSDescription WBSDescription
WBSElementShortID WBSElementShortID
Project
ProjectDescription
CreatedByUser CreatedByUser
CreationDate CreationDate
LastChangedByUser LastChangedByUser
LastChangeDate LastChangeDate
ResponsiblePerson _EntProjectResponsiblePerson PersonWorkAgreement
ResponsiblePersonName
CompanyCode CompanyCode
BusinessArea BusinessArea
ControllingArea ControllingArea
ProfitCenter ProfitCenter
ProjectType ProjectType
WBSElementIsPlanningElement WBSElementIsPlanningElement
WBSIsAccountAssignmentElement WBSIsAccountAssignmentElement
WBSElementIsBillingElement WBSElementIsBillingElement
ResponsibleCostCenter ResponsibleCostCenter
Plant Plant
Language Language
CostCenter CostCenter
WBSElementHierarchyLevel WBSElementHierarchyLevel
ResultAnalysisInternalID ResultAnalysisInternalID
_ControllingArea _ControllingArea
_Plant _Plant
_CostCenter _CostCenter
_BusinessArea _BusinessArea
_CompanyCode _CompanyCode
_ProfitCenter _ProfitCenter
_ProjectType _ProjectType
_EntProjectResponsiblePerson I_WBSElement _EntProjectResponsiblePerson
WBSElementInternalID WBSElementInternalID
@EndUserText.label: 'WBS Element Value Help'

@ObjectModel.dataCategory: #VALUE_HELP
@Analytics.technicalName: 'IWBSELVALHLP'
@VDM.viewType: #CONSUMPTION
//@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }

@ObjectModel.representativeKey: 'WBSElement'
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@AccessControl.personalData.blocking: #REQUIRED

@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED

//Selects from prps and proj and various associations


define view entity I_ProjWIPDetWBSValueHelp
  //as select from prps

  //  inner join   proj on proj.pspnr = prps.psphi

  as select from I_WBSElement as WBSElement

  association [1..1] to I_ControllingArea as _ControllingArea on  $projection.ControllingArea = _ControllingArea.ControllingArea
  association [1..1] to I_CompanyCode     as _CompanyCode     on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_CostCenter      as _CostCenter      on  $projection.CostCenter      = _CostCenter.CostCenter
                                                              and $projection.ControllingArea = _CostCenter.ControllingArea
                                                              and $projection.CreationDate    = _CostCenter.ValidityEndDate
  association [0..1] to I_BusinessArea    as _BusinessArea    on  $projection.BusinessArea = _BusinessArea.BusinessArea
  association [0..1] to I_Plant           as _Plant           on  $projection.Plant = _Plant.Plant
  association [0..1] to I_ProfitCenter    as _ProfitCenter    on  $projection.ProfitCenter    = _ProfitCenter.ProfitCenter
                                                              and $projection.ControllingArea = _ProfitCenter.ControllingArea
                                                              and $projection.CreationDate    = _ProfitCenter.ValidityEndDate
  association [0..1] to I_Projecttype     as _ProjectType     on  $projection.ProjectType = _ProjectType.ProjectType

{
  @Search.defaultSearchElement: true
  //key prps.posid as WBSElement,

  key WBSElement,
      //prps.post1 as WBSDescription,

      WBSDescription,
      //prps.poski as WBSElementShortID,

      WBSElementShortID,
      //proj.pspid as Project,

      WBSElement._Project.Project,
      //proj.post1 as ProjectDescription,

      WBSElement._Project.ProjectDescription,  
      //prps.ernam as CreatedByUser,

      CreatedByUser,
      //prps.erdat as CreationDate,

      CreationDate,
      //prps.aenam as LastChangedByUser,

      LastChangedByUser,
      //prps.aedat as LastChangeDate,

      LastChangeDate,    
      //prps.vernr as ResponsiblePerson,  

//      cast( case

//              when WBSElement.ResponsiblePerson = '00000000' or WBSElement.ResponsiblePerson is null

//                then WBSElement._EntProjectResponsiblePerson.PersonWorkAgreement

//                else WBSElement.ResponsiblePerson

//            end as persno preserving type ) as ResponsiblePerson,

      _EntProjectResponsiblePerson.PersonWorkAgreement as ResponsiblePerson,
      //prps.verna as ResponsiblePersonName,     

//      cast( case

//              when WBSElement.ResponsiblePerson = '00000000' or WBSElement.ResponsiblePerson is null

//                then WBSElement._EntProjectResponsiblePerson._WorkforcePerson.PersonFullName

//                else WBSElement.ResponsiblePersonName

//            end as ad_namtext preserving type ) as ResponsiblePersonName,

      _EntProjectResponsiblePerson._WorkforcePerson.PersonFullName as ResponsiblePersonName,
      
      //prps.pbukr as CompanyCode,

      CompanyCode,
      //prps.pgsbr as BusinessArea,

      BusinessArea,
      //prps.pkokr as ControllingArea,

      ControllingArea,
      //prps.prctr as ProfitCenter,

      ProfitCenter,
      //prps.prart as ProjectType,

      ProjectType,
      //prps.plakz as WBSElementIsPlanningElement,

      WBSElementIsPlanningElement,
      //prps.belkz as WBSIsAccountAssignmentElement,

      WBSIsAccountAssignmentElement,
      //prps.fakkz as WBSElementIsBillingElement,

      WBSElementIsBillingElement,
      //prps.fkstl as ResponsibleCostCenter,

      ResponsibleCostCenter,
      //prps.werks as Plant,

      Plant,
      //prps.txtsp as Language,

      Language,
      //prps.kostl as CostCenter,

      CostCenter,
      //prps.stufe as WBSElementHierarchyLevel,

      WBSElementHierarchyLevel,
      //prps.abgsl as ResultAnalysisInternalID,

      ResultAnalysisInternalID,

      _ControllingArea,
      _Plant,
      _CostCenter,
      _BusinessArea,
      _CompanyCode,
      _ProfitCenter,
      _ProjectType,
      
      //For access control

//      @UI.hidden: true

//      @Consumption.filter.hidden: true

//      WBSElement.ResponsiblePerson as ProjectResponsiblePerson,

//      @UI.hidden: true

//      @Consumption.filter.hidden: true

//      WBSElement._ResponsiblePerson,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      WBSElement._EntProjectResponsiblePerson,
      @UI.hidden: true
      @Consumption.filter.hidden: true
      WBSElementInternalID

};