@AbapCatalog.sqlViewName : 'ZZ1_STRUCTUR_1'
@Analytics.query: true
@EndUserText.label: 'CAQ Structures'
define view ZZ1_STRUCTURES
as select from I_GLACCOUNTLINEITEMCUBE
{AccountAssignment,
AmountInCompanyCodeCurrency,
ControllingArea,
CostCenter,
Segment,
GLAccount,
@AnalyticsDetails.query.onCharacteristicStructure: true
@EndUserText.label: '2021'
case
when
(
FiscalYear = '2021'
)
then 1
end as YEAR_RKF_001,
@AnalyticsDetails.query.onCharacteristicStructure: true
@EndUserText.label: '2020'
case
when
(
FiscalYear = '2020'
)
then 1
end as YEAR_RKF_002,
@AnalyticsDetails.query.onCharacteristicStructure: true
@DefaultAggregation: #FORMULA
@AnalyticsDetails.query.formula: '$projection.YEAR_RKF_002 + $projection.YEAR_RKF_001'
@EndUserText.label: 'Total'
0 as Total,
DebitCreditCode,
@AnalyticsDetails.query.displayHierarchy: #OFF
@AnalyticsDetails.query.hierarchyInitialLevel: 3
@AnalyticsDetails.query.hierarchyBinding : [
{type :#CONSTANT,value :''}
]
@Consumption.filter :{ selectionType: #SINGLE, multipleSelections: false, mandatory: true, defaultValue: '1710' }
CompanyCode
}
where
(
DebitCreditCode = 'S'
)
@AnalyticsDetails.query.onCharacteristicStructure: true
@AbapCatalog.sqlViewName: 'YY1_ADT_STR_1'
@Analytics.query: true
@EndUserText.label: 'ADT Structures'
define view YY1_ADT_STRUCTURES
as select from I_GLAccountLineItemCube
{
AccountAssignment,
AmountInCompanyCodeCurrency,
ControllingArea,
CostCenter,
Segment,
GLAccount,
@AnalyticsDetails.query.onCharacteristicStructure: true
@EndUserText.label: '2021'
case
when
(
FiscalYear = '2021'
) then 1
end as YEAR_RKF_001,
@AnalyticsDetails.query.onCharacteristicStructure: true
@EndUserText.label: '2020'
case
when
(
FiscalYear = '2020'
) then 1
end as YEAR_RKF_002,
@AnalyticsDetails.query.onCharacteristicStructure: true
@EndUserText.label: '2019'
case
when
(
FiscalYear = '2019'
) then 1
end as YEAR_RKF_003,
@AnalyticsDetails.query.onCharacteristicStructure: true
@DefaultAggregation: #FORMULA
@AnalyticsDetails.query.formula: '$projection.YEAR_RKF_001 + $projection.YEAR_RKF_002 + $projection.YEAR_RKF_003'
@EndUserText.label: 'Total'
0 as Total,
DebitCreditCode,
@AnalyticsDetails.query.displayHierarchy: #OFF
@AnalyticsDetails.query.hierarchyInitialLevel: 3
@AnalyticsDetails.query.hierarchyBinding : [
{type :#CONSTANT,value :''}
]
@Consumption.filter :{ selectionType: #SINGLE, multipleSelections: false, mandatory: true, defaultValue: '1710' }
CompanyCode
}
where
(
DebitCreditCode = 'S'
)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
11 | |
10 | |
8 | |
7 | |
6 | |
4 | |
4 | |
4 | |
3 |