ACE_ACCOUNT_PRINCIPLE_LEDGER
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | comp | comp | Legal competence | |
| KEY | bukrs | tace_combination | bukrs | Value |
| KEY | accrule | accrule | Accounting Principle | |
| KEY | rldnrkeycomp | |||
| KEY | bukrs | tace_combination | bukrs | Value |
| KEY | accrule | accrule | Accounting Principle | |
| KEY | ldgrpkeycomp | |||
| KEY | bukrs | tace_combination | bukrs | Value |
| KEY | accrule | accrule | Accounting Principle | |
| KEY | rldnr | fagl_tldgrp_map | rldnr | Ledger (Compat.) |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view ACE_ACCOUNT_PRINCIPLE_LEDGER.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ACEV_APLEDGER
CREATE VIEW ACE_ACCOUNT_PRINCIPLE_LEDGER AS
SELECT
comp,
a.bukrs AS bukrs,
accrule,
c.rldnr AS rldnrkeycomp,
c.rldnr AS ldgrpkeycomp,
c.rldnr AS rldnr
FROM tace_combination AS a
INNER JOIN finsc_ld_cmp AS b ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_ledger AS c ON /* join condition not captured in parsed metadata */
INNER JOIN tacc_trgt_ldgr AS b ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_ld_cmp AS c ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_ledger AS d ON /* join condition not captured in parsed metadata */
INNER JOIN fagl_tldgrp_map AS c ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): tace_combination
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA