I_GlAccountTextInCompanycode

DDL: I_GLACCOUNTTEXTINCOMPANYCODE SQL: IFIGLACCINCOCDT Type: view BASIC

G/L Account in Company Code - Text

I_GlAccountTextInCompanycode is a Basic CDS View that provides data about "G/L Account in Company Code - Text" in SAP S/4HANA. It reads from 2 data sources (P_Glacct_In_Cc, I_GLAccountText) and exposes 9 fields with key fields GLAccount, CompanyCode, Language.

Data Sources (2)

SourceAliasJoin Type
P_Glacct_In_Cc I_GLAccountInCompanyCode inner
I_GLAccountText I_GLAccountText from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IFIGLACCINCOCDT view
AbapCatalog.compiler.compareFilter true view
EndUserText.label G/L Account in Company Code - Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey GLAccount view
AbapCatalog.buffering.status #NOT_ALLOWED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
AbapCatalog.preserveKey true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY GLAccount I_GLAccountText GLAccount
KEY CompanyCode P_Glacct_In_Cc CompanyCode
KEY Language I_GLAccountText Language
ChartOfAccounts I_GLAccountText ChartOfAccounts
GLAccountName
GLAccountLongName
_Language _Language
_CompanyCode _CompanyCode
_ChartOfAccounts _ChartOfAccounts
@AbapCatalog.sqlViewName: 'IFIGLACCINCOCDT'
//@ClientDependent: true

@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'G/L Account in Company Code - Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
//@AccessControl.authorizationCheck: #NOT_REQUIRED

@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'GLAccount'
@AbapCatalog.buffering.status: #NOT_ALLOWED
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass:  #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@AbapCatalog.preserveKey:true
@ObjectModel.supportedCapabilities:[#CDS_MODELING_DATA_SOURCE,#LANGUAGE_DEPENDENT_TEXT,#SEARCHABLE_ENTITY]
define view I_GlAccountTextInCompanycode
as select from I_GLAccountText inner join P_Glacct_In_Cc as I_GLAccountInCompanyCode
   on  I_GLAccountText.ChartOfAccounts = I_GLAccountInCompanyCode.ChartOfAccounts
   and I_GLAccountText.GLAccount       = I_GLAccountInCompanyCode.GLAccount
association[0..1] to I_Language as _Language
   on $projection.Language = _Language.Language
association[0..1] to I_CompanyCode as _CompanyCode
   on  $projection.CompanyCode     = _CompanyCode.CompanyCode
association[0..1] to I_ChartOfAccounts as _ChartOfAccounts
   on $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
{
  @Search.defaultSearchElement:true
  @Search.fuzzinessThreshold:0.8
  @Search.ranking:#HIGH
  @ObjectModel.text.element: ['GLAccountName','GLAccountLongName']
  key I_GLAccountText.GLAccount,
  @ObjectModel.foreignKey.association: '_CompanyCode' //Inserted by VDM CDS Suite Plugin

  key I_GLAccountInCompanyCode.CompanyCode,
  @Semantics.language
  @ObjectModel.foreignKey.association: '_Language' //Inserted by VDM CDS Suite Plugin 

  key I_GLAccountText.Language,
  @ObjectModel.foreignKey.association: '_ChartOfAccounts' //Inserted by VDM CDS Suite Plugin

  I_GLAccountText.ChartOfAccounts,
  
  @Semantics.text: true
  @Search.defaultSearchElement:true
  @Search.fuzzinessThreshold:0.8
  @Search.ranking:#HIGH
  cast(I_GLAccountText.GLAccountName as fin_glaccount_name preserving type ) as GLAccountName,
  @Semantics.text: true
  @Search.defaultSearchElement:true
  @Search.fuzzinessThreshold:0.8
  @Search.ranking:#HIGH
  cast(I_GLAccountText.GLAccountLongName as fis_txt50_skat preserving type ) as GLAccountLongName,

  _Language,
  _CompanyCode,
  _ChartOfAccounts
}