F_GLAccountBySemanticTag
GL Accounts By Semantic Tag
F_GLAccountBySemanticTag is a CDS View that provides data about "GL Accounts By Semantic Tag" in SAP S/4HANA. It reads from 1 data source (I_SemTagGLAccount).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SemTagGLAccount | I_SemTagGLAccount | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_GLAccountHierarchy | hryid_40 | |
| P_SemanticTag | fins_sem_tag |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | GL Accounts By Semantic Tag | view | |
| Metadata.allowExtensions | false | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | GLAccount | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #DERIVATION_FUNCTION | view | |
| ObjectModel.derivationFunction.result.type | #SINGLE | view | |
| ObjectModel.derivationFunction.result.multipleRecords | true | view | |
| ObjectModel.derivationFunction.result.element | GLAccount | view | |
| ObjectModel.modelingPattern | #DERIVATION_FUNCTION | view |
@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
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA