I_GLAccountStdVH

DDL: I_GLACCOUNTSTDVH SQL: IFIGLA__VH Type: view COMPOSITE

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)

SourceAliasJoin Type
I_GLAccount I_GLAccount from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (14)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/