I_GLAcctInChartOfAcctsProdn

DDL: I_GLACCTINCHARTOFACCTSPRODN SQL: IFIGLACCINCOAPRN Type: view BASIC

GL Account not needed in production

I_GLAcctInChartOfAcctsProdn is a Basic CDS View that provides data about "GL Account not needed in production" in SAP S/4HANA. It reads from 1 data source (skad) and exposes 5 fields with key fields ChartOfAccounts, GLAccount. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
skad skad from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_GLAccountInChartOfAccounts _GLAcct $projection.ChartOfAccounts = _GLAcct.ChartOfAccounts and $projection.GLAccount = _GLAcct.GLAccount
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

Annotations (15)

NameValueLevelField
EndUserText.label GL Account not needed in production view
AbapCatalog.sqlViewName IFIGLACCINCOAPRN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey GLAccount view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts skad ktopl
KEY GLAccount skad saknr
GLAccountIsNotProdnRelevant skad not_needed
_GLAcct _GLAcct
_ChartOfAccounts _ChartOfAccounts
@EndUserText.label: 'GL Account not needed in production'

@AbapCatalog.sqlViewName: 'IFIGLACCINCOAPRN'
@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey: true

@AbapCatalog.buffering:{
  status: #ACTIVE,
  type: #GENERIC,
  numberOfKeyFields: 1
}

@AccessControl.authorizationCheck: #NOT_REQUIRED

@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions:true

@VDM.viewType: #BASIC

@ClientHandling.algorithm: #SESSION_VARIABLE


@ObjectModel: {
  representativeKey: 'GLAccount',
  usageType: {
             dataClass: #CUSTOMIZING,
             serviceQuality: #A,
             sizeCategory: #S
             }
}



define view I_GLAcctInChartOfAcctsProdn
  as select from skad
  association [0..1] to I_GLAccountInChartOfAccounts as _GLAcct on  $projection.ChartOfAccounts = _GLAcct.ChartOfAccounts and
                                                                    $projection.GLAccount       = _GLAcct.GLAccount
  association [0..1] to I_ChartOfAccounts            as _ChartOfAccounts         
                                                                on  $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
{
      @ObjectModel.foreignKey.association: '_ChartOfAccounts'
  key skad.ktopl      as ChartOfAccounts,
      @ObjectModel.foreignKey.association: '_GLAcct' 
  key skad.saknr      as GLAccount,
      skad.not_needed as GLAccountIsNotProdnRelevant,
      _GLAcct,
      _ChartOfAccounts
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"SKAD"
],
"ASSOCIATED":
[
"I_CHARTOFACCOUNTS",
"I_GLACCOUNTINCHARTOFACCOUNTS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/