ACE_ACCOUNT_PRINCIPLE_LEDGER

DDL: ACE_ACCOUNT_PRINCIPLE_LEDGER SQL: ACEV_APLEDGER Type: view

Accrual Account Principle and Ledger

ACE_ACCOUNT_PRINCIPLE_LEDGER is a CDS View that provides data about "Accrual Account Principle and Ledger" in SAP S/4HANA. It reads from 10 data sources and exposes 10 fields with key fields comp, bukrs, accrule, rldnrkeycomp, bukrs.

Data Sources (10)

SourceAliasJoin Type
tace_combination a from
tace_combination a union_all
tace_combination a union_all
finsc_ld_cmp b inner
tacc_trgt_ldgr b inner
tacc_trgt_ldgr b inner
finsc_ledger c inner
finsc_ld_cmp c inner
fagl_tldgrp_map c inner
finsc_ledger d inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ACEV_APLEDGER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED 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
EndUserText.label Accrual Account Principle and Ledger view
AbapCatalog.preserveKey true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY comp comp
KEY bukrs tace_combination bukrs
KEY accrule accrule
KEY rldnrkeycomp
KEY bukrs tace_combination bukrs
KEY accrule accrule
KEY ldgrpkeycomp
KEY bukrs tace_combination bukrs
KEY accrule accrule
KEY rldnr fagl_tldgrp_map rldnr
@AbapCatalog.sqlViewName: 'ACEV_APLEDGER'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass:  #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Accrual Account Principle and Ledger'
@AbapCatalog.preserveKey:true
define view ACE_ACCOUNT_PRINCIPLE_LEDGER
  as select from tace_combination as a
    inner join   finsc_ld_cmp     as b on a.bukrs = b.bukrs
    inner join   finsc_ledger     as c on b.rldnr = c.rldnr
{
  key comp,
  key a.bukrs,
  key accrule,
  key c.rldnr
}
where
      a.accrule  = ''
  and c.xleading = 'X'

union all select from tace_combination as a
  inner join          tacc_trgt_ldgr   as b on a.accrule = b.acc_principle
  inner join          finsc_ld_cmp     as c on a.bukrs = c.bukrs
  inner join          finsc_ledger     as d on c.rldnr = d.rldnr
{
  key comp,
  key a.bukrs,
  key accrule,
  key c.rldnr
}
where
      a.accrule  <> ''
  and b.ldgrp_gl =  ''
  and d.xleading =  'X'

union all select from tace_combination as a
  inner join          tacc_trgt_ldgr   as b on a.accrule = b.acc_principle
  inner join          fagl_tldgrp_map  as c on b.ldgrp_gl = c.ldgrp
{
  key comp,
  key a.bukrs,
  key accrule,
  key c.rldnr
}
where
      a.accrule   <> ''
  and b.ldgrp_gl  <> ''
  and c.represent =  'X'