@EndUserText.label : 'GL Accounts By Semantic Tag'
@Metadata.allowExtensions:false
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey : 'GLAccount'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #C,
sizeCategory: #S
}
@VDM.viewType: #DERIVATION_FUNCTION
@ObjectModel.derivationFunction: {
applicableFor.element: ['GLAccount'],
result: {
type: #SINGLE,
multipleRecords: true ,
element: 'GLAccount'
}
}
@ObjectModel.modelingPattern: #DERIVATION_FUNCTION
@ObjectModel.supportedCapabilities: [#DERIVATION_FUNCTION]
define view entity F_GLAccountBySemanticTag
with parameters
@Consumption.valueHelpDefinition: [{
entity : {
name: 'I_GLAccountHierarchy',
element: 'GLAccountHierarchy'
}
}]
P_GLAccountHierarchy : hryid_40,
@Consumption.valueHelpDefinition: [{
entity : {
name: 'I_SemanticTag',
element: 'SemanticTag'
}
}]
P_SemanticTag : fins_sem_tag
as select from I_SemTagGLAccount
{
@ObjectModel.foreignKey.association : '_ChartOfAccounts'
key ChartOfAccounts,
@ObjectModel.foreignKey.association : '_GLAccountInChartOfAccounts'
key GLAccount,
_ChartOfAccounts,
_GLAccountInChartOfAccounts
}
where
GLAccountHierarchy = $parameters .P_GLAccountHierarchy
and SemanticTag = $parameters .P_SemanticTag
and ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_SEMTAGGLACCOUNT"
],
"ASSOCIATED":
[
"I_CHARTOFACCOUNTS",
"I_GLACCOUNTINCHARTOFACCOUNTS"
],
"BASE":
[
"I_SEMTAGGLACCOUNT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
F_GLAccountBySemanticTag view_entity