I_GLACCOUNTSTDVH

CDS View

General Ledger Account

I_GLACCOUNTSTDVH is a CDS View in S/4HANA. General Ledger Account. It contains 3 fields. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
C_GLAccountValueHelp view from CONSUMPTION GL Account Value Help
I_MM_GLAccountVH view from COMPOSITE Purchasing GL Account Value Help
P_CustomerGLAccountValueHelp view from CONSUMPTION GL Account with Reconciliation Account Type Customers

Fields (3)

KeyField CDS FieldsUsed in Views
KEY CompanyCode CompanyCode 1
KEY GLAccount GLAccount 1
ChartOfAccounts ChartOfAccounts 1
//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":""
}
}*/