@AccessControl.authorizationCheck: #CHECK
@EndUserText.label : 'Consumption for Relocation Project'
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@Metadata.allowExtensions: true
@VDM.viewType:#CONSUMPTION
@ObjectModel.semanticKey: ['ProjectExternalID']
define view entity C_DFS_RelocationProject
as select from I_ProjectData as RelocationProject
association [0..1] to I_DFS_RelocationProjectStatus as _RelProjStatus on $projection.ProjectObject = _RelProjStatus.StatusObject
association [0..*] to C_DFS_RelocProjWBSElmntHierTP as _RelocProjWBSElmntHierTP on $projection.ProjectInternalID = _RelocProjWBSElmntHierTP.ProjectInternalID
association [0..1] to C_DFS_RelocationProjectVH as _RelocProjVH on $projection.ProjectInternalID = _RelocProjVH.ProjectInternalID
association [0..1] to I_DFS_RelocationProjectProfile as _RelocProjPro on $projection.ProjectProfileCode = _RelocProjPro.ProjectProfileCode
{
@UI.hidden: true
@Consumption.filter .hidden: true
key ProjectInternalID,
@UI.hidden: true
@Consumption.filter .hidden: true
key _RelProjStatus.StatusCode,
@UI.hidden: true
@Consumption.filter .hidden: true
key _RelProjStatus.StatusObject,
@Consumption.filter .hidden: true
@UI.hidden: true
key _RelProjStatus.Language,
//@Consumption.valueHelp : '_RelocProjVH'
@Consumption: { valueHelpDefinition: [{ entity : { element: 'ProjectExternalID' , name: 'C_DFS_RelocationProjectVH' } ,
additionalBinding: [{ localElement: 'ProjectDescription', element: 'ProjectDescription'} ] }]}
ProjectExternalID,
// @Consumption.valueHelp : '_RelocProjVH'
@Consumption: { valueHelpDefinition: [{ entity : { element: 'ProjectDescription' , name: 'C_DFS_RelocationProjectVH' } ,
additionalBinding: [{ localElement: 'ProjectExternalID', element: 'ProjectExternalID'} ] }]}
ProjectDescription,
@Consumption.filter .selectionType: #INTERVAL
// @UI.lineItem: [{label: 'Start Date' }]
@UI.lineItem: [{label: 'Valid From ' }]
PlannedStartDate,
@Consumption.filter .selectionType: #INTERVAL
// @UI.lineItem: [{label: 'End Date' }]
@UI.lineItem: [{label: 'Valid To' }]
PlannedEndDate,
RelocationProject.ProjectProfileCode,
@UI.hidden: true
@Consumption.filter .hidden: true
ProjectObject,
@UI.hidden: true
@Consumption.filter .hidden: true
FreeDefinedTableFieldSemantic,
@UI.hidden: true
ControllingArea, //added for DCL
@UI.hidden: true
ProfitCenter, //added for DCL
@Consumption.filter .hidden: true
_RelProjStatus.SystemStatusName,
_RelProjStatus,
@ObjectModel.filter .enabled: false
_RelocProjWBSElmntHierTP,
_RelocProjVH,
_RelocProjPro
}
where
// FreeDefinedTableFieldSemantic is not initial
ProjectProfileCode = _RelocProjPro.ProjectProfileCode
and _RelProjStatus.Language = $session.system_language
and _RelProjStatus.StatusCode = 'I0002'
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_DFS_RELOCATIONPROJECTPROFILE",
"I_DFS_RELOCATIONPROJECTSTATUS",
"I_PROJECTDATA"
],
"ASSOCIATED":
[
"C_DFS_RELOCATIONPROJECTVH",
"C_DFS_RELOCPROJWBSELMNTHIERTP",
"I_DFS_RELOCATIONPROJECTPROFILE",
"I_DFS_RELOCATIONPROJECTSTATUS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_DFS_RelocationProject view_entity