I_DeprAreaForLedgerVH

DDL: I_DEPRAREAFORLEDGERVH Type: view_entity COMPOSITE

Depreciation Area Value Help

I_DeprAreaForLedgerVH is a Composite CDS View that provides data about "Depreciation Area Value Help" in SAP S/4HANA. It reads from 1 data source (I_DepreciationAreaForLedger) and exposes 6 fields with key fields CompanyCode, Ledger, AssetDepreciationArea. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DepreciationAreaForLedger I_DepreciationAreaForLedger from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..*] I_DeprAreaForLedgerText _Text $projection.CompanyCode = _Text.CompanyCode and $projection.Ledger = _Text.Ledger and $projection.AssetDepreciationArea = _Text.AssetDepreciationArea

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Depreciation Area Value Help view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Consumption.ranked true view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY Ledger I_DepreciationAreaForLedger Ledger Ledger
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
_CompanyCode _CompanyCode
_Ledger _Ledger
_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 I_DeprAreaForLedgerVH.
-- 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_DeprAreaForLedgerVH AS
SELECT
  CompanyCode,
  I_DepreciationAreaForLedger.Ledger AS Ledger,
  AssetDepreciationArea
FROM I_DepreciationAreaForLedger
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [1..1]
LEFT OUTER JOIN I_DeprAreaForLedgerText AS _Text ON CompanyCode = _Text.CompanyCode AND Ledger = _Text.Ledger AND AssetDepreciationArea = _Text.AssetDepreciationArea  -- association [0..*]
;