A_Ledger

DDL: A_LEDGER SQL: AFILEDGER Type: view BASIC

API Ledger

A_Ledger is a Basic CDS View that provides data about "API Ledger" in SAP S/4HANA. It reads from 1 data source (I_Ledger) and exposes 5 fields with key field Ledger. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Ledger I_Ledger from

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_LedgerText _Text $projection.Ledger = _Text.Ledger

Annotations (12)

NameValueLevelField
EndUserText.label API Ledger view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName AFILEDGER view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
IsLeadingLedger IsLeadingLedger Leading Ledger
LedgerApplication LedgerApplication Rep. Model
LedgerSubApplication LedgerSubApplication Subapplication
_Text _Text

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 A_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: AFILEDGER

CREATE VIEW A_Ledger AS
SELECT
  Ledger,
  IsLeadingLedger,
  LedgerApplication,
  LedgerSubApplication
FROM I_Ledger
LEFT OUTER JOIN A_LedgerText AS _Text ON Ledger = _Text.Ledger  -- association [0..*]
;