I_AccountingPrincipleAssgmt

DDL: I_ACCOUNTINGPRINCIPLEASSGMT Type: view BASIC

Assignment of Accounting Principle to Ledger Group

I_AccountingPrincipleAssgmt is a Basic CDS View that provides data about "Assignment of Accounting Principle to Ledger Group" in SAP S/4HANA. It reads from 1 data source (tacc_trgt_ldgr) and exposes 6 fields with key field AccountingPrinciple. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
tacc_trgt_ldgr tacc_trgt_ldgr from

Associations (3)

CardinalityTargetAliasCondition
[1] I_AccountingPrinciple _AccountingPrinciple $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple
[0..1] I_LedgerGroup _LedgerGroup $projection.LedgerGroup = _LedgerGroup.LedgerGroup
[0..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IFIACCPRINCSSGMT view
AbapCatalog.preserveKey true view
EndUserText.label Assignment of Accounting Principle to Ledger Group 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

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY AccountingPrinciple acc_principle Evaluation area EBRR
Ledger target_ledger Target Ledger
LedgerGroup ldgrp_gl Target Ledger Group
_AccountingPrinciple _AccountingPrinciple
_Ledger _Ledger
_LedgerGroup _LedgerGroup

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_AccountingPrincipleAssgmt.
-- 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_AccountingPrincipleAssgmt AS
SELECT
  acc_principle AS AccountingPrinciple,
  target_ledger AS Ledger,
  ldgrp_gl AS LedgerGroup
FROM tacc_trgt_ldgr
LEFT OUTER JOIN I_AccountingPrinciple AS _AccountingPrinciple ON AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple  -- association [1]
LEFT OUTER JOIN I_LedgerGroup AS _LedgerGroup ON LedgerGroup = _LedgerGroup.LedgerGroup  -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [0..1]
;