I_Mpfilterfields

DDL: I_MPFILTERFIELDS SQL: IMPFILTER Type: view COMPOSITE

Master Project Filter Fields

I_Mpfilterfields is a Composite CDS View that provides data about "Master Project Filter Fields" in SAP S/4HANA. It reads from 1 data source (I_MasterProject) and exposes 32 fields with key field MasterProject. It has 15 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MasterProject MP from

Associations (15)

CardinalityTargetAliasCondition
[0..1] I_MasterProjectType _MasterProjectType $projection.MasterProjectType = _MasterProjectType.MasterProjectType
[0..1] I_EngagementProjectStage _MasterProjectStage $projection.MasterProjectStage = _MasterProjectStage.EngagementProjectStage
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_MstrProjBusPartnerByRoleVH _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner and _BusinessPartner.BusinessPartnerRole = 'BUP003'
[0..1] I_EngagementProjectSrvcOrg _MasterProjectOrganization $projection.MasterProjectOrganization = _MasterProjectOrganization.EngagementProjectServiceOrg
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_Region _Region $projection.Country = _Region.Country and $projection.Region = _Region.Region
[0..1] I_CpdIndustry _Industry $projection.Industry = _Industry.Industry
[0..1] I_Cpdfinancialrisk _FinancialRisk $projection.FinancialRisk = _FinancialRisk.FinancialRisk
[0..1] I_Cpdtechnicalrisk _TechnicalRisk $projection.TechnicalRisk = _TechnicalRisk.TechnicalRisk
[0..1] I_Cpdprojectrisk _ProjectRisk $projection.ProjectRisk = _ProjectRisk.ProjectRisk
[0..1] I_MasterProjectVH _MasterProject $projection.MasterProject = _MasterProject.MasterProject
[0..1] I_Cpdworktype _WorkType $projection.WorkType = _WorkType.WorkType
[0..1] I_UserContactCard _User $projection.CreatedByUser = _User.ContactCardID
[0..1] E_MasterProject _Extension $projection.MasterProjectUUID = _Extension.MasterProjectUUID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMPFILTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.dataCategory #VALUE_HELP view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Master Project Filter Fields view
VDM.viewType #COMPOSITE view
Consumption.ranked true view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY MasterProject I_MasterProject MasterProject
MasterProjectUUID I_MasterProject MasterProjectUUID
MasterProjectType I_MasterProject MasterProjectType
MasterProjectStage I_MasterProject MasterProjectStage
StartDate
EndDate
Customer I_MasterProject Customer
BusinessPartner
MasterProjectOrganization I_MasterProject MasterProjectOrganization
MasterProjectIsConfidential
Country I_MasterProject Country
Region I_MasterProject Region
WorkType I_MasterProject WorkType
Industry I_MasterProject Industry
FinancialRisk I_MasterProject FinancialRisk
TechnicalRisk I_MasterProject TechnicalRisk
ProjectRisk I_MasterProject ProjectRisk
CreatedByUser I_MasterProject CreatedByUser
_Country _Country
_User _User
_Customer _Customer
_BusinessPartner _BusinessPartner
_WorkType _WorkType
_MasterProject _MasterProject
_FinancialRisk _FinancialRisk
_Industry _Industry
_MasterProjectType _MasterProjectType
_MasterProjectStage _MasterProjectStage
_MasterProjectOrganization _MasterProjectOrganization
_ProjectRisk _ProjectRisk
_Region _Region
_TechnicalRisk _TechnicalRisk
@AbapCatalog.sqlViewName: 'IMPFILTER'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Search.searchable: true
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.dataCategory: #VALUE_HELP
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Master Project Filter Fields'
@VDM.viewType: #COMPOSITE
@Consumption.ranked: true
define view I_Mpfilterfields
  as select from           I_MasterProject     as MP
    left outer to one join I_MasterProjectUser as MstrProjUser on MP.MasterProject = MstrProjUser.MasterProject
  association [0..1] to I_MasterProjectType          as _MasterProjectType         on  $projection.MasterProjectType = _MasterProjectType.MasterProjectType
  association [0..1] to I_EngagementProjectStage     as _MasterProjectStage        on  $projection.MasterProjectStage = _MasterProjectStage.EngagementProjectStage
  association [0..1] to I_Customer                   as _Customer                  on  $projection.Customer = _Customer.Customer
  association [0..1] to I_MstrProjBusPartnerByRoleVH as _BusinessPartner           on  $projection.BusinessPartner           = _BusinessPartner.BusinessPartner
                                                                                   and _BusinessPartner.BusinessPartnerRole = 'BUP003'
  association [0..1] to I_EngagementProjectSrvcOrg   as _MasterProjectOrganization on  $projection.MasterProjectOrganization = _MasterProjectOrganization.EngagementProjectServiceOrg
  association [0..1] to I_Country                    as _Country                   on  $projection.Country = _Country.Country
  association [0..1] to I_Region                     as _Region                    on  $projection.Country = _Region.Country
                                                                                   and $projection.Region  = _Region.Region
  association [0..1] to I_CpdIndustry                as _Industry                  on  $projection.Industry = _Industry.Industry
  //  association [0..1] to I_Cpdprojectrisk           as _ProjectRisk               on  $projection.projectrisk = _ProjectRisk.ProjectRisk

  association [0..1] to I_Cpdfinancialrisk           as _FinancialRisk             on  $projection.FinancialRisk = _FinancialRisk.FinancialRisk
  association [0..1] to I_Cpdtechnicalrisk           as _TechnicalRisk             on  $projection.TechnicalRisk = _TechnicalRisk.TechnicalRisk
  association [0..1] to I_Cpdprojectrisk             as _ProjectRisk               on  $projection.ProjectRisk = _ProjectRisk.ProjectRisk
  //  association [0..1] to I_Cpdprojectrisk           as _OverallRisk               on  $projection.OverallRisk = _OverallRisk.ProjectRisk

  //  association [1..*] to I_MPContactPerson          as _ContactPerson             on  $projection.MasterProjectUUID = _ContactPerson.MasterProjectUUID

  association [0..1] to I_MasterProjectVH            as _MasterProject             on  $projection.MasterProject = _MasterProject.MasterProject
  association [0..1] to I_Cpdworktype                as _WorkType                  on  $projection.WorkType = _WorkType.WorkType
  association [0..1] to I_UserContactCard            as _User                      on  $projection.CreatedByUser = _User.ContactCardID
  association [0..1] to E_MasterProject              as _Extension                 on  $projection.MasterProjectUUID = _Extension.MasterProjectUUID
{


      //  association [0..*] to C_MPStatusItemDetails      as _EngagementProjectStatus   on  $projection.MasterProject = _EngagementProjectStatus.MasterProject

      //--[ GENERATED:012:E6ExH29r7kY4i74kMOlQIW

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_MasterProjectStdVH',
                     element: 'MasterProject' }
        }]
      // ]--GENERATED

      @ObjectModel: {foreignKey.association: '_MasterProject'}
      @Search.defaultSearchElement: true
      @UI: { selectionField }
  key MP.MasterProject,

      MP.MasterProjectUUID,

      @ObjectModel: {foreignKey.association: '_MasterProjectType'}
      @UI: { selectionField }
      MP.MasterProjectType,

      @UI: { selectionField }
      @UI.lineItem
  //    @Search.defaultSearchElement: true  * ATC Error

      cast(case when MstrProjUser.UserID <> ''
               then 'X'
               end as  /cpd/cpm_isuser_satatus)                                                                                              as  IsUserStatus,

      @ObjectModel: {foreignKey.association: '_MasterProjectStage'}
      @UI: { selectionField }
      MP.MasterProjectStage,

      @UI: { selectionField }
      cast(MP.StartDate as /cpd/cpm_start_date)                                                                                              as  StartDate,

      @UI: { selectionField }
      cast(MP.EndDate as /cpd/cpm_end_date)                                                                                                  as  EndDate,

      //--[ GENERATED:012:E6ExH29r7kY4i74kMOlQIW

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_Customer_VH',
                     element: 'Customer' }
        }]
      // ]--GENERATED

      @ObjectModel: {foreignKey.association: '_Customer'}
      @UI: { selectionField }
      MP.Customer,


      @Consumption.valueHelpDefinition: [
       { entity:  { name:    'I_MstrProjBusPartnerByRoleVH',
                    element: 'BusinessPartner' }
       }]
      // @ObjectModel.text.element: 'BusinessPartnerFullName'

      // @UI.lineItem

      @ObjectModel: {foreignKey.association: '_BusinessPartner'}
      @UI: { selectionField }
      @Consumption.valueHelp: '_BusinessPartner'
      cast(MP.ProjectManager as /cpd/cpm_proj_manager)                                                                                       as  BusinessPartner,//as  ProjectManager,


      //--[ GENERATED:012:E6ExH29r7kY4i74kMOlQIW

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_EngmntProjSrvcOrgStdVH',
                     element: 'EngagementProjectServiceOrg' }
        }]
      // ]--GENERATED

      @ObjectModel: {foreignKey.association: '_MasterProjectOrganization'}
      @UI: { selectionField }
      MP.MasterProjectOrganization,

      @UI: { selectionField }
      cast ( MP.MasterProjectIsConfidential as /cpd/cpm_comlprojcofl )                                                                       as  MasterProjectIsConfidential,

      @ObjectModel: {foreignKey.association: '_Country'}
      @UI: { selectionField }
      MP.Country,

      @ObjectModel: {foreignKey.association: '_Region'}
      @UI: { selectionField }
      MP.Region,

      @ObjectModel: {foreignKey.association: '_WorkType'}
      @UI: { selectionField }
      MP.WorkType,

      @ObjectModel: {foreignKey.association: '_Industry'}
      @UI: { selectionField }
      MP.Industry,

      //MP.ProjectRisk,

      @ObjectModel: {foreignKey.association: '_FinancialRisk'}
      @UI: { selectionField }
      MP.FinancialRisk,

      @ObjectModel: {foreignKey.association: '_TechnicalRisk'}
      @UI: { selectionField }
      MP.TechnicalRisk,

      @ObjectModel: {foreignKey.association: '_ProjectRisk'}
      @UI: { selectionField }
      MP.ProjectRisk,

      //      @ObjectModel: {foreignKey.association: '_OverallRisk'}

      //      @UI: { selectionField }

      //      MP.OverallRisk,

      //

      //      MP.InspectionDate,


      //      @UI: { selectionField }

      //      MP.InternalInspectionDate,

      //

      //

      //      @UI: { selectionField }

      //      MP.ExternalInspectionDate,


      //@ObjectModel: {foreignKey.association: '_User'}

      @UI: { selectionField }
      MP.CreatedByUser,


      _Country,
      _User,
      _Customer,
      _BusinessPartner,
      _WorkType,
      _MasterProject,
      _FinancialRisk,
      _Industry,
      _MasterProjectType,
      _MasterProjectStage,
      _MasterProjectOrganization,
      _ProjectRisk,
      //      _OverallRisk,

      _Region,
      //      _Region._Country,

      //      _Region._RegionText,

      _TechnicalRisk


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MASTERPROJECT",
"I_MASTERPROJECTUSER"
],
"ASSOCIATED":
[
"E_MASTERPROJECT",
"I_COUNTRY",
"I_CPDFINANCIALRISK",
"I_CPDINDUSTRY",
"I_CPDPROJECTRISK",
"I_CPDTECHNICALRISK",
"I_CPDWORKTYPE",
"I_CUSTOMER",
"I_ENGAGEMENTPROJECTSRVCORG",
"I_ENGAGEMENTPROJECTSTAGE",
"I_MASTERPROJECTTYPE",
"I_MASTERPROJECTVH",
"I_MSTRPROJBUSPARTNERBYROLEVH",
"I_REGION",
"I_USERCONTACTCARD"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/