@AccessControl: {
authorizationCheck: #MANDATORY }
@ObjectModel: {
usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #C,
sizeCategory: #M },
semanticKey: [ 'AllocationCycle', 'AllocationType', 'AllocationCycleStartDate' ] }
@VDM: {
viewType: #CONSUMPTION,
usage.type:[#TRANSACTIONAL_PROCESSING_SERVICE] }
@Metadata.allowExtensions: true
@AccessControl.privilegedAssociations: [ '_CreatedByUser', '_LastExecByUser', '_ChangedByUser' ]
define root view entity C_UniversalAllocationCycleTP
provider contract transactional_query
as projection on R_UniversalAllocationCycleTP
{
@ObjectModel.text.element: ['AllocationContextTypeText']
key AllocationType,
key AllocationCycle,
@Semantics.businessDate.from: true
//@Semantics.timeZoneReference: 'AllocationCycleTimeZone'
key AllocationCycleStartDate,
//@Semantics.timeZone: true
//@UI.hidden: true
//AllocationCycleTimeZone,
@ObjectModel.text.element: ['AllocationCycleDescription']
AllocationCycleName,
@ObjectModel.text.element: ['LedgerName']
Ledger,
@ObjectModel.text.element: ['CompanyCodeName']
CompanyCode,
AllocationCycleCategory,
@ObjectModel.text.element: ['ControllingAreaName']
ControllingArea,
@Semantics.businessDate.to: true
//@Semantics.timeZoneReference: 'AllocationCycleTimeZone'
AllocationCycleEndDate,
@Consumption.hidden: true
AllocationFrequency,
@Consumption.filter.selectionType: #INTERVAL
AllocationCreateDate,
@ObjectModel.text.element: ['CreatedByUserName']
@ObjectModel.foreignKey.association: '_CreatedByUser'
CreatedByUser,
@UI.hidden: true
cast( _CreatedByUser.FullName as fco_create_usr_name preserving type ) as CreatedByUserName,
@Consumption.filter.selectionType: #INTERVAL
//@Semantics.timeZoneReference: 'AllocationCycleTimeZone'
LastChangeDate,
@UI.hidden: true
LastChangeTime,
@ObjectModel.text.element: ['ChangedByUserName']
@ObjectModel.foreignKey.association: '_ChangedByUser'
LastChangedByUser,
@UI.hidden: true
cast( _ChangedByUser.FullName as fcoua_changed_by_name preserving type ) as ChangedByUserName,
//@Semantics.timeZoneReference: 'AllocationCycleTimeZone'
AllocationLastExecutedDate,
@ObjectModel.text.element: ['AllocLastExecutedByUserName']
@ObjectModel.foreignKey.association: '_LastExecByUser'
AllocationLastExecutedByUser,
@UI.hidden: true
cast( _LastExecByUser.FullName as fco_last_exec_usr_name preserving type ) as AllocLastExecutedByUserName,
@UI.hidden: true
AllocationLastExecutionTime,
@UI.hidden: true
AllocationCycleSet,
@UI.hidden: true
ScaleNegativeTracingFactor,
@ObjectModel.text.element: ['AllocationPostingTypeText']
AllocationPostingType,
@ObjectModel.text.element: ['AllocActualPlanVariantText']
AllocationActualPlanVariant,
@UI.hidden: true
AllocationJob,
@Semantics.booleanIndicator: true
@Consumption.filter.selectionType: #SINGLE
AllocationIsCumulative,
@UI.hidden: true
AllocIsCumulativeOptimized,
@UI.hidden: true
AllocHasAggregatedProcess,
@ObjectModel.text.element: ['AllocationCycleRunGroupText']
AllocationCycleRunGroup,
@UI.hidden: true
AllocationSubstitutionName,
@UI.hidden: true
AllocFundMgmtIsActive,
@UI.hidden: true
AllocationIsBalanceSheetActive,
@UI.hidden: true
AllocHasDerivdFundFrmRcpnt,
@UI.hidden: true
AllocIsDerivdFuncAreaFrmRcpnt,
@UI.hidden: true
AllocIsDerivdGrantFrmRcpnt,
@UI.hidden: true
AllocIsDerivdBudgedPerdRcpnt,
@Consumption.hidden: true
AllocationLedgerGroup,
@UI.hidden: true
AllocationIsPeriodShiftActive,
@UI.hidden: true
AllocationPeriodDeltaSize,
@UI.hidden: true
AllocIsProdnMnthDerivd,
@UI.hidden: true
AllocationIsVariableQuantity,
@UI.hidden: true
AllocationValuationType,
@Consumption.filter.selectionType: #SINGLE
@Semantics.booleanIndicator: true
CycleIsDeltaProcessEnabled,
@Semantics.booleanIndicator: true
@Consumption.filter.selectionType: #SINGLE
AllocationCycleIsIterative,
@Semantics.booleanIndicator: true
@Consumption.filter.selectionType: #SINGLE
CycleIsParallelLedgerEnabled,
@Semantics.booleanIndicator: true
@Consumption.filter.selectionType: #SINGLE
CycleIsAttributedLineItmEnbld,
@Consumption.filter.hidden: true
@Semantics.text: true
NoteText,
@UI.hidden: true
_AllocationPostingTypeText.AllocationPostingTypeText : localized,
@Semantics.booleanIndicator: true
@Consumption.filter.selectionType: #SINGLE
AllocationCycleIsConsistent,
@UI.hidden: true
CriticalityCode,
@ObjectModel.text.element: ['AllocationStatusDescription']
AllocationStatus,
@ObjectModel.filter.transformedBy: 'ABAP:CL_FCOUA_FILTER_TRANSFORMATION'
AllocationTagID,
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_FCOUA_VIRTUAL_CYCLE_CALC'
_Text.AllocationCycleDescription : localized,
@UI.hidden: true
_Text.AllocationCycleDescription as AllocationCycleDefaultDescTxt : localized,
@ObjectModel: {
virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_FCOUA_VIRTUAL_CYCLE_CALC' }
virtual AllocationCycleDescCntryCode : langu,
@UI.hidden: true
_AllocationStatus._Text.AllocationStatusDescription : localized,
@UI.hidden: true
_Context._Text.AllocationContextTypeText : localized,
@Semantics.text: true
@UI.hidden: true
_CycleRunGroup._Text.AllocationCycleRunGroupText : localized,
@UI.hidden: true
_LedgerText.LedgerName : localized,
@UI.hidden: true
_ActualPlanVariant._Text.AllocActualPlanVariantText : localized,
_CompanyCode.CompanyCodeName,
_ControllingArea.ControllingAreaName,
@Semantics.systemDateTime.lastChangedAt: true
LastChangeDateTime,
@Semantics.systemDateTime.localInstanceLastChangedAt: true
@UI.hidden: true
LocalLastChangeDateTime,
_TopDownDistributionTemplate.TopDwnDistrTmplName,
@UI.hidden: true
_TopDownDistributionTemplate.OperatingConcern,
@UI.hidden: true
_TopDownDistributionTemplate.UnivAllocTopDwnDistrCycleHash,
@UI.hidden: true
_TopDownDistributionTemplate._TemplateHeader.TopDwnDistrTmplHash,
@UI.hidden: true
LanguageCode,
@Consumption.filter.hidden: true
_CreatedByUser,
@Consumption.filter.hidden: true
_LastExecByUser,
@Consumption.filter.hidden: true
_ChangedByUser,
_Segment : redirected to composition child C_UniversalAllocationSegmentTP,
_FieldDerivation : redirected to composition child C_UnivAllocFieldDerivationTP,
_FieldGroup : redirected to composition child C_UnivAllocCycleFieldGroupTP,
_TagAssignment : redirected to composition child C_UnivAllocTagCycAssignmentTP,
_Text : redirected to composition child C_UnivAllocationCycleTextTP,
_TopDownDistributionTemplate : redirected to composition child C_UnivAllocTopDwnDistrTmplTP
}