P_GLAccountSemTagInCompanyCode

DDL: P_GLACCOUNTSEMTAGINCOMPANYCODE Type: view COMPOSITE Package: FINS_FI_CLS_CUSTOMIZING

Get GLaccount in one company code according to semantic tag

P_GLAccountSemTagInCompanyCode is a Composite CDS View that provides data about "Get GLaccount in one company code according to semantic tag" in SAP S/4HANA. It reads from 2 data sources (P_FinClsgGLAccountInCoCode, I_AccountingPrncpGLAcctSemTag) and exposes 10 fields with key fields GLAccount, CompanyCode, AccountingPrinciple, SemanticTag, ChartOfAccounts. Part of development package FINS_FI_CLS_CUSTOMIZING.

Data Sources (2)

SourceAliasJoin Type
P_FinClsgGLAccountInCoCode companycode inner
I_AccountingPrncpGLAcctSemTag semtag from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PGLACCTBUKRS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.representativeKey CompanyCode view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY GLAccount P_FinClsgGLAccountInCoCode GLAccount
KEY CompanyCode CompanyCode
KEY AccountingPrinciple AccountingPrinciple
KEY SemanticTag SemanticTag
KEY ChartOfAccounts I_AccountingPrncpGLAcctSemTag ChartOfAccounts
ValidityStartDate ValidityStartDate
ValidityEndDate ValidityEndDate
GLAccountCurrency GLAccountCurrency
ReconciliationAccountType ReconciliationAccountType
AccountIsOpenItemManaged AccountIsOpenItemManaged
@AbapCatalog: {
    sqlViewName: 'PGLACCTBUKRS',
    preserveKey: true,
    compiler:{ compareFilter: true }
    }

@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@VDM.private: true

@ObjectModel:   {
    representativeKey: 'CompanyCode',
    usageType:  {
        dataClass: #CUSTOMIZING,
        serviceQuality: #D,
        sizeCategory: #M
        }
    }

define view P_GLAccountSemTagInCompanyCode
  as select from I_AccountingPrncpGLAcctSemTag as semtag
    inner join   P_FinClsgGLAccountInCoCode    as companycode on semtag.GLAccount = companycode.GLAccount
{
      //companycode

  key companycode.GLAccount,
  key CompanyCode,
      //semtag

  key AccountingPrinciple,
  key SemanticTag,
  key semtag.ChartOfAccounts as ChartOfAccounts, //change by SCHWANJO please check

      ValidityStartDate,
      ValidityEndDate,
      GLAccountCurrency,
      ReconciliationAccountType,
      AccountIsOpenItemManaged

}