I_LedgerGroupAssignment

DDL: I_LEDGERGROUPASSIGNMENT Type: view BASIC

Assignment of Ledgers to Ledger Groups

I_LedgerGroupAssignment is a Basic CDS View that provides data about "Assignment of Ledgers to Ledger Groups" in SAP S/4HANA. It reads from 1 data source (fagl_tldgrp_map) and exposes 5 fields with key fields LedgerGroup, Ledger. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fagl_tldgrp_map fagl_tldgrp_map from

Associations (2)

CardinalityTargetAliasCondition
[1] I_LedgerGroup _LedgerGroup $projection.LedgerGroup = _LedgerGroup.LedgerGroup
[1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFILDGRPASSGMT view
AbapCatalog.preserveKey true view
EndUserText.label Assignment of Ledgers to Ledger Groups view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY LedgerGroup ldgrp Target Ledger Group
KEY Ledger rldnr Ledger (Compat.)
IsRepresentativeLedger represent Rep. Ledger
_LedgerGroup _LedgerGroup
_Ledger _Ledger

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 I_LedgerGroupAssignment.
-- 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.

CREATE VIEW I_LedgerGroupAssignment AS
SELECT
  ldgrp AS LedgerGroup,
  rldnr AS Ledger,
  represent AS IsRepresentativeLedger
FROM fagl_tldgrp_map
LEFT OUTER JOIN I_LedgerGroup AS _LedgerGroup ON LedgerGroup = _LedgerGroup.LedgerGroup  -- association [1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [1]
;