I_GLAccountStdVH
General Ledger Account
I_GLAccountStdVH is a Composite CDS View that provides data about "General Ledger Account" in SAP S/4HANA. It reads from 1 data source (I_GLAccount) and exposes 10 fields with key fields GLAccount, CompanyCode. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccount | I_GLAccount | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIGLA__VH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | GLAccount | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | General Ledger Account | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GLAccount | GLAccount | ||
| KEY | CompanyCode | CompanyCode | ||
| GLAccountExternal | ||||
| AlternativeGLAccount | AlternativeGLAccount | |||
| _Text | _Text | |||
| ChartOfAccounts | ChartOfAccounts | |||
| GLAccountGroup | GLAccountGroup | |||
| GLAccountType | GLAccountType | |||
| ReconciliationAccountType | ReconciliationAccountType | |||
| _CompanyCode | _CompanyCode |
//GENERATED:001:GlBfhyFV7jUzaDT}MP9DVm
@AbapCatalog.sqlViewName: 'IFIGLA__VH'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #COMPOSITE
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'GLAccount'
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_Text']
@ClientHandling.algorithm: #SESSION_VARIABLE
@Search.searchable: true
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities:[#CDS_MODELING_DATA_SOURCE,#SEARCHABLE_ENTITY,#VALUE_HELP_PROVIDER]
@EndUserText.label: 'General Ledger Account'
//important comments:
//Application Manage GL Account Master Data only shows SKA1-SAKAN(GLAccountExternal) in the UI instead of SKA1-SAKNR(GLAccount) since 2017 year.
//So the value help adds GLAccountExternal
define view I_GLAccountStdVH as select from I_GLAccount
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.9
@Search.ranking: #HIGH
@ObjectModel.text.association: '_Text'
//@Consumption.hidden: true
key GLAccount,
@ObjectModel.foreignKey.association: '_CompanyCode'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key CompanyCode,
@Search.fuzzinessThreshold: 0.9
cast( GLAccountExternal as fac_sakan ) as GLAccountExternal,
AlternativeGLAccount,
_Text,
//@Consumption.hidden: true
ChartOfAccounts,
GLAccountGroup,
GLAccountType,
ReconciliationAccountType,
@Consumption.hidden: true
_CompanyCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_GLACCOUNT"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_GLACCOUNTTEXTINCOMPANYCODE"
],
"BASE":
[
"I_GLACCOUNT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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