@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Accrual Subobject Account Assignment'
@ObjectModel.usageType: {
serviceQuality: #C,
sizeCategory: #M,
dataClass: #MASTER
}
@VDM.viewType: #CONSUMPTION
@VDM.usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.semanticKey: ['AccrualEngineAccrualObjectType','AccrualObjectLogicalSystem','CompanyCode','AccrualObject','AccrualSubobject','AccrAcctAssgmtValdtyEndDte']
define view entity C_AccrEngineAccrSubobjAssgmtTP as projection on R_AccrEngineAccrSubobjAssgmtTP
{
key AccrualEngineAccrualObjectType,
key AccrualObjectLogicalSystem,
key CompanyCode,
key AccrualObject,
key AccrualSubobject,
key AccrAcctAssgmtValdtyEndDte,
AccrAcctAssgmtValdtyStrtDte,
BusinessArea,
ProfitCenter,
Segment,
Fund,
FundsCenter,
CommitmentItemShortID,
FunctionalArea,
GrantID,
FundedProgram,
BudgetPeriod,
CostCenter,
OrderID,
WBSElementInternalID,
WBSElementExternalID,
CostObject,
CostCtrActivityType,
NetworkNumberForAcctAssgmt,
ProjectNetworkInternalID,
BusinessProcess,
SalesOrder,
SalesOrderItem,
ProfitabilitySegment,
ControllingArea,
FinancialManagementArea,
AccrAcctAssgmtLastChgDateTime,
/* Associations */
_AccrCompanyCode,
_AccrLogicalSystem,
_AccrObj,
_AccrObjectType,
_AccrSubobj,
_AccrualSubobject : redirected to parent C_AccrEngineAccrualSubobjectTP,
_ActivityType,
_ControllingArea,
_CostCenter,
_CostCenterText,
_FunctionalArea,
_Fund,
_FundsCenter,
_InternalOrder,
_ProfitCenter,
_ProfitCenterText,
_SalesOrder,
_Segment,
_WBSElement
}
//@AbapCatalog.sqlViewName: 'CACESOASSGMTTP'
//@AbapCatalog.compiler.compareFilter: true
//@AccessControl.authorizationCheck: #CHECK
//@EndUserText.label: 'Accrual Subobject Account Assignment'
//@ClientHandling.algorithm: #SESSION_VARIABLE
//@ObjectModel.usageType: {
// serviceQuality: #C,
// sizeCategory: #M,
// dataClass: #MASTER
// }
//@VDM.viewType: #CONSUMPTION
//
//@Metadata.ignorePropagatedAnnotations: true
//@ObjectModel.semanticKey: ['AccrualEngineAccrualObjectType','AccrualObjectLogicalSystem','CompanyCode','AccrualObject','AccrualSubobject','AccrAcctAssgmtValdtyEndDte']
//@ObjectModel.createEnabled: 'EXTERNAL_CALCULATION'
//@ObjectModel.updateEnabled: 'EXTERNAL_CALCULATION'
//@ObjectModel.deleteEnabled: 'EXTERNAL_CALCULATION'
//@AbapCatalog.preserveKey:true
//
//define view C_AccrEngineAccrSubobjAssgmtTP
// as select from I_AccrEngineAccrSubobjAssgmtTP
// association [1..1] to C_AccrEngineAccrualSubobjectTP as _SubobjTP on $projection.AccrualEngineAccrualObjectType = _SubobjTP.AccrualEngineAccrualObjectType
// and $projection.AccrualObjectLogicalSystem = _SubobjTP.AccrualObjectLogicalSystem
// and $projection.CompanyCode = _SubobjTP.CompanyCode
// and $projection.AccrualObject = _SubobjTP.AccrualObject
// and $projection.AccrualSubobject = _SubobjTP.AccrualSubobject
//
//{
// @ObjectModel.readOnly: true
// @ObjectModel.foreignKey.association: '_AccrObjectType'
// key AccrualEngineAccrualObjectType,
// @ObjectModel.foreignKey.association: '_AccrLogicalSystem'
// @ObjectModel.readOnly: true
// key AccrualObjectLogicalSystem,
// @ObjectModel.readOnly: true
// @ObjectModel.foreignKey.association: '_AccrCompanyCode'
// key CompanyCode,
// @ObjectModel.readOnly: true
// @ObjectModel.foreignKey.association: '_AccrObj'
// key AccrualObject,
// @ObjectModel.foreignKey.association: '_AccrSubobj'
// @ObjectModel.readOnly: true
// key AccrualSubobject,
// @ObjectModel.readOnly: true
// key AccrAcctAssgmtValdtyEndDte,
//
// //ForEdit Fields
// // @ObjectModel.readOnly: true
// // AccrAcctAssgmtValdtyEndDte as AccrAcctAssgmtValdtyEndDteFoEd,
//
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// AccrAcctAssgmtValdtyStrtDte,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// BusinessArea,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// @ObjectModel.foreignKey.association: '_ProfitCenter'
// @Consumption.valueHelpDefinition: [{
// entity:{
// name: 'I_ProfitCenterVH',
// element: 'ProfitCenter' },
// distinctValues: true
// }]
// ProfitCenter,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// @ObjectModel.foreignKey.association: '_Segment'
// Segment,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// @ObjectModel.foreignKey.association: '_Fund'
// Fund,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// @ObjectModel.foreignKey.association: '_FundsCenter'
// FundsCenter,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// CommitmentItemInternalId,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// FunctionalArea,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// GrantID,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// FundedProgram,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// BudgetPeriod,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// @ObjectModel.foreignKey.association: '_CostCenter'
// // @Consumption.valueHelpDefinition: [{
// // entity:{
// // name: 'I_CostCenterVH',
// // element: 'CostCenter' },
// // distinctValues: true
// // }]
// CostCenter,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// OrderID,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
//// @ObjectModel.foreignKey.association: '_WBSElement'
// WBSElementExternalID,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// CostObject,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// CostCtrActivityType,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// ProjectNetworkObject,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// ProjectNetworkInternalID,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// BusinessProcess,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// @ObjectModel.foreignKey.association: '_SalesOrder'
// SalesOrder,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// SalesOrderItem,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
// ProfitabilitySegment,
// @ObjectModel.readOnly: true
// ControllingArea,
// @ObjectModel.readOnly: true
// FinancialManagementArea,
// _AccrObjectType,
// _AccrLogicalSystem,
// _AccrCompanyCode,
// _AccrObj,
// _AccrSubobj,
// _CostCenter,
// _ProfitCenter,
// _ActivityType,
// _FundsCenter,
// _Fund,
// _InternalOrder,
// _FunctionalArea,
// _SalesOrder,
// _Segment,
// _ControllingArea,
// // _WBSElement,
// @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
// _SubobjTP
//}